Interact with an agent
POST/v2/agents/:agent_key/sessions/:session_key/events
Supported API Key Type:
Personal
Create a new input to an agent to interact with it.
Request
Responses
- 201
- 400
- 403
- 404
- 409
- 422
- 502
The input event has been created successfully.
Input event creation request was malformed.
Permissions do not allow creating input events in this session.
Agent or session not found.
Session is already running. Use the since field in the request body to queue input.
Could not process due to an invalid agent configuration (such as invalid instruction or tool description templates).
Failed to communicate with the pod handling this session.