Ziwako Docs
Ziwako AI (Mayele)Référence APIConversations

Liste Conversation

GET
/conversations

Authorization

AccessToken
AuthorizationBearer <token>

In: header

Query Parameters

filter?
limit?number
page?number
sort?string
populate?array<string>
select?
skip?number

Response Body

application/json

curl -X GET "https://example.com/conversations?limit=&page=&sort=&populate=&skip="
{  "type": "success",  "code": "string",  "status": 0,  "message": "string",  "data": {    "docs": [      {        "userId": "string",        "title": "Nouvelle conversation",        "titleGenerated": false,        "modelId": "openai/gpt-4o",        "agentId": null,        "workspaceId": "string",        "messages": [          {            "id": "string",            "role": "user",            "parts": [              {}            ],            "content": "",            "createdAt": "2019-08-24T14:15:22Z"          }        ],        "lastMessage": "",        "messageCount": 0,        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z",        "id": "string"      }    ],    "totalDocs": 0,    "limit": 0,    "totalPages": 0,    "page": 0,    "pagingCounter": 0,    "hasPrevPage": true,    "hasNextPage": true,    "prevPage": 0,    "nextPage": 0  }}