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

# Download the results of a completed batch job

> ⚠️ Deprecated — use [GET /v2/jobs/{processId}/download](https://docs.revenuebase.ai/api-reference/jobs/download-batch-job-results) instead. Sunset: Tue, 07 Jul 2026.

Streams the processed output file for a completed or cancelled batch job. The response includes a `Content-Disposition` header with the original filename.

**Errors**
- `400 not_completed` — Job must have status `COMPLETED` or `CANCELLED` before downloading.
- `400 process_error` — Job ended with an error. No output file is available.
- `400` — Invalid `process_id` or job does not belong to your account.



## OpenAPI

````yaml https://api.revenuebase.ai/v1/openapi.json post /v1/batch-download
openapi: 3.1.0
info:
  title: Revenuebase Email Verification
  description: >-
    This API provides endpoints for validating email addresses individually or
    through file uploads.
  version: 0.1.0
servers:
  - url: https://api.revenuebase.ai
security: []
paths:
  /v1/batch-download:
    post:
      tags:
        - Email Processing
      summary: Download the results of a completed batch job
      description: >-
        ⚠️ Deprecated — use [GET
        /v2/jobs/{processId}/download](https://docs.revenuebase.ai/api-reference/jobs/download-batch-job-results)
        instead. Sunset: Tue, 07 Jul 2026.


        Streams the processed output file for a completed or cancelled batch
        job. The response includes a `Content-Disposition` header with the
        original filename.


        **Errors**

        - `400 not_completed` — Job must have status `COMPLETED` or `CANCELLED`
        before downloading.

        - `400 process_error` — Job ended with an error. No output file is
        available.

        - `400` — Invalid `process_id` or job does not belong to your account.
      operationId: batch_download_v1_batch_download_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchEmailDownloadRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Batch Download V1 Batch Download Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      deprecated: true
      security:
        - APIKeyHeader: []
components:
  schemas:
    BatchEmailDownloadRequest:
      properties:
        process_id:
          type: integer
          title: Process Id
      type: object
      required:
        - process_id
      title: BatchEmailDownloadRequest
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-key

````