Run several page queries
Run several named queries of the current version in one call, in order, with the same version_id, link_values and viewer_email for all: one item per query with columns, rows and has_more, or ok=false with that query's error (the full SQL message); a failing query does not stop the others, and queries left when the call runs out of time answer budget_exceeded. The team view sends the queries a page asks for at the same moment through this.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: page_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/pages/123e4567-e89b-42d3-a456-426614174000/queries" \ -H "Content-Type: application/json" \ -d '{ "queries": [ { "key": "summary" } ] }'{ "items": [ { "key": "summary", "ok": false } ]}