Skip to main content
GET
Get an agent function by agent ID and version number
Legacy endpoint - deprecated. Unversioned endpoints are scheduled for removal on July 31, 2026. A public v1 replacement is not currently listed in the v1 reference. This endpoint remains available for existing integrations until then.
Returns all custom functions configured on a specific agent version.

Path parameters

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-organization-id
string
required

RSA encrypted organization ID (base64 format)

Example:

"BASE64_ENCRYPTED_ORG_ID_HERE"

Path Parameters

agentId
string
required

ID of the agent

versionNumber
string
required

Version number of the agent

Response

Agent functions returned successfully.