Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.orquestr.dev/cloud/v1/saved-sql-queries \ --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.orquestr.dev/cloud/v1/saved-sql-queries', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.orquestr.dev/cloud/v1/saved-sql-queries" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "data": [ { "id": "e9999999-9999-4999-8999-999999999999", "customer_id": "o2222222-2222-2222-2222-222222222222", "adapter": "sicarv4", "name": "Top sellers last week", "sql": "SELECT clave, SUM(cantidad) AS qty FROM ventas GROUP BY clave ORDER BY qty DESC LIMIT 20", "device_id": null, "created_by": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "created_at": "2026-09-12T10:00:00.000Z", "updated_at": "2026-09-14T11:00:00.000Z" } ], "meta": { "page": 1, "per_page": 1, "total_pages": 1, "total_count": 1 } }
{ "error": { "code": "bad_request", "message": "Invalid body" } }
{ "error": { "code": "unauthorized", "message": "Unauthorized" } }
{ "error": { "code": "not_found", "message": "Not found" } }
API key (sk_live_…). Send as Authorization: Bearer <api_key>.
sk_live_…
Authorization: Bearer <api_key>
sicarv4
eleventa_monocaja
eleventa_multicaja
microsip
mybusinesspos
UUID — returns device-scoped + global
Page number (1-based). If both page and per_page are omitted, the full set is returned.
x >= 1
Items per page (max 100). If both page and per_page are omitted, the full set is returned.
1 <= x <= 100
Success
The response is of type object.
object