Agent API supported agent types
Key Takeaway
Agent API isn't supported for agents of type Agentforce (Default), so check the agent's type before you plan to use Agent API.
Agent API lets an outside system talk to an Agentforce agent through a REST API. It doesn't work with every agent, so the agent's type decides whether Agent API is an option. To apply that rule, you need to know how Agentforce (Default) agents differ from Agentforce Employee agents, and how to migrate from one to the other.
What Agent API does
Agent API is a way to communicate with an AI agent directly from a REST API. An outside system that calls the agent works through these steps:
- It starts a session.
- It sends messages to the agent.
- It receives the agent's messages back.
- It ends the session.
Before you can use Agent API, you need to enable Agentforce and activate at least one agent.