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

Liste AgentTemplate

GET
/agent-templates

Published templates only when called on the public API.

Authorization

AccessToken
AuthorizationBearer <token>

In: header

Query Parameters

page?number
limit?number
sort?string
category?string
tag?string
featured?string
isPublic?string
search?string

Response Body

application/json

curl -X GET "https://example.com/agent-templates"
{  "type": "success",  "code": "string",  "status": 0,  "message": "string",  "data": {    "docs": [      {        "slug": "string",        "name": "string",        "description": "",        "role": "",        "avatar": "",        "instructions": "string",        "modelId": "openai/gpt-4o",        "defaultOptions": {},        "tools": [          {}        ],        "workflows": [          {            "workflowTemplateId": null,            "label": "string",            "description": ""          }        ],        "subAgents": [          {            "agentTemplateId": null,            "label": "string",            "description": ""          }        ],        "isSupervisor": false,        "memory": {},        "knowledge": {},        "scorers": [          {}        ],        "generationCapabilities": [          {}        ],        "category": "",        "tags": [          "string"        ],        "featured": false,        "useCount": 0,        "author": "Ziwako",        "isPublic": false,        "publishedAt": null,        "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  }}