Run Harbor Query
Submits a query against the Harbor backing connection for asynchronous execution.
Use a scoped credential bound to this Harbor. The query runs only against the
Harbor’s backing connection; you cannot select another connection on this route.
Send a unique X-Polytomic-Activity-Request-ID UUID with each submission. The
X-Polytomic-Harbor-Session header is optional; if you send one, it must be
valid for this Harbor.
The response contains a query ID and an initial created status. Poll
GET /api/queries/{id} with that ID
until the status is done, failed, or unknown. Follow the result endpoint’s
pagination links for additional rows. Results are temporary; check expires
on the completed query.
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.
