POST/api/v1/chat/agents

Criar agente customizado

Bearer tokenImplementadoescopo manage:chat

Contrato OpenAPI

operationId: createChatAgent · Implementada

Baixar o contrato OpenAPI 3.1.

Schema do request

JSON
{
  "additionalProperties": false,
  "properties": {
    "description": {
      "maxLength": 500,
      "type": "string"
    },
    "instructions": {
      "maxLength": 12000,
      "minLength": 1,
      "type": "string"
    },
    "name": {
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "name",
    "instructions"
  ],
  "type": "object"
}

Respostas

HTTPSignificado
201Agente customizado criado
defaultErro padronizado

⚠️ Narrativa ausente. Método, autenticação, schemas e respostas abaixo vêm do contrato OpenAPI canônico.