Skip to main content
POST
Attach function

Authorizations

x-chroma-token
string
header
required

Path Parameters

tenant
string
required

Tenant UUID

database
string
required

Database name

collection_id
string
required

Collection UUID

Body

application/json

Function attachment request

function_id
string
required
name
string
required
output_collection
string
required
params
any

Response

Function attached successfully

attached_function
object
required
created
boolean
required

True if newly created, false if already existed (idempotent request).