Agent SwarmAgent Swarm

Inbox State

Manage per-user inbox item state — dismiss, snooze, and mark-done flags for swarm notifications and approval items

GET
/api/inbox-state

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Query Parameters

userId*string
status?string
Value in"open" | "snoozed" | "dismissed" | "done"
itemType?string
Value in"approval" | "credential_missing" | "broken_task" | "to_read" | "to_start_template"

Response Body

curl -X GET "http://localhost:3013/api/inbox-state?userId=string"
Empty
Empty
Empty
PATCH
/api/inbox-state

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "http://localhost:3013/api/inbox-state" \  -H "Content-Type: application/json" \  -d '{    "userId": "string",    "itemType": "approval",    "itemId": "string",    "status": "open"  }'
Empty
Empty
Empty