SNA

Run once stream

Run one temporary execution and stream AgentEvent objects over SSE.

POST
/agent/run-once/stream

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

text/event-stream

application/json

application/json

application/json

curl -X POST "https://example.com/agent/run-once/stream" \  -H "Content-Type: application/json" \  -d '{    "message": "string"  }'
"string"
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}