> ## Documentation Index
> Fetch the complete documentation index at: https://www.edenai.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch Results

> The results of a finished batch, read from OpenAI. Available for 30 days after the
batch was created.

The response is streamed. The download is not: ``llm__abatch_results`` reads both files
whole, so a request holds them in memory, bounded by the create's line cap
(`LLM_BATCH_MAX_LINES`). The lines are validated once there and written out as dicts.



## OpenAPI

````yaml https://api.edenai.run/v3/docs/openapi.json get /v3/batches/{batch_id}/results
openapi: 3.1.0
info:
  title: Eden AI API V3
  version: 3.0.0
servers:
  - url: https://api.edenai.run
    description: Production server
security: []
paths:
  /v3/batches/{batch_id}/results:
    get:
      tags:
        - Batches
      summary: Batch Results
      description: >-
        The results of a finished batch, read from OpenAI. Available for 30 days
        after the

        batch was created.


        The response is streamed. The download is not: ``llm__abatch_results``
        reads both files

        whole, so a request holds them in memory, bounded by the create's line
        cap

        (`LLM_BATCH_MAX_LINES`). The lines are validated once there and written
        out as dicts.
      operationId: batch_results_v3_batches__batch_id__results_get
      parameters:
        - name: batch_id
          in: path
          required: true
          schema:
            type: string
            description: 'The batch id: the `id` the create call returned.'
            title: Batch Id
          description: 'The batch id: the `id` the create call returned.'
      responses:
        '200':
          description: >-
            One JSON line per request: `custom_id`, `response` (`status_code`,
            `body`) for a request that succeeded, else `error`.
          content:
            application/jsonl: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - AuthBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    AuthBearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.