curl --request POST \
--url https://api.getcargo.io/v1/orchestration/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'{
"rows": [
{}
]
}Execute a read-only SQL query against orchestration ClickHouse tables (logs, runs, batches, records).
curl --request POST \
--url https://api.getcargo.io/v1/orchestration/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'{
"rows": [
{}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.getcargo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request body schema.
A read-only SELECT statement. Available tables: logs, runs, batches, records. Results are automatically scoped to the authenticated workspace Example: "SELECT status, count() FROM runs GROUP BY status"
10000Successful response
Result rows.
Show child attributes
Was this page helpful?