> ## 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.

# List active batch jobs

> Returns batch jobs in `QUEUED` or `PROCESSING` status for your account. Results are paginated; use `page` and `batch` to navigate. Use the `process_id` from each result to poll individual job status or cancel.



## OpenAPI

````yaml https://api.revenuebase.ai/v2/openapi.json get /v2/jobs
openapi: 3.1.0
info:
  title: Revenuebase API v2
  version: 0.1.0
servers:
  - url: https://api.revenuebase.ai
security: []
paths:
  /v2/jobs:
    get:
      tags:
        - Jobs
      summary: List active batch jobs
      description: >-
        Returns batch jobs in `QUEUED` or `PROCESSING` status for your account.
        Results are paginated; use `page` and `batch` to navigate. Use the
        `process_id` from each result to poll individual job status or cancel.
      operationId: list_jobs_v2_jobs_get
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Page number (1-based).
            default: 1
            title: Page
          description: Page number (1-based).
        - name: batch
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Number of jobs per page.
            default: 10
            title: Batch
          description: Number of jobs per page.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueuedProcessesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
      x-codeSamples:
        - lang: Python
          label: Python SDK
          source: |-
            from revenuebase_sdk import RevenuebaseClient

            client = RevenuebaseClient()

            jobs = client.jobs.list()
            for job in jobs.processes:
                print(job.process_id, job.status)
components:
  schemas:
    QueuedProcessesResponse:
      properties:
        processes:
          items:
            $ref: '#/components/schemas/Process'
          type: array
          title: Processes
        page:
          type: integer
          title: Page
        batch:
          type: integer
          title: Batch
        total:
          type: integer
          title: Total
      type: object
      required:
        - processes
        - page
        - batch
        - total
      title: QueuedProcessesResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Process:
      properties:
        process_id:
          type: integer
          title: Process Id
        filename:
          type: string
          title: Filename
        status:
          type: string
          title: Status
        message:
          type: string
          title: Message
        last_updated:
          type: string
          format: date-time
          title: Last Updated
        total_emails:
          type: integer
          title: Total Emails
          default: 0
        valid_emails:
          type: integer
          title: Valid Emails
          default: 0
        invalid_emails:
          type: integer
          title: Invalid Emails
          default: 0
        credits_used:
          type: integer
          title: Credits Used
          default: 0
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
      type: object
      required:
        - process_id
        - filename
        - status
        - message
        - last_updated
      title: Process
    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

````