capabilities.work

List Batches and Fetch Latest Results

A 3-step recipe with Anthropic. We can help you get access.

Recipe · 3 steps

List Batches and Fetch Latest Results

Find the most recent batch and retrieve its results when complete.

  1. Retrieve a paginated list of message batches for the account, most recent first.
  2. Retrieve the most recent batch to read its current processing status and results URL.
  3. Download the JSONL results stream for the most recent completed batch.
What you'll need to have ready
  • apiKey: A valid Anthropic API key sent in the x-api-key header.
  • limit: Number of batches to return per page.
For your developer

Arazzo workflow anthropic:list-batches-fetch-latest-results, 3 operations: listMessageBatches → retrieveMessageBatch → retrieveMessageBatchResults. Specs on APIs.io.