Run Query

Submit a query for asynchronous execution against the connection. The initial response may only contain the query task id and status. Poll GET /api/queries/{id} with the returned id to retrieve completion status, fields, and results.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

connection_idstringRequired

Headers

X-Polytomic-VersionstringOptional

Query parameters

querystringOptional
The query to execute against the connection.

Request

This endpoint expects an object.

Response

OK
dataobject

Errors

400
Query Runner Run Query Request Bad Request Error
401
Query Runner Run Query Request Unauthorized Error
404
Query Runner Run Query Request Not Found Error
500
Query Runner Run Query Request Internal Server Error