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

# List Entity Ingestion Runs

> List the ingestion runs for an entity ingestion config, most-recent-first, including status, per-item counts, and any failure. Use to verify that ingested data landed.



## OpenAPI

````yaml /sections/api-reference/openapi-spec-v2.yaml get /v2/entity-ingestion-configs/{ingestion_config_id}/runs
openapi: 3.1.0
info:
  title: Serval Public API
  description: Serval Public API
  contact:
    name: Serval
    url: https://serval.com
    email: support@serval.com
  license:
    name: Serval License
    url: https://serval.com/license
  version: 2.0.0
servers:
  - url: https://public.api.serval.com
security:
  - BearerAuth: []
tags:
  - name: Access Policy API
  - name: Access Policy Approval Procedure API
  - name: Access Profile API
  - name: Access Relationship API
  - name: Access Request API
  - name: Agent API
  - name: App Instance API
  - name: App Resource API
  - name: App Resource Role API
  - name: Approval Delegation API
  - name: Approval Request API
  - name: Audit Log API
  - name: Change Blackout API
  - name: Change Model API
  - name: Custom Field API
  - name: Custom Service API
  - name: Entity API
  - name: Entity Field Mapping API
  - name: Entity Ingestion Config API
  - name: Entity Type API
  - name: Folder API
  - name: Group API
  - name: Guidance API
  - name: Help Agent API
  - name: Journey API
  - name: Knowledge API
  - name: Knowledge Base API
  - name: Report API
  - name: SLA API
  - name: Schedule API
  - name: Tag API
  - name: Team API
  - name: Team User API
  - name: Ticket API
  - name: Topic API
  - name: User API
  - name: User Relationship API
  - name: Workflow API
  - name: Workflow Approval Procedure API
  - name: Workflow Run API
paths:
  /v2/entity-ingestion-configs/{ingestion_config_id}/runs:
    get:
      tags:
        - Entity Ingestion Config API
      summary: List Entity Ingestion Runs
      description: >-
        List the ingestion runs for an entity ingestion config,
        most-recent-first, including status, per-item counts, and any failure.
        Use to verify that ingested data landed.
      operationId: svrelay.publicv2.PublicAPIServiceV2.ListEntityIngestionRuns
      parameters:
        - name: ingestion_config_id
          in: path
          required: true
          schema:
            type: string
            title: ingestion_config_id
            description: The ingestion config whose runs to list.
        - name: pageSize
          in: query
          description: Maximum number of runs to return. Default is 10, maximum is 50.
          schema:
            type: integer
            title: page_size
            format: int32
            description: Maximum number of runs to return. Default is 10, maximum is 50.
        - name: pageOffset
          in: query
          description: Number of runs to skip (for pagination).
          schema:
            type: integer
            title: page_offset
            format: int32
            description: Number of runs to skip (for pagination).
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/svstore.publicapi.ListEntityIngestionRunsResponse
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connect.error'
      security:
        - BearerAuth: []
