List AI Request Logs
Required scopes: ai.request-log (Read only).
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
A maximum number of items to retrieve
A starting offset in the collection
Filter by request identifier
Filter by project. Get via List Projects
Filter by the user attributed to the AI request. Get via List Users
Filter by AI provider. Get via List AI Providers
Filter by model name
Filter by the feature or channel that produced the request. One of:
- ai_gateway - AI Gateway API
- ai_proxy - AI Proxy API
- ai_translate_strings - AI Translate Strings API
- ai_file_translate - AI File Translations API
- ai_prompt_completion - AI Prompt Completion API
- pre_translate:manual - Auto-Translation (manual)
- pre_translate:workflow - Auto-Translation (workflow)
- ai_alignment - Glossary Alignment (Enterprise only)
- qa_check - QA Check
- ai_suggestion - AI suggestion
- advisor - Context Advisor
Filter by prompt action, e.g. pre_translate, alignment, qa_check, advisor_context_review, or a custom:-prefixed value
Filter by status, comma-separated
Filter by whether the request used system-provided credentials
Filter by whether the request was triggered automatically (e.g. by a workflow) rather than by an interactive user action
Filter by the name of the personal access token used to authenticate the request
Filter by the OAuth application that authenticated the request, matched on its client_id. Returned as oauthClientId on each log entry.
Return logs created after this date (ISO 8601)
Return logs created before this date (ISO 8601)
Response
AI request logs list
Example response
{
"data": [
{
"data": {
"id": 12345,
"requestId": "9d3b1c4e-2f3a-4b5c-8d6e-7f8a9b0c1d2e",
"createdAt": "2026-01-01T10:00:00+00:00",
"status": "success",
"httpStatus": 200,
"model": "gpt-5.6-sol",
"sourceAction": "ai_gateway",
"promptAction": "pre_translate",
"durationMs": 842,
"inputTokens": 512,
"outputTokens": 128,
"totalCost": 0.012345,
"userId": 42,
"projectId": 8,
"promptId": 5,
"aiProviderId": 3,
"tokenName": "Token name",
"oauthClientId": "gpbccUFxAKZDrLm5Nq8t",
"oauthClientName": "AI Pipeline",
"ip": "203.0.113.42",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
}
}
],
"pagination": {
"limit": 25
}
}Changes
No recorded changes to this operation across all 1 revision of this API.