Run Query
Submits a query for asynchronous execution against the connection.
This endpoint returns immediately with a query task ID. It does not wait for
the query to finish. Poll GET /api/queries/{id} until status
reaches done, failed, or unknown. These statuses are terminal.
A Harbor-bound scoped credential can submit freeform SQL only against its
Harbor’s backing connection, even if its profile allows other connections.
Other credentials retain their existing connection access. Query results are
stored temporarily and may expire; use the expires field from the result
endpoint to understand how long they remain available.
Authentication
Basic organization-scoped API key
Path parameters
Headers
Harbor session token; when supplied, the session must be active and bound to this credential and Harbor.
New nonzero UUID for each request, required for scoped credentials; a reused value is rejected.
