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

# Bulk Lookup Job Status

> Check the status and progress of a bulk lookup job. Returns the current status, per-outcome counts, and row totals.

Use this endpoint to check the progress of a bulk lookup job. Poll it periodically after submitting via [POST /v1/bulk-lookup](/docs/api-reference/bulk-lookup-submit) to determine when your results are ready. The response tells you how many rows have been processed, the current job status, and a per-outcome summary.

## Job status values

| Status      | Meaning                                                      |
| ----------- | ------------------------------------------------------------ |
| `running`   | Job is still processing rows. Continue polling.              |
| `completed` | All rows have been processed. Results are ready to retrieve. |

## Outcome summary

The `summary` object on the response gives a per-outcome breakdown that updates as the job progresses:

| Field             | Meaning                                                    |
| ----------------- | ---------------------------------------------------------- |
| `total_found`     | Rows where a deliverable email was found.                  |
| `total_not_found` | Rows where no deliverable address was found at the domain. |

Every row in either bucket is charged `1 credit`. `total_found + total_not_found` equals `total_processed`.

## Polling cadence

For most jobs, polling every 10–30 seconds is sufficient. Polling more frequently than necessary won't speed up processing and counts against your rate limit (`20` requests per second per API key, shared across the `/v1/*` API).


## OpenAPI

