Skip to main content
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 the agents: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 actions of a section or of a route. A string that is not in this list returns 400 UNKNOWN_ACTION_TARGET; one that appears in two groups returns 400 AMBIGUOUS_ACTION_TARGET.
  • An agent being created has no stages yet. Its pipeline is created with it, so move_stage targets go in once the agent exists.
  • Removing the last action that points to a function takes that tool away from the agent. Omitting actions on a case keeps the ones it had.

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Path Parameters

id
string
required

Response

200 - application/json
native
object[]
required
catalog
object[]
required
tool
object[]
required
move_stage
object[]
required
tag
object[]
required
send_file
object[]
required