Poll for cross-tenant query result
GET /query-all/jobs/{jobId}
Polls the status of a cross-tenant query job. Returns the combined results when complete, or the current status if still processing.
Jobs expire after 1 hour (DynamoDB TTL).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Job ID returned by POST /query-all.
Example
503a73be-9119-43ba-8e30-4f278f978d49Responses
Section titled “ Responses ”Job status or completed results
object
object
object
object
Column names. First column is always _bucket.
Example
[ "_bucket", "total"]Result rows from all queried databases combined.
Present only in NL mode — the SQL generated from the question.
object
Number of databases successfully queried.
Example
177Databases skipped (missing filtered table).
Databases where the query failed.
Example
1Total rows in the combined result.
Example
177Wall-clock time in seconds.
Example
9.6Bucket names of skipped databases.
Map of bucket name to error message for failed databases.
object
True if results were truncated to fit DynamoDB 400KB limit.
object
object
Machine-readable error code.
Example
generation_failedHuman-readable error description.
Example
Could not generate SQL: timeoutExamples
Still running
{ "data": { "job_id": "503a73be-9119-43ba-8e30-4f278f978d49", "status": "processing" }}Completed with results
{ "data": { "columns": [ "_bucket", "total" ], "rows": [ [ "example", 1523 ], [ "jec", 4200 ] ] }, "meta": { "databases_queried": 177, "databases_skipped": 0, "databases_errored": 0, "total_rows": 177, "execution_time_seconds": 9.6, "skipped": [], "errors": {} }}Query failed
{ "data": { "job_id": "503a73be-9119-43ba-8e30-4f278f978d49", "status": "failed", "error_code": "generation_failed", "error_message": "Could not generate SQL: timeout" }}Authentication required
object
object
Machine-readable error code.
Example
unauthorizedHuman-readable error message.
Example
Authentication requiredExample
{ "error": { "code": "unauthorized", "message": "Authentication required" }}Access denied to bucket
object
object
Machine-readable error code.
Example
unauthorizedHuman-readable error message.
Example
Authentication requiredExample
{ "error": { "code": "forbidden", "message": "Access denied to bucket 'example'" }}Resource not found
object
object
Machine-readable error code.
Example
unauthorizedHuman-readable error message.
Example
Authentication requiredExample
{ "error": { "code": "not_found", "message": "Unknown table: foo" }}