POST
/
agents
/
name
/
{agent_name}
/
rpc
{
  "jsonrpc": "2.0",
  "result": [
    {
      "id": "<string>",
      "task_id": "<string>",
      "content": {
        "type": "<string>",
        "author": "user",
        "style": "static",
        "format": "markdown",
        "content": "<string>",
        "attachments": [
          {}
        ]
      },
      "streaming_status": "IN_PROGRESS",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "error": "<any>",
  "id": 123
}

Path Parameters

agent_name
string
required

Body

application/json
method
enum<string>
required
Available options:
event/send,
task/create,
message/send,
task/cancel
params
object
required

The parameters for the agent RPC request

jsonrpc
string
default:2.0
Allowed value: "2.0"
id

Response

Successful Response

result
required

The result of the agent RPC request

jsonrpc
string
default:2.0
Allowed value: "2.0"
error
any
id