Skip to main content
POST

Path parameters

string (uuid)
required
The agent id.

Headers

string
Optional client-generated key that makes the POST safe to retry: a repeat with the same key and body replays the original response instead of creating a duplicate.

Request body

CreateFunction
string
required
Minimum length: 1. Maximum length: 200.
string
required
Public http(s) URL. Private and metadata addresses are rejected. Minimum length: 1. Maximum length: 2000.
string
required
Minimum length: 1. Maximum length: 20.
string
Maximum length: 5000.
boolean
object[]
Maximum items: 100.
object
Additional keys map to values of type string.
integer
Minimum: 1000. Maximum: 300000.

Response

Function
string
Fixed value: 'function'.
string
string,null
string,null
string,null
string,null
boolean
string,null

Status codes

Access

Using this contract

Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.
Last modified on September 21, 2026