Retrieve inidvidual runs
AuthorizationBasic <token>
Basic Authentication using client credentials:
- Username:
client_id(provided during onboarding) - Password:
client_secret(shared once, never expires)
Format: Authorization: Basic <base64(client_id:client_secret)>
Example: If your client_id is "myapp_123" and client_secret is "secret_abc", encode "myapp_123:secret_abc" in base64.
In: header
Path Parameters
runIdstring
The run identifier (cuid-like, lowercase alphanumeric)
Match
^[a-z0-9]+$Length
20 <= length <= 36customer_slugstring
Your organization's unique identifier
Response Body
curl -X GET "https://server.prod.querio.ai/v1/embed/querio/runs/cku9m0u1p0001abcxyz"{
"id": "cku9m0u1p0001abcxyz",
"question": "How many shipments happened in the last 30 days",
"datasourceId": "ds_ship_123",
"scope": {
"customer_id": "550e8400-e29b-41d4-a716-446655440000"
},
"environment": "production",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"status": "processing"
}{
"code": "invalid_client",
"message": "Client authentication failed: bad client_id or client_secret"
}{
"code": "not_found",
"message": "Run not found"
}{
"code": "querio_error",
"message": "Unexpected internal error"
}