Stream Message
Deprecated. Use the v1 Agents API instead: send a message with POST /v1/agents/sendMessage, then poll for the response with GET /v1/agents/fetchAgentResponse.
Previously, this endpoint streamed a response back as Server-Sent Events.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Credal-generated Agent ID to specify which agent to route the request to.
Credal-generated conversation ID for sending follow up messages. Conversation ID is returned after initial message. Optional, to be left off for first messages on new conversations.
Response
This endpoint returns a stream of server sent events. These can be in two formats - one is an initial event, followed by multiple data chunks, followed by a final chunk, or the other format is just one blocked event. See the examples for more details.