Atlas
Conversations

Update notebook state

Updates the notebook state of a conversation, including cell order, cell properties, and branch metadata.

PATCH
/api/v1/conversations/{id}/notebook-state

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:3001/api/v1/conversations/550e8400-e29b-41d4-a716-446655440000/notebook-state" \  -H "Content-Type: application/json" \  -d '{    "version": 1  }'
{
  "id": "string",
  "notebookState": {
    "property1": null,
    "property2": null
  }
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}