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

# Get bulk import status

> Get the current status of a bulk event import job. Use this to poll for completion after POST /event/import. Recommended polling interval: 5–10 seconds. The job reaches COMPLETED only once every event is terminal — `ingested` is the authoritative success count.



## OpenAPI

````yaml get /api/v2/event/import/status
openapi: 3.0.0
info:
  version: 1.0.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/event/import/status:
    get:
      tags:
        - Events
      summary: Get bulk import status
      description: >-
        Get the current status of a bulk event import job. Use this to poll for
        completion after POST /event/import. Recommended polling interval: 5–10
        seconds. The job reaches COMPLETED only once every event is terminal —
        `ingested` is the authoritative success count.
      operationId: getImportStatus
      parameters:
        - schema:
            type: string
            minLength: 1
            description: The import job OId returned by POST /event/import
            example: pbj_3rgkoHhR00cEdE9DjKeIK
          required: true
          description: The import job OId returned by POST /event/import
          name: jobOId
          in: query
      responses:
        '200':
          description: Import job status
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: object
                    properties:
                      jobOId:
                        type: string
                        description: The import job OId
                      provider:
                        type: string
                        description: The generic provider the events were imported under
                        example: OCTAVE_GENERIC_CALL
                      status:
                        type: string
                        enum:
                          - PENDING
                          - RUNNING
                          - PAUSED
                          - COMPLETED
                          - FAILED
                          - CANCELLED
                        description: >-
                          Job status. COMPLETED means every event reached a
                          terminal state (ingested, skipped, or failed).
                      counts:
                        type: object
                        properties:
                          total:
                            type: integer
                            description: Total events tracked by this job
                          pending:
                            type: integer
                            description: Events queued for ingestion
                          published:
                            type: integer
                            description: >-
                              Events accepted by the pipeline, awaiting
                              ingestion confirmation
                          ingested:
                            type: integer
                            description: >-
                              Events successfully ingested — the authoritative
                              success count
                          skipped:
                            type: integer
                            description: >-
                              Events deliberately not ingested (duplicates,
                              non-processable event types, internal-only events)
                          failed:
                            type: integer
                            description: Events that exhausted ingestion attempts
                        required:
                          - total
                          - pending
                          - published
                          - ingested
                          - skipped
                          - failed
                        description: Per-status event counts
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            eventId:
                              type: string
                              nullable: true
                              description: >-
                                The event's dedupe ID (caller-supplied or
                                content-derived)
                            status:
                              type: string
                              description: 'The row status: FAILED or SKIPPED'
                            error:
                              type: string
                              nullable: true
                              description: Why the event failed or was skipped
                            attempts:
                              type: integer
                              description: Number of ingestion attempts made
                          required:
                            - eventId
                            - status
                            - error
                            - attempts
                        description: >-
                          Sample of failed/skipped events (failed first, capped
                          at 20)
                      createdAt:
                        type: string
                        nullable: true
                        format: date-time
                        description: When the job was created
                      startedAt:
                        type: string
                        nullable: true
                        format: date-time
                        description: When the job started processing
                      completedAt:
                        type: string
                        nullable: true
                        format: date-time
                        description: When the job reached a terminal state
                    required:
                      - jobOId
                      - provider
                      - status
                      - counts
                      - errors
                      - createdAt
                      - startedAt
                      - completedAt
                required:
                  - _metadata
                  - data
        '404':
          description: Job not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
      deprecated: false
components:
  schemas:
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          example: 0
          description: API usage
        requestId:
          type: string
          example: requestId
          description: Request ID
        message:
          type: string
          example: message
          description: Message
        timestamp:
          type: string
          example: '2021-01-01T00:00:00.000Z'
          description: Timestamp
      required:
        - requestId
        - timestamp
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````