Araçları Listele

Tüm araçlarınızı listeleyin

Endpoint

GET/api/v1/tools

Hesabınıza ait tüm araçları listeler.

İstek Örneği

cURL
curl -X GET https://api.wespoke.ai/api/v1/tools \
  -H "Authorization: Bearer YOUR_API_KEY"

Yanıt Örneği

200 OK
{
  "success": true,
  "data": [
    {
      "id": "tool_abc123",
      "name": "CRM Sorgu",
      "type": "API_REQUEST",
      "description": "CRM API'sinden müşteri bilgisi çeker",
      "createdAt": "2024-01-14T09:00:00Z",
      "updatedAt": "2024-01-15T09:00:00Z"
    },
    {
      "id": "tool_def456",
      "name": "Veritabanı Sorgu",
      "type": "DATABASE_QUERY",
      "description": "Müşteri veritabanından bilgi alır",
      "createdAt": "2024-01-10T12:30:00Z",
      "updatedAt": "2024-01-10T12:30:00Z"
    }
  ]
}

Yanıt Alanları

idstring

Aracın benzersiz kimliği

namestring

Aracın adı

typestring

Araç tipi (API_REQUEST, DATABASE_QUERY, KNOWLEDGE_BASE, SEND_TEXT, END_CALL, TRANSFER_CALL)

descriptionstring

Aracın açıklaması

createdAtstring

Oluşturulma tarihi (ISO 8601)

updatedAtstring

Son güncellenme tarihi (ISO 8601)