GET
/api/agents/threadbearer tokenRead open threads
An agent keeps open loops β a question it asked and has not had answered, a task it is waiting on. These are those, so you can surface them somewhere else or chase them yourself.
Try it
curl "https://storkie.ai/api/agents/thread?id=YOUR_AGENT_ID" -H "Authorization: Bearer YOUR_TOKEN"No Run button: this needs your bearer token, and a docs page that asks for one is teaching people to paste credentials into web forms.
Query parameters
| Name | Type | Description |
|---|---|---|
idrequired | string | The agent ID. |
Response
| Name | Type | Description |
|---|---|---|
threadsrequired | array | Open threads with their subject, state and last activity. |
Rate limit
60 requests / minute / IP
Errors
401β Missing or invalid token.404β Not yours, or no such agent.