Claude · Arazzo Workflow
Claude Batch Process and Retrieve Results
Version 1.0.0
Submit a message batch, poll until it ends, then retrieve the JSONL results.
View Spec
View on GitHub
Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language ProcessingArazzoWorkflows
Provider
Workflows
batch-process-and-retrieve-results
Create a message batch, wait for it to end, and pull its results.
Submits a batch of requests, polls retrieveMessageBatch until processing ends, then streams the JSONL results.
1
submitBatch
createMessageBatch
Submit the batch of message-creation requests for asynchronous processing, capturing the batch id and initial processing status.
2
pollBatchStatus
retrieveMessageBatch
Poll the batch status. While processing_status is not "ended", retry this step after a delay; once ended, proceed to retrieve the results.
3
retrieveResults
retrieveMessageBatchResults
Stream the completed batch results as a JSONL file once the batch has ended.