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

Liste agent

GET
/agents

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/agents?limit=&page=&sort=&populate=&skip="
{  "type": "success",  "code": "string",  "status": 0,  "message": "string",  "data": {    "docs": [      {        "slug": "string",        "name": "string",        "description": "",        "role": "",        "avatar": "",        "instructions": "string",        "modelId": "openai/gpt-4o",        "defaultOptions": {          "temperature": 0.7,          "maxTokens": null,          "maxSteps": 5,          "maxRetries": 2,          "output": "text",          "jsonPromptInjection": false        },        "tools": [          {            "id": "string",            "label": "string",            "type": "builtin",            "config": {}          }        ],        "workflowIds": [          "string"        ],        "subAgentIds": [          "string"        ],        "memory": {          "enabled": false,          "storage": "libsql",          "lastMessages": 20,          "semanticRecall": false,          "semanticRecallTopK": 3,          "workingMemory": false,          "workingMemoryTemplate": ""        },        "scorers": [          {            "id": "string",            "label": "string",            "enabled": true,            "threshold": null          }        ],        "ownerId": "string",        "status": "draft",        "isPublic": false,        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z",        "id": "string",        "isSupervisor": false,        "remoteAgents": [          {            "label": "string",            "url": "string",            "headers": {              "property1": "string",              "property2": "string"            }          }        ],        "knowledge": {          "enabled": true,          "scope": "user",          "nudge": false,          "nudgeText": ""        }      }    ],    "totalDocs": 0,    "limit": 0,    "totalPages": 0,    "page": 0,    "pagingCounter": 0,    "hasPrevPage": true,    "hasNextPage": true,    "prevPage": 0,    "nextPage": 0  }}