Skip to main content
POST
/
assistants
/
{assistant_id}
/
latest
Set Latest Assistant Version
curl --request POST \
  --url https://api.b-bot.space/v2/assistants/{assistant_id}/latest
{
  "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>"
}

Path Parameters

assistant_id
string<uuid>
required

The ID of the assistant.

Query Parameters

version
integer
required

The version to change to.

Response

Success

assistant_id
string<uuid>
required

The ID of the assistant.

graph_id
string
required

The ID of the graph.

config
object
required

The assistant config.

created_at
string<date-time>
required

The time the assistant was created.

updated_at
string<date-time>
required

The last time the assistant was updated.

metadata
object
required

The assistant metadata.

context
object

Static context added to the assistant.

version
integer

The version of the assistant

name
string

The name of the assistant

description
string | null

The description of the assistant

I