Skip to Content
dropshelf
REST API

A drop's queries

The queries of the drop's live version, or of version=N, with their state, reason, what they run under, columns and last seven days. The drop's owner, editors and admins only; 404 for anyone else.

GET
/api/v1/drops/{slug}/queries

The queries of the drop's live version, or of version=N, with their state, reason, what they run under, columns and last seven days. The drop's owner, editors and admins only; 404 for anyone else.

Authorization

headerAuthorizationBearer <token>

A personal access token, odp_ followed by 43 characters. Create one in the dashboard.

Path Parameters

slug*string

The drop.

Query Parameters

version?integer

A version number; the live version by default.

Response Body

The queries.

application/json
  1. response
queries*array<>
Example Request
curl -X GET 'https://drop.example.com/api/v1/drops/string/queries'
Example Response
{  "queries": [    {      "boundTo": [        {          "id": "string",          "kind": "string",          "value": "string"        }      ],      "cache": "string",      "columns": [        {          "name": "string",          "type": "string"        }      ],      "name": "string",      "reason": "string",      "runs7d": {        "avgMs": 0,        "cacheHits": 0,        "errors": 0,        "lastError": "string",        "lastRunAt": "2019-08-24T14:15:22Z",        "maxMs": 0,        "runs": 0      },      "source": "string",      "state": "approved",      "tool": "string",      "viewerParams": [        "string"      ]    }  ]}

Generated from dropshelf core at 6a548b2, 26 Nov 2026.