components:
  schemas:
    svstore.publicapi.ListEntityIngestionRunsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/svstore.EntityIngestionRun'
          title: data
          description: The ingestion runs, most-recent-first.
          x-stainless-terraform-configurability: optional
      title: ListEntityIngestionRunsResponse
      additionalProperties: false
    connect.error:
      type: object
      properties:
        code:
          type: string
          examples:
            - not_found
          enum:
            - canceled
            - unknown
            - invalid_argument
            - deadline_exceeded
            - not_found
            - already_exists
            - permission_denied
            - resource_exhausted
            - failed_precondition
            - aborted
            - out_of_range
            - unimplemented
            - internal
            - unavailable
            - data_loss
            - unauthenticated
          description: >-
            The status code, which should be an enum value of
            [google.rpc.Code][google.rpc.Code].
          x-stainless-terraform-configurability: optional
        message:
          type: string
          description: >-
            A developer-facing error message, which should be in English. Any
            user-facing error message should be localized and sent in the
            [google.rpc.Status.details][google.rpc.Status.details] field, or
            localized by the client.
          x-stainless-terraform-configurability: optional
        detail:
          $ref: '#/components/schemas/google.protobuf.Any'
          x-stainless-terraform-configurability: optional
      title: Connect Error
      additionalProperties: true
      description: >-
        Error type returned by Connect:
        https://connectrpc.com/docs/go/errors/#http-representation
    svstore.EntityIngestionRun:
      type: object
      properties:
        id:
          type: string
          title: id
          x-stainless-terraform-configurability: optional
        ingestionConfigId:
          type: string
          title: ingestion_config_id
          x-stainless-terraform-configurability: optional
        status:
          $ref: '#/components/schemas/svstore.EntityIngestionRunStatus'
          title: status
          x-stainless-terraform-configurability: optional
        startedAt:
          $ref: '#/components/schemas/google.protobuf.Timestamp'
          title: started_at
          x-stainless-terraform-configurability: optional
        completedAt:
          $ref: '#/components/schemas/google.protobuf.Timestamp'
          title: completed_at
          x-stainless-terraform-configurability: optional
        itemsAddedCount:
          type: integer
          title: items_added_count
          format: int32
          nullable: true
          x-stainless-terraform-configurability: optional
        itemsUpdatedCount:
          type: integer
          title: items_updated_count
          format: int32
          nullable: true
          x-stainless-terraform-configurability: optional
        itemsDeletedCount:
          type: integer
          title: items_deleted_count
          format: int32
          nullable: true
          x-stainless-terraform-configurability: optional
        itemsUnchangedCount:
          type: integer
          title: items_unchanged_count
          format: int32
          nullable: true
          x-stainless-terraform-configurability: optional
        itemsErroredCount:
          type: integer
          title: items_errored_count
          format: int32
          nullable: true
          x-stainless-terraform-configurability: optional
        failureReason:
          $ref: '#/components/schemas/svstore.EntityIngestionRunFailureReason'
          title: failure_reason
          x-stainless-terraform-configurability: optional
        failureMessage:
          type: string
          title: failure_message
          x-stainless-terraform-configurability: optional
        svRunId:
          type: string
          title: sv_run_id
          x-stainless-terraform-configurability: optional
        isFullSync:
          type: boolean
          title: is_full_sync
          x-stainless-terraform-configurability: computed_optional
      title: EntityIngestionRun
      additionalProperties: false
      description: |-
        EntityIngestionRun is a single execution of an ingestion config's sync,
         recording status, per-item counts, and any failure. Read most-recent-first
         via ListEntityIngestionRuns to verify that ingested data landed.
    google.protobuf.Any:
      type: object
      properties:
        type:
          type: string
          x-stainless-terraform-configurability: optional
        value:
          type: string
          format: binary
          x-stainless-terraform-configurability: optional
        debug:
          type: object
          additionalProperties: true
          x-stainless-terraform-configurability: optional
      additionalProperties: true
      description: >-
        Contains an arbitrary serialized message along with a @type that
        describes the type of the serialized message.
    svstore.EntityIngestionRunStatus:
      type: string
      title: EntityIngestionRunStatus
      enum:
        - ENTITY_INGESTION_RUN_STATUS_UNSPECIFIED
        - ENTITY_INGESTION_RUN_STATUS_RUNNING
        - ENTITY_INGESTION_RUN_STATUS_COMPLETED
        - ENTITY_INGESTION_RUN_STATUS_FAILED
      description: >-
        EntityIngestionRunStatus is the lifecycle state of a single ingestion
        run.
    google.protobuf.Timestamp:
      type: string
      format: date-time
      description: A timestamp in RFC 3339 format (e.g., "2025-01-15T01:30:15Z").
    svstore.EntityIngestionRunFailureReason:
      type: string
      title: EntityIngestionRunFailureReason
      enum:
        - ENTITY_INGESTION_RUN_FAILURE_REASON_UNSPECIFIED
        - ENTITY_INGESTION_RUN_FAILURE_REASON_DATA_INGESTION
        - ENTITY_INGESTION_RUN_FAILURE_REASON_SCHEMA_EXTRACTION
        - ENTITY_INGESTION_RUN_FAILURE_REASON_INFERENCE
        - ENTITY_INGESTION_RUN_FAILURE_REASON_PUBLISHING
      description: >-
        EntityIngestionRunFailureReason identifies which phase of the pipeline
        failed.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````