> ## Documentation Index
> Fetch the complete documentation index at: https://outlit-codex-platform-actions-create-update-cli.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get integration sync status

> Inspect the connection and model sync status for one public provider.



## OpenAPI

````yaml /openapi.json get /api/integrations/sync-status
openapi: 3.1.0
info:
  title: Outlit API
  summary: Public Outlit Platform and Ingest APIs.
  description: >-
    Canonical OpenAPI specification for the public Outlit API surfaces
    documented at docs.outlit.ai.
  version: 1.0.0
servers:
  - url: https://app.outlit.ai
security:
  - bearerAuth: []
tags:
  - name: Platform API
    description: >-
      Authenticated API key routes for customer intelligence tools and
      integration management.
  - name: Ingest API
    description: Public-key event ingestion routes used by Outlit SDKs.
paths:
  /api/integrations/sync-status:
    get:
      tags:
        - Platform API
      summary: Get integration sync status
      description: Inspect the connection and model sync status for one public provider.
      operationId: getIntegrationSyncStatus
      parameters:
        - name: provider
          in: query
          required: true
          description: Public provider ID from the provider table.
          schema:
            $ref: '#/components/schemas/ProviderId'
      responses:
        '200':
          description: Provider sync status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationSyncStatusResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    ProviderId:
      type: string
      description: Public integration provider ID.
      enum:
        - hubspot
        - attio
        - slack
        - fireflies
        - granola
        - google-calendar
        - google-mail
        - posthog
        - stripe
        - supabase
        - clerk
        - pylon
    IntegrationSyncStatusResponse:
      type: object
      required:
        - provider
        - name
        - category
        - status
        - syncs
      properties:
        provider:
          $ref: '#/components/schemas/ProviderId'
        name:
          type: string
        category:
          type: string
        status:
          type: string
          enum:
            - connected
            - not_connected
        syncs:
          type: array
          items:
            $ref: '#/components/schemas/IntegrationSync'
      additionalProperties: false
    IntegrationSync:
      type: object
      required:
        - model
        - status
      properties:
        model:
          type: string
        status:
          type: string
          examples:
            - SUCCESS
            - FAILED
            - PENDING
        lastSyncedAt:
          type:
            - string
            - 'null'
          format: date-time
        errorMessage:
          type:
            - string
            - 'null'
      additionalProperties: false
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssue'
      additionalProperties: true
    ValidationIssue:
      type: object
      required:
        - path
        - message
      properties:
        path:
          type: array
          items:
            type:
              - string
              - number
        message:
          type: string
      additionalProperties: false
  responses:
    BadRequest:
      description: Invalid request body or parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Invalid request
    Unauthorized:
      description: Invalid or missing API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Invalid credentials
    InternalServerError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Outlit API key using the Bearer ok_... format.

````