Agents
APIs for creating and interacting with agentic systems.
Deprecated APIs
⚠️ DEPRECATED: These APIs are provided for migration reference and will be removed in future versions. Not recommended for new projects.
Migration Guidance
If you are using deprecated versions of the Agents or Responses APIs, please migrate to:
- Responses API: Use the stable v1 Responses API endpoints
📄️ List all agents.
List all agents.
📄️ Create an agent with the given configuration.
Create an agent with the given configuration.
📄️ Describe an agent by its ID.
Describe an agent by its ID.
📄️ Delete an agent by its ID and its associated sessions and turns.
Delete an agent by its ID and its associated sessions and turns.
📄️ Create a new session for an agent.
Create a new session for an agent.
📄️ Retrieve an agent session by its ID.
Retrieve an agent session by its ID.
📄️ Delete an agent session by its ID and its associated turns.
Delete an agent session by its ID and its associated turns.
📄️ Create a new turn for an agent.
Create a new turn for an agent.
📄️ Retrieve an agent turn by its ID.
Retrieve an agent turn by its ID.
📄️ Resume an agent turn with executed tool call responses.
Resume an agent turn with executed tool call responses.
📄️ Retrieve an agent step by its ID.
Retrieve an agent step by its ID.
📄️ List all session(s) of a given agent.
List all session(s) of a given agent.