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

# Api Integration Scan

> Queue a background scan and return its pollable run record immediately. The discovery
work (per-table SQL inspection over a possibly tunneled connection) used to run inline and
hold the browser request for up to five minutes on a large source; it now lives in
execute_integration_scan_job and the UI polls GET /api/integrations/runs/{run_id}.



## OpenAPI

````yaml /api/openapi.json post /api/integrations/{integration_id}/scan
openapi: 3.1.0
info:
  description: >-
    Environment-aware APIs for Platinur configuration, integrations, operations,
    promotions, scheduling, monitoring, and assistant tasks.
  title: Platinur Control Plane API
  version: 1.0.0-rc26
servers:
  - description: Local Platinur control-plane API
    url: http://localhost:8080
security: []
paths:
  /api/integrations/{integration_id}/scan:
    post:
      tags:
        - Integrations
      summary: Api Integration Scan
      description: >-
        Queue a background scan and return its pollable run record immediately.
        The discovery

        work (per-table SQL inspection over a possibly tunneled connection) used
        to run inline and

        hold the browser request for up to five minutes on a large source; it
        now lives in

        execute_integration_scan_job and the UI polls GET
        /api/integrations/runs/{run_id}.
      operationId: api_integration_scan_api_integrations__integration_id__scan_post
      parameters:
        - in: path
          name: integration_id
          required: true
          schema:
            title: Integration Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````