cURL
curl --request POST \ --url https://api.langdock.com/export/assistants \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "from": { "date": "2024-01-01T00:00:00.000Z", "timezone": "UTC" }, "to": { "date": "2024-01-31T23:59:59.999Z", "timezone": "UTC" } } '
{ "success": true, "data": { "filePath": "assistants-usage/workspace-id/assistants-usage-2024-01-01-2024-01-31-abc12345.csv", "downloadUrl": "https://storage.example.com/signed-url", "dataType": "assistants", "recordCount": 1250, "dateRange": { "from": "2024-01-01T00:00:00.000Z", "to": "2024-01-31T23:59:59.999Z" } } }
API-Endpunkt zum Exportieren von Agenten-Nutzungsdaten einschließlich Nachrichtenzahlen, aktiven Nutzern und Trends
API key as Bearer token. Format "Bearer YOUR_API_KEY"
Request body for usage export endpoints
Start date and timezone for the export
Anzeigen untergeordnete attribute
End date and timezone for the export
Export successful
Successful response from usage export endpoints
Indicates if the export was successful
true
Export data information
War diese Seite hilfreich?