Skip to main content
GET
/
api
/
openapi
/
v1
/
bots
Listar Bots
curl --request GET \
  --url https://app.converza.io/api/openapi/v1/bots \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "bots": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "Bot de Suporte",
        "role": "support",
        "description": "Lida com consultas de suporte ao cliente",
        "openai_id": "asst_abc123",
        "vector_id": "vs_abc123",
        "instructions": "<string>",
        "temperature": 0.7,
        "published": true,
        "allow_human": true,
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 150,
      "totalPages": 8
    }
  }
}

Authorizations

Authorization
string
header
required

Token JWT obtido do endpoint /api/openapi/auth/token

Query Parameters

page
integer
default:1

Número da página (começa em 1)

Required range: x >= 1
Example:

1

limit
integer
default:20

Número de itens por página

Required range: 1 <= x <= 100
Example:

20

team_id
string<uuid>

Filtrar por ID da equipe

name
string

Filtrar por nome do bot (correspondência parcial)

Response

200 - application/json

Bots recuperados com sucesso

success
boolean
Example:

true

data
object