X-Data-Keywordsai-Params header:
customer_identifier - User/customer identifier for trackingenvironment - Environment label (e.g., “production”, “staging”)custom_identifier - Custom identifier for your use casethread_identifier - Thread/conversation identifiermetadata - Additional key-value metadataExample
"/v1/chat/completions" - For chat completion requestsExample
"24h" - 24-hour completion window (only supported value)Example
Example
validating status and progresses through various states until completion.
Status values:
validating - Input file is being validatedfailed - Validation failedin_progress - Batch is processingfinalizing - Batch processing complete, output file being createdcompleted - Batch successfully completedexpired - Batch expired before completioncancelling - Cancellation in progresscancelled - Batch was cancelled