Add a user message
POST/api/v1/agents/:agent_id/sessions/:session_id/messages
Saves a user message to the session. When autoGenerate is enabled on the session and no generation is currently in progress, generation is triggered automatically and the response mirrors GenerateSessionResponse. Otherwise returns the saved user message.
Request
Responses
- 201
- 401
- 403
- 404
User message saved
Unauthorized
Forbidden
Not found