Crowdin Enterprise (File-Based) icon

Crowdin Enterprise (File-Based)

Interact with Crowdin Enterprise API for localization management

Actions65

AI → Export AI Request Logs

AI-generated

Summary

Exports AI request logs from Crowdin Enterprise, optionally filtering by project, user, model, status, date range, or action type.

Inputs

  • authentication — Authentication method. Defaults to OAuth2 (recommended), or use Personal Access Token.
  • format — Format of the exported file. Options: csv (default).
  • requestId — Filter results to the log entry with this specific request identifier.
  • projectId — Filter results to requests made in a specific project. Requires a numeric ID.
  • userId — Filter results to requests attributed to a specific user. Requires a numeric ID.
  • aiProviderId — Filter results to requests served by a specific AI provider. Requires a numeric ID.
  • model — Filter results to requests made with a specific AI model.
  • sourceAction — Filter results to requests produced by a specific feature or channel (e.g., ai_proxy, ai_gateway, ai_translate_strings).
  • promptAction — Filter results to requests made for a specific prompt action (e.g., pre_translate, qa_check, advisor_context_review) or a custom:-prefixed value.
  • statuses — Filter results to requests in any of the specified statuses (e.g., pending, success, error, timeout).
  • tokenName — Filter results to requests authenticated with a personal access token of this name.
  • oauthClientId — Filter results to requests authenticated by an OAuth application with this client_id.
  • systemCredentials — If true, only requests that used system-provided credentials are exported.
  • isAutoTriggered — If true, only requests triggered automatically rather than by an interactive user action are exported.
  • dateTime:createdAfter — Filter results to requests logged after this date (ISO 8601 format).
  • dateTime:createdBefore — Filter results to requests logged before this date (ISO 8601 format).
  • requestOptions — Advanced request options including batching (items per batch, interval), proxy settings, timeout, and SSL validation.

Output shape

a list of items containing the exported log records.

The returned data is typically a CSV file (depending on the 'Format' parameter). Each row represents a request log entry. The exact fields in the log depend on the Crowdin API response.

Examples

Example 1: Export all successful AI requests from the last 24 hours for a specific project.

Set Format to 'csv', select Project ID, Statuses to include 'success', set Created Before to current time, and Created After to time minus 24 hours.

Example 2: Filter logs to only show requests made with the GPT model via the ai_gateway action.

Set Model to 'gpt', Source Action to 'ai_gateway'.

Links

Discussion