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

# Get an evidence refresh

> Requires `integration.read`. Results are scoped to the authenticated tenant. This reference is generated from source; consult the authenticated live schema for deployment-specific availability. Read the current durable state of the exact source-wide collection. `completed` means its SyncRun finished evidence collection; `assessmentState: unknown` does not attest a passing control or completed downstream evaluation. A foreign or mismatched source/operation pair returns 404.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/integrations/{integration_id}/sync-operations/{operation_id}
openapi: 3.1.0
info:
  title: Alignr API
  version: 0.1.0
  description: >-
    Selected read operations. Generated from the Alignr application; no tenant
    data is included.
servers:
  - url: https://api.alignr.io
security: []
paths:
  /api/v1/integrations/{integration_id}/sync-operations/{operation_id}:
    get:
      tags:
        - Evidence
      summary: Get an evidence refresh
      description: >-
        Requires `integration.read`. Results are scoped to the authenticated
        tenant. This reference is generated from source; consult the
        authenticated live schema for deployment-specific availability. Read the
        current durable state of the exact source-wide collection. `completed`
        means its SyncRun finished evidence collection; `assessmentState:
        unknown` does not attest a passing control or completed downstream
        evaluation. A foreign or mismatched source/operation pair returns 404.
      operationId: >-
        read_sync_operation_api_v1_integrations__integration_id__sync_operations__operation_id__get
      parameters:
        - name: integration_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Integration Id
        - name: operation_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Operation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationSyncOperationRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    IntegrationSyncOperationRead:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        integrationId:
          type: string
          format: uuid
          title: Integrationid
        state:
          type: string
          enum:
            - pending
            - running
            - completed
            - failed
            - interrupted
          title: State
        sweepId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Sweepid
        syncRunId:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Syncrunid
        startedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Startedat
        finishedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finishedat
        errorCode:
          anyOf:
            - type: string
            - type: 'null'
          title: Errorcode
        assessmentState:
          type: string
          const: unknown
          title: Assessmentstate
          default: unknown
      type: object
      required:
        - id
        - integrationId
        - state
        - sweepId
        - syncRunId
        - startedAt
        - finishedAt
        - errorCode
      title: IntegrationSyncOperationRead
    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:
    BearerAuth:
      type: http
      scheme: bearer
      description: An Alignr API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.