Agents
List agents
List workspace agents with their IDs and serialized prompt text.
GET
Returns every non-deleted agent in the workspace tied to your API key, sorted by most recently updated first. Each item includes the agent ID, name, creation timestamp, and serialized planning, guideline, email-channel, and chat-channel prompts.
Use this endpoint to look up the
botId values accepted by List conversations, Generate Answer, and other public routes that scope behavior to one agent. For structured prompt sections, use Get prompts.
For the full agent endpoint family, including create and delete routes, see Agents. Use Analytics for agent-level reporting endpoints and Prompts for prompt-version routes.
This endpoint returns all agents in a single response, there is no pagination, filtering, or limit.
The endpoint path uses
/bots because that is the current API contract. In the dashboard and the rest of these docs, the same workspace entities are called agents.Headers
string
required
Bearer token containing your Fini workspace API key. Format:
Bearer fini_... The key needs read scope.Response
The response is a top-level array of agent objects.array
Array of agents in the workspace.
The four prompt fields are rendered strings intended for inspection or downstream text use. They include enabled prompt sections serialized from the agent prompt configuration. To edit prompts or preserve section IDs and ordering, read the structured arrays from Get prompts.
Errors
403 Forbidden
403 Forbidden
The key is valid but doesn’t include the
read scope, or it’s scoped to a different workspace.The response is an empty array
The response is an empty array
The key’s workspace has no non-deleted agents available to the public route. Create an agent in the dashboard or confirm you’re authenticating against the right workspace.

