curl --request POST \
--url https://api.b-bot.space/v2/assistants \
--header 'Content-Type: application/json' \
--data '{
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"graph_id": "<string>",
"config": {},
"context": {},
"metadata": {},
"if_exists": "raise",
"name": "<string>",
"description": "<string>"
}'
{
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"graph_id": "<string>",
"config": {
"tags": [
"<string>"
],
"recursion_limit": 123,
"configurable": {}
},
"context": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"version": 123,
"name": "<string>",
"description": "<string>"
}
Create an assistant.
An initial version of the assistant will be created and the assistant is set to that version. To change versions, use the POST /assistants/{assistant_id}/latest
endpoint.
curl --request POST \
--url https://api.b-bot.space/v2/assistants \
--header 'Content-Type: application/json' \
--data '{
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"graph_id": "<string>",
"config": {},
"context": {},
"metadata": {},
"if_exists": "raise",
"name": "<string>",
"description": "<string>"
}'
{
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"graph_id": "<string>",
"config": {
"tags": [
"<string>"
],
"recursion_limit": 123,
"configurable": {}
},
"context": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"version": 123,
"name": "<string>",
"description": "<string>"
}
Payload for creating an assistant.
Success
The response is of type object
.