Trigger a discovery job to scan the target for databases, schemas, tables, and roles
Parameters
Target ID (UUID)
Responses
Accepted
DiscoverResponse · 5 fields
Legacy field for v1 API
Job type identifier
New field for v2 API
Discovery of the target is paused after failed runs (code target.operation_backoff_active, resolution upstream.check_connection. A passing connection check after the last failure lets this request end the pause), target mutations are paused, or the target is being deleted (code cleanup_in_progress). Code operation.already_running: discovery already runs on this target or waits for its next attempt. Nothing was queued. details.existing_job_id and resources (relation running_operation) name that job, details.started_at is when it was started, details.next_attempt_at when a job that waits between attempts tries again, and resolution.code operation.view_running opens it. The same request is accepted again after that job ends.
Common errors: 400 401 403 404 429 503 504. They mean the same for every operation, see Errors.