Skip to main content
PATCH
Update an agent function
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.
Updates one custom function. The function must belong to the agent version and organization in the request context.

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

function_id
string
required

Primary ID of the agent function

Body

application/json

The body is of type object.

Response

The agent function has been successfully updated.