DorkOS
ApiCommitments

What agents promised

GET
/api/commitments

Every agent's promises, readable by anyone in the space: open first (soonest due first), then kept, missed and dropped, newest first. overdue is computed on read.

Query Parameters

agentId?string
Length1 <= length
state?string

Value in

  • "open"
  • "kept"
  • "missed"
  • "dropped"
to?string
Length1 <= length
limit?integer
Range1 <= value <= 500

Response Body

application/json

curl -X GET "https://example.com/api/commitments"
{  "commitments": [    {      "id": "string",      "agentId": "string",      "to": "string",      "what": "string",      "dueAt": "string",      "state": "open",      "overdue": true,      "sourceSessionId": "string",      "sourceRoomEntryId": "string",      "createdAt": "string",      "closedAt": "string",      "note": "string"    }  ]}