JSON-RPC 2.0 endpoint (all agent operations dispatch here)
Changed onEvery write or read operation on tasks, messages, and contexts uses this endpoint. The method field in the body selects the operation. See the Error catalog in the top-level description for every possible error.code.
Accepted methods: message/send, message/stream (experimental), tasks/get, tasks/list, tasks/cancel, tasks/feedback, contexts/list, contexts/clear.
Casing tolerance: the server accepts both camelCase (taskId) and snake_case (task_id) in params — pick one and stick with it per-call. Responses are always snake_case for legacy consistency (see bugs/known-issues.md#wire-field-casing-is-mixed).
Size limit: request bodies over 10 MB return 413 Payload Too Large at the ASGI layer (does not use the JSON-RPC error envelope).
Idempotency: message/send is NOT idempotent — a repeat call creates a new task. If you need idempotency, have your client generate a stable messageId and use contexts/list
- tasks/list to check whether you've already sent it.
Request
- Base URLhttp://localhost:3773
- Auth
- HTTP bearer
- or HTTP bearer and API key in header X-DID
Request body
Example request
{
"params": {
"configuration": {
"acceptedOutputModes": [
"application/json",
"text/markdown"
]
}
}
}Response
Successful JSON-RPC response. result contains the typed output per method — see components/schemas/*Result.
Changes
- breaking
request property
was restricted to a list of enum values - breaking
the
request property const value2.0was added - breaking
removed the enum value
2.0of the request property - breaking
the
request property type changed fromobjectto no type - breaking
response property
idlist-of-types was widened by adding typesinteger and nullto media typeapplication/jsonof response200 - breaking
added
subschema #2subschema #3to theresponse propertyoneOflist for the response status - breaking
the
response's property type changed fromobjectto no type for status - info
api operation id
jsonRpcEndpointremoved and replaced with - info
the endpoint scheme security
bearerAuthwas added to the API - info
the endpoint scheme security
bearerAuth AND didSignaturewas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
added the new
contexts/clearenum value to the request property - info
added the new
contexts/listenum value to the request property - info
added the new
message/sendenum value to the request property - info
added the new
message/streamenum value to the request property - info
added the new
tasks/cancelenum value to the request property - info
added the new
tasks/feedbackenum value to the request property - info
added the new
tasks/getenum value to the request property - info
added the new
tasks/listenum value to the request property - info
request property
list-of-types was widened by adding typesintegerto media typeapplication/json - info
added to the
request propertyoneOflist - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
the response property
/became required for the status - info
the response property
/became required for the status - info
the
response property const value2.0was added for the status - info
removed the
2.0enum value from theresponse property for the response status
- breaking
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
removed from the request body
oneOflist - breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - info
added the new optional request property
- info
removed from the response body
oneOflist for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking