v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0189112274.5 KB
Deployments

Preview RPC

Send an RPC request to a specific deployment (for preview testing).

post/agents/{agent_id}/deployments/{deployment_id}/rpc

Path parameters

deployment_idstring required
agent_idstring required

Request body

jsonrpc'2.0'
method'event/send' | 'task/create' | 'message/send' | 'task/cancel' | 'task/interrupt' required

Response

Successful Response

jsonrpc'2.0'
{"stackTrail":"components:schemas:AgentRPCResponse:properties:error:anyOf","oasType":"schema","type":"unknown","title":"Error","nullable":true}