Query Workers
Run query worker
Run a saved query for a given fabric. If there are more that 100 records (default batch-size), the hasMore flag is set to true and the id is set. This id is used to query subsequent records.
post/_fabric/{fabric}/_api/restql/execute/{name}
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring string required
Fabric name of the saved query.
namestring string required
Query name to run.
Request body
Example request
{
"bindVars": {}
}Response
Successfully ran the query.
Example response
{
"code": 201,
"hasMore": true,
"id": 11894969,
"extra": {
"warnings": []
},
"result": [
{
"_id": "test/foo",
"_key": "foo",
"_rev": "_dPRuHxe--_",
"data": "data1"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.