Agents API for creating and interacting with agentic systems.
Main functionalities provided by this API:
- Create agents with specific instructions and ability to use tools.
- Interactions with agents are grouped into sessions ("threads"), and each interaction is called a "turn".
- Agents can be provided with various tools (see the ToolGroups and ToolRuntime APIs for more details).
- Agents can be provided with various shields (see the Safety API for more details).
- Agents can also use Memory to retrieve information from knowledge bases. See the RAG Tool and Vector IO APIs for more details.
📄️ List all agents.
List all agents.
📄️ Create an agent with the given configuration.
Create an agent with the given configuration.
📄️ Create a new session for an agent.
Create a new session for an agent.
📄️ Create a new turn for an agent.
Create a new turn for an agent.
📄️ List all OpenAI responses.
List all OpenAI responses.
📄️ Create a new OpenAI response.
Create a new OpenAI response.
📄️ 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.
📄️ 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.
📄️ Retrieve an OpenAI response by its ID.
Retrieve an OpenAI response by its ID.
📄️ Delete an OpenAI response by its ID.
Delete an OpenAI response by its ID.
📄️ Retrieve an agent step by its ID.
Retrieve an agent step by its ID.
📄️ Retrieve an agent turn by its ID.
Retrieve an agent turn by its ID.
📄️ List all session(s) of a given agent.
List all session(s) of a given agent.
📄️ List input items for a given OpenAI response.
List input items for a given OpenAI response.
📄️ Resume an agent turn with executed tool call responses.
Resume an agent turn with executed tool call responses.