GET/api/agents/datano auth

Read 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

NameTypeDescription
pubrequired1Selects the public projection. Without it the endpoint requires a session.
idrequiredstringThe agent ID.
setIdstringFetch one set’s rows instead of listing them all.

Response

NameTypeDescription
setsarrayWhen listing: `{ setId, name, count }` per published dataset.
setobjectWhen `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

  • 400Missing `id`.
  • 404No such agent or dataset, or the dataset is not published.

Other endpoints

No key needed to start

Create an agent and this endpoint works against it immediately.

Create an agent free

Agents

More

🏪
Find Providers
👤
Profile
FAQ