class Anthropic::Resources::Messages::Batches

def results_streaming(message_batch_id, params = {})

Other tags:
    See: Anthropic::Models::Messages::BatchResultsParams -

Returns:
  • (Anthropic::Internal::JsonLStream) -

Parameters:
  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}, nil) --
  • message_batch_id (String) -- ID of the Message Batch.

Overloads:
  • results_streaming(message_batch_id, request_options: {})
def results_streaming(message_batch_id, params = {})
  @client.request(
    method: :get,
    path: ["v1/messages/batches/%1$s/results", message_batch_id],
    headers: {"accept" => "application/x-jsonl"},
    stream: Anthropic::Internal::JsonLStream,
    model: Anthropic::Messages::MessageBatchIndividualResponse,
    options: params[:request_options]
  )
end