GET /v1/agents/{id}/actions
What the actions of a case or step can point to.
GET
Listar a que puede apuntar una accion del agente
A case or a step carries
actions: a list of strings, each one a function name or an id, for example ["get_appointment_availability", "create_appointment"]. An action is what gives the agent the tool: a case that points to create_appointment is what lets the agent book. This endpoint lists every valid string, grouped by what it is, so you can fill them without guessing. You send only the string; the API works out what it is.
Endpoint
Required scope
agents:read
Path parameters
Example request
curl
Response
200 OK
401 Unauthorized
Missing, invalid, revoked, or expired token.403 Forbidden
The token does not have theagents:read scope.
404 Not Found
No agent with that id in the token’s company and project.502 Bad Gateway
The agent service or the CRM is unreachable.Operational notes
- Put these targets as they are in the
actionsof a section or of a route. A string that is not in this list returns 400UNKNOWN_ACTION_TARGET; one that appears in two groups returns 400AMBIGUOUS_ACTION_TARGET. - An agent being created has no stages yet. Its pipeline is created with it, so
move_stagetargets go in once the agent exists. - Removing the last action that points to a function takes that tool away from the agent. Omitting
actionson a case keeps the ones it had.
Authorizations
Listar a que puede apuntar una accion del agente