Crowdin Enterprise (String-Based) icon

Crowdin Enterprise (String-Based)

Interact with Crowdin Enterprise API for localization management

Actions361

AI → Export AI Request Logs

AI-generated

Summary

Export AI request logs from Crowdin Enterprise filtered by various parameters like project, user, AI provider, model, and date range, in CSV format.

Inputs

  • authentication (required) — Choose between OAuth2 or Access Token authentication methods to connect to Crowdin Enterprise.
  • format — Set the export file format. Currently supports 'csv'; defaults to 'csv' if unspecified.
  • requestId — Filter to export the log entry matching this specific request identifier.
  • projectId — Filter to logs for requests made in the specified project. The project ID can be obtained via the 'List Projects' operation.
  • userId — Filter to logs for requests attributed to the specified user. The user ID can be retrieved using the 'List Users' operation.
  • aiProviderId — Filter to logs for requests served by the specified AI provider. The AI provider ID is available via the 'List AI Providers' operation.
  • model — Filter to requests made with this AI model.
  • sourceAction — Filter logs to requests generated by a specific feature or channel (e.g., ai_proxy, ai_gateway).
  • promptAction — Filter logs to requests made for this prompt action, such as 'pre_translate', 'qa_check', or custom prefixed values.
  • statuses — Filter to requests that have any of the specified statuses: pending, success, error, or timeout.
  • tokenName — Filter to requests authenticated with a personal access token bearing this name.
  • oauthClientId — Filter to requests authenticated by the OAuth application with this client ID.
  • systemCredentials — If true, export only logs for requests authenticated using system-provided credentials (default true).
  • isAutoTriggered — If true, export only requests triggered automatically rather than by interactive user actions (default true).
  • dateTime:createdAfter — Filter to requests logged after this ISO 8601 date/time.
  • dateTime:createdBefore — Filter to requests logged before this ISO 8601 date/time.

Output shape

a binary file representing the exported AI request logs in the specified format (CSV)

The export respects all applied filters and outputs a file suitable for download and further analysis. No pagination applies since the operation exports a file containing multiple log entries.

Examples

Example 1: Export all AI request logs for project 1234 in CSV format

Set 'projectId' to 1234 and 'format' to 'csv' using OAuth2 authentication.

Links

Discussion