````yaml GET /v1/bulk-lookup/{job_id}
openapi: 3.1.0
info:
  title: OrbiSearch Public API
  version: 1.0.0
  description: >-
    Email verification API for developers and agents. [Get your API key
    →](https://orbisearch.com/dashboard/api-keys)


    **Rate limiting:** requests are limited per API key (20 requests per second
    by default). Every response includes `X-RateLimit-Limit`,
    `X-RateLimit-Remaining` and `X-RateLimit-Reset` headers describing the
    current per-key window so clients can self-throttle; `429` responses also
    include a `Retry-After` header with the suggested backoff in seconds.
  contact:
    name: Get API Key
    url: https://orbisearch.com/dashboard/api-keys
servers:
  - url: https://api.orbisearch.com
    description: OrbiSearch Public API
security:
  - ApiKeyAuth: []
paths:
  /v1/bulk-lookup/{job_id}:
    get:
      tags:
        - Public API v1
      summary: Get Bulk Lookup Status
      description: |-
        Check the status and progress of a bulk lookup job. Returns the current
        `status` (`running` or `completed`), per-outcome counts, and row totals.

        Poll this until `status=completed`, then fetch results via
        `GET /v1/bulk-lookup/{job_id}/results`.

        All rows are charged per the bulk-lookup billing policy: refunds happen
        only when OrbiSearch infrastructure cannot accept the submission itself,
        not on a per-row outcome basis.
      operationId: get_bulk_lookup_status_v1_bulk_lookup__job_id__get
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkLookupStatusResponse'
          headers:
            X-RateLimit-Limit:
              description: Maximum requests allowed in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 20
            X-RateLimit-Remaining:
              description: Requests remaining in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 13
            X-RateLimit-Reset:
              description: Unix timestamp (seconds) at which the current window resets.
              schema:
                type: integer
                examples:
                  - 1751700000
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              example:
                detail: API key required in X-API-Key header
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Job not found or does not belong to this API key
          content:
            application/json:
              example:
                detail: Job not found
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          headers:
            X-RateLimit-Limit:
              description: Maximum requests allowed in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 20
            X-RateLimit-Remaining:
              description: Requests remaining in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 13
            X-RateLimit-Reset:
              description: Unix timestamp (seconds) at which the current window resets.
              schema:
                type: integer
                examples:
                  - 1751700000
        '422':
          description: Invalid request parameters
          content:
            application/json:
              example:
                detail: 'Missing required query parameter: email.'
                errors:
                  - loc: query.email
                    msg: 'Missing required query parameter: email.'
                    type: missing
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          headers:
            X-RateLimit-Limit:
              description: Maximum requests allowed in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 20
            X-RateLimit-Remaining:
              description: Requests remaining in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 13
            X-RateLimit-Reset:
              description: Unix timestamp (seconds) at which the current window resets.
              schema:
                type: integer
                examples:
                  - 1751700000
        '429':
          description: Rate limit exceeded
          headers:
            Retry-After:
              description: >-
                Seconds the client should wait before retrying. Computed from
                the remaining rate-limit window (typically 1 for the per-second
                limit, longer when the limit is exceeded by 3x or more); for
                endpoints with a daily quota, seconds until the quota resets.
              schema:
                type: integer
                examples:
                  - 1
            X-RateLimit-Limit:
              description: Maximum requests allowed in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 20
            X-RateLimit-Remaining:
              description: Requests remaining in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 13
            X-RateLimit-Reset:
              description: Unix timestamp (seconds) at which the current window resets.
              schema:
                type: integer
                examples:
                  - 1751700000
          content:
            application/json:
              example:
                detail: >-
                  Rate limit exceeded. Maximum 20 requests per second per API
                  key. Contact us to discuss higher limits.
                code: rate_limited
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Email-lookup service not configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
              example:
                detail: Email lookup is not available in this environment
          headers:
            X-RateLimit-Limit:
              description: Maximum requests allowed in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 20
            X-RateLimit-Remaining:
              description: Requests remaining in the current per-API-key window.
              schema:
                type: integer
                examples:
                  - 13
            X-RateLimit-Reset:
              description: Unix timestamp (seconds) at which the current window resets.
              schema:
                type: integer
                examples:
                  - 1751700000
      security:
        - ApiKeyAuth: []
components:
  schemas:
    BulkLookupStatusResponse:
      properties:
        job_id:
          type: string
          format: uuid
          title: Job Id
          description: Unique job identifier.
          examples:
            - 123e4567-e89b-12d3-a456-426614174000
        status:
          type: string
          enum:
            - running
            - completed
          title: Status
          description: 'Job status: running (still processing) or completed (all rows done).'
          examples:
            - running
        total_rows:
          type: integer
          title: Total Rows
          description: Total rows submitted.
          examples:
            - 500
        total_processed:
          type: integer
          title: Total Processed
          description: Rows processed so far.
          examples:
            - 237
        summary:
          $ref: '#/components/schemas/BulkLookupSummary'
          description: Per-outcome counts.
        created_at:
          type: string
          title: Created At
          description: Job submission timestamp (UTC).
          examples:
            - '2026-04-21T14:30:00Z'
        finished_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Finished At
          description: Timestamp of the last processed row (UTC). Null while running.
          examples:
            - null
      type: object
      required:
        - job_id
        - status
        - total_rows
        - total_processed
        - summary
        - created_at
      title: BulkLookupStatusResponse
      description: Status snapshot of a bulk lookup job.
      example:
        created_at: '2026-04-21T14:30:00Z'
        job_id: 123e4567-e89b-12d3-a456-426614174000
        status: running
        summary:
          total_found: 198
          total_not_found: 39
        total_processed: 237
        total_rows: 500
    ApiErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: Human-readable description of what went wrong.
          examples:
            - API key required in X-API-Key header
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
          description: >-
            Stable machine-readable error code, present on conditions a client
            may want to branch on (for example `rate_limited` for the per-second
            limit versus `daily_quota_exceeded` for the daily cap). Absent on
            errors that need no further disambiguation.
          examples:
            - daily_quota_exceeded
        errors:
          anyOf:
            - items:
                $ref: '#/components/schemas/ValidationErrorDetail'
              type: array
            - type: 'null'
          title: Errors
          description: >-
            Individual validation failures, one entry per invalid parameter or
            field. Present only on 422 responses; when the request has a single
            problem, `detail` carries the same message. Absent on all other
            error codes.
      type: object
      required:
        - detail
      title: ApiErrorResponse
      description: Error response body.
    BulkLookupSummary:
      properties:
        total_found:
          type: integer
          title: Total Found
          description: Rows where a deliverable email was found.
          examples:
            - 420
        total_not_found:
          type: integer
          title: Total Not Found
          description: Rows where no deliverable address was found at the domain.
          examples:
            - 80
      type: object
      required:
        - total_found
        - total_not_found
      title: BulkLookupSummary
      description: Per-outcome counts for a bulk lookup job.
    ValidationErrorDetail:
      properties:
        loc:
          type: string
          title: Loc
          description: >-
            Where in the request the problem is, as a dot-separated path (e.g.
            `query.email`, `body.0`).
          examples:
            - query.email
        msg:
          type: string
          title: Msg
          description: Human-readable description of this validation error.
          examples:
            - 'Missing required query parameter: email.'
        type:
          type: string
          title: Type
          description: >-
            Machine-readable error category (e.g. `missing`, `less_than_equal`,
            `string_too_long`).
          examples:
            - missing
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationErrorDetail
      description: One request-validation failure.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      description: API key for authentication
      in: header
      name: X-API-Key

````