English
API Changes – Version 13.1
Added
None.
Changed
None.
Deprecated
POST /v1/chat/prompt-httpPlease use the general agent endpoints instead. Full documentation of the Agent API is available at /agents/docs.General Purpose Agent – Send Message
The recommended replacement is the
POST /agents/general-purpose/message:sendendpoint (A2A protocol v1.0).Endpoints:
A2A JSON-RPC:
POST https://aissist-backend.bv.burda.com/agents/general-purpose/REST:
POST https://aissist-backend.bv.burda.com/agents/general-purpose/message:sendRequired headers:
Authorization: Bearer <JWT_TOKEN>A2A-Version: 1.0
Minimal request body (required fields only):
json{ "jsonrpc": "2.0", "id": "1", "method": "SendMessage", "params": { "message": { "message_id": "message_id", "role": "ROLE_USER", "parts": [ { "text": "Your message to the agent (Optional)" } ] }, "metadata": { "templateId": "my-template-id" } } }json{ "message": { "message_id": "message_id", "role": "ROLE_USER", "parts": [ { "text": "Your message to the agent (Optional)" } ] }, "metadata": { "templateId": "my-template-id" } }Full example with template and inputs:
json{ "jsonrpc": "2.0", "id": "1", "method": "SendMessage", "params": { "message": { "message_id": "message_id", "role": "ROLE_USER", "parts": [ { "text": "Your message to the agent (Optional)" } ] }, "metadata": { "templateId": "my-template-id", "inputs": [ { "name": "topic", "value": "Kubernetes" }, { "name": "languages", "value": ["Python", "Go"] } ] } } }json{ "message": { "message_id": "message_id", "role": "ROLE_USER", "parts": [ { "text": "Your message to the agent (Optional)" } ] }, "metadata": { "templateId": "my-template-id", "inputs": [ { "name": "topic", "value": "Kubernetes" }, { "name": "languages", "value": ["Python", "Go"] } ] } }Note: When
templateIdis set, the text inpartscan be empty – the agent will then use the prompt template as the basis.Key fields:
Field Description Example message.message_idUnique message ID "msg-uuid-123"message.context_idOptional context/session ID for multi-turn conversations "ctx-uuid-456"message.roleRole of the sender "user"message.partsMessage content – at least one text part [{"text": "Hello"}]params.metadata.templateIdID of the prompt template "my-template-id"params.metadata.inputsTemplate inputs as name/valuearray (optional)[{"name": "topic", "value": "AI"}]Migration from
prompt-http– field mapping:Old field ( PromptRequestSchema)New field ( SendMessageRequest)Notes template_idparams.metadata.templateIdTemplate ID is passed as metadata inputs(array withname/value)params.metadata.inputsInputs are passed as an array of name/valueobjects in the metadataFor streaming,
POST https://aissist-backend.bv.burda.com/agents/general-purpose/message:streamis available as an alternative (Server-Sent Events).
Removed
None.