Skip to main content
POST

Authorizations

Authorization
string
header
required

Project API key (sk_api_…).

Path Parameters

realtimeAssistantId
string<uuid>
required

Body

application/json
version
required

draft publishes the saved draft under its current version number. A number rolls back to a version published before. Send it as a JSON number, not a string. prod is a 400.

Allowed value: "draft"
message
string

A note for the versions list, like a commit message. Kept once, when the version is first published. A rollback's message is not stored.

Maximum string length: 280

Response

Where draft and prod point now.

realtimeAssistantId
string<uuid>
name
string

The draft's name.

description
string
aliases
object