Conversations
List conversations
Returns a paginated list of conversations for the authenticated user. Requires an internal database (DATABASE_URL).
Query Parameters
limit?string
offset?string
starred?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3001/api/v1/conversations"{
"conversations": [
{
"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"
}
}
],
"total": 0
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}Edit on GitHub
Last updated on