Tüm araçlarınızı listeleyin
/api/v1/toolsHesabınıza ait tüm araçları listeler.
curl -X GET https://api.wespoke.ai/api/v1/tools \
-H "Authorization: Bearer YOUR_API_KEY"{
"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"
}
]
}idstringAracın benzersiz kimliği
namestringAracın adı
typestringAraç tipi (API_REQUEST, DATABASE_QUERY, KNOWLEDGE_BASE, SEND_TEXT, END_CALL, TRANSFER_CALL)
descriptionstringAracın açıklaması
createdAtstringOluşturulma tarihi (ISO 8601)
updatedAtstringSon güncellenme tarihi (ISO 8601)