Assistant
Authorizations
AuthorizationstringRequired
Project API key authentication. Use your project API key as a Bearer token in the Authorization header.
Path parameters
versionIdstring · min: 30 · max: 30RequiredExample:
Catalog version identifier
ver_c4x6k3w8j7n9b1z5s2t4m8q0veBody
AI-sdk structured conversation payload for the AI assistant
Responses
200
Server-sent events stream of AI assistant response
text/event-stream
400
Invalid request
application/json
500
Internal Server Error
application/json
post
/v2/catalog/versions/{versionId}/assistantNo content
Authorizations
AuthorizationstringRequired
Project API key authentication. Use your project API key as a Bearer token in the Authorization header.
Path parameters
projectRefany ofRequired
Project slug or project id (proj_*)
string · min: 31 · max: 31OptionalExample:
Object ID with prefix "proj_"
proj_c4x6k3w8j7n9b1z5s2t4m8q0vestring · min: 1Optional
versionTypestring · enumRequiredExample:
Version type, can be either 'branch' or 'environment'
branchPossible values: versionSlugstring · min: 1RequiredExample:
Version slug
mainBody
AI-sdk structured conversation payload for the AI assistant
Responses
200
Server-sent events stream of AI assistant response
text/event-stream
400
Invalid request
application/json
500
Internal Server Error
application/json
post
/v2/catalog/projects/{projectRef}/{versionType}/{versionSlug}/assistantNo content
Last updated