Skip to main content
GET
Retrieve the status and details of a specific batch job. Use this to monitor batch progress and get the output file ID when the batch completes.
Customer credentials required: This endpoint requires your own OpenAI API key configured in Keywords AI dashboard (Settings → Providers).

Keywords AI parameters

You can pass Keywords AI tracking parameters via the X-Data-Keywordsai-Params header:

Path parameters

string
required
The unique identifier of the batch to retrieve. Format: batch_xxxxx

Response

Returns a batch object with complete status information. Key fields:
  • status - Current batch status (see create batch for status values)
  • output_file_id - ID of the output file when batch completes (use with retrieve file content)
  • error_file_id - ID of the error file if any requests failed
  • request_counts - Progress tracking with total, completed, and failed counts