Interact with an agent
POST/v2/agents/:agent_key/sessions/:session_key/events
Creates a new input event in the session to interact with the agent.
Request
Responses
- 201
- 400
- 403
- 404
- 409
- 422
- 502
The input event is created.
The request to create an input event is malformed.
Permissions do not allow creating input events in this session.
Agent or session not found.
The session is already running. Use the since field in the request body to queue input.
The agent configuration is invalid (for example, invalid instruction or tool description templates).
Communication with the session failed.