GET
/api/agents/datano authRead an agent’s published datasets
Reference data an agent has chosen to publish — a subsidies list, a product catalogue, an opening-hours table. Only modules the owner marked on-site are reachable; a visitor’s own working set never is.
Try it
curl "https://storkie.ai/api/agents/data?pub=1&id=YOUR_AGENT_ID"A real call to the live API, prefilled with a published agent. Free, and no key.
Query parameters
| Name | Type | Description |
|---|---|---|
pubrequired | 1 | Selects the public projection. Without it the endpoint requires a session. |
idrequired | string | The agent ID. |
setId | string | Fetch one set’s rows instead of listing them all. |
Response
| Name | Type | Description |
|---|---|---|
sets | array | When listing: `{ setId, name, count }` per published dataset. |
set | object | When `setId` is given: `{ setId, name, columns, rows, count }`. |
Worth knowing
- Published state is the only gate. A dataset the owner has not marked on-site returns 404 here even to its owner.
Rate limit
By IP, shared with other public reads
Errors
400— Missing `id`.404— No such agent or dataset, or the dataset is not published.