Agent
List agents
List the agents in the workspace tied to your API key so you can map names to bot IDs.
GET
Returns every agent in the workspace tied to your API key, sorted by creation time, newest first. Use it to look up the
botId values accepted by List conversations, Generate Answer, and any other public route that scopes behavior to one agent.
This endpoint returns all agents in a single response, there is no pagination, filtering, or limit.
Headers
Bearer token containing your Fini workspace API key. Format:
Bearer fini_...Response
The response is a top-level array of agent objects.Array of agents in the workspace.
Errors
401 Unauthorized
401 Unauthorized
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.

