Skip to main content
POST
Send a message to an agent (A2A, non-streaming)

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Headers

x-draft-mode
boolean

When true, the call exercises the agent's live (draft) config instead of published_config. Reserved for owners/writers.

Path Parameters

agentId
string
required
Maximum string length: 64

Body

application/json
message
object
required

A2A v0.3 flat message envelope.

Response

Completed task with the agent's reply.

error
object | null
task
object