Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
curl --request PATCH \
--url https://api.example.com/assistants/{assistant_id} \
--header 'Content-Type: application/json' \
--data '
{
"graph_id": "<string>",
"config": {},
"context": {},
"metadata": {},
"name": "<string>",
"description": "<string>"
}
'{
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"graph_id": "<string>",
"config": {
"tags": [
"<string>"
],
"recursion_limit": 123,
"configurable": {}
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"context": {},
"version": 123,
"name": "<string>",
"description": "<string>"
}Update an assistant.
curl --request PATCH \
--url https://api.example.com/assistants/{assistant_id} \
--header 'Content-Type: application/json' \
--data '
{
"graph_id": "<string>",
"config": {},
"context": {},
"metadata": {},
"name": "<string>",
"description": "<string>"
}
'{
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"graph_id": "<string>",
"config": {
"tags": [
"<string>"
],
"recursion_limit": 123,
"configurable": {}
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"context": {},
"version": 123,
"name": "<string>",
"description": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the assistant.
Payload for updating an assistant.
The ID of the graph the assistant should use. The graph ID is normally set in your langgraph.json configuration. If not provided, assistant will keep pointing to same graph.
Configuration to use for the graph. Useful when graph is configurable and you want to update the assistant's configuration.
Static context added to the assistant.
Metadata to merge with existing assistant metadata.
The new name for the assistant. If not provided, assistant will keep its current name.
The new description for the assistant. If not provided, assistant will keep its current description.
Success
The ID of the assistant.
The ID of the graph.
The assistant config.
Show child attributes
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
Was this page helpful?