Create a distribution channel.
An initial version of the distribution channel will be created and the channel is set to that version. To change versions, use the POST /distribution-channels/{channel_id}/latest endpoint.
API key for authentication
Payload for creating an assistant.
The ID of the graph the distribution channel should use. The graph ID is normally set in your langgraph.json configuration.
The ID of the assistant. If not provided, a random UUID will be generated.
Configuration to use for the graph. Useful when graph is configurable and you want to create different assistants based on different configurations.
Static context added to the assistant.
Metadata to add to assistant.
How to handle duplicate creation. Must be either 'raise' (raise error if duplicate), or 'do_nothing' (return existing assistant).
raise, do_nothing The name of the assistant. Defaults to 'Untitled'.
The description of the assistant. Defaults to null.
Success
The ID of the distribution channel.
The ID of the graph.
The assistant config.
The time the assistant was created.
The last time the assistant was updated.
The assistant metadata.
Static context added to the assistant.
The version of the assistant
The name of the assistant
The description of the assistant