Atlas
Conversations

Get conversation with messages

Returns a single conversation with all its messages. Enforces ownership when auth is enabled.

GET
/api/v1/conversations/{id}

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:3001/api/v1/conversations/550e8400-e29b-41d4-a716-446655440000"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "userId": "string",
  "title": "string",
  "surface": "web",
  "connectionId": "string",
  "starred": true,
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "notebookState": {
    "version": 1,
    "cellOrder": [
      "string"
    ],
    "cellProps": {
      "property1": {
        "collapsed": true
      },
      "property2": {
        "collapsed": true
      }
    },
    "textCells": {
      "property1": {
        "content": "string"
      },
      "property2": {
        "content": "string"
      }
    },
    "branches": [
      {
        "conversationId": "string",
        "forkPointCellId": "string",
        "label": "string",
        "createdAt": "string"
      }
    ],
    "forkRootId": "string",
    "forkPointCellId": "string"
  },
  "messages": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "conversationId": "ee6e55e8-45fe-4a3e-9bc8-4669f9fdf77a",
      "role": "user",
      "content": null,
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "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"
}