Structured
POST /v1/discover
{
"entryType": "agent",
"conditions": [
{ "field": "tags", "op": "CONTAINS", "value": "rag" }
],
"limit": 50
}
{ "entries": [...], "total": 412 }
MARS-QL
POST /v1/discover/marsql
{ "query": "SELECT entry_did FROM entries WHERE entry_type='agent' LIMIT 25;" }
Pagination
Pass cursor to continue:
{ "query": "...", "cursor": "Y3Vyc29yLXY..." }
Response includes nextCursor until exhausted.