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

# Test Connector

> Test connectivity — returns {success, message, latency_ms} (C-011).

Task LB2: for contract/postgres connectors, `result` also carries the
real-probe detail fields ({ok, table_ok, columns_ok, missing_columns?,
detail}) from app/integrations/providers/db_probe.py -- surfaced
verbatim below so the caller can tell "auth failed" from "table
missing" from "column missing" instead of a single opaque message.
Every other connector type's stub result has none of those keys, so
they simply don't appear in the response — never fabricated.



## OpenAPI

````yaml /openapi.json post /v1/connectors/{connector_id}/test
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/connectors/{connector_id}/test:
    post:
      tags:
        - connectors
      summary: Test Connector
      description: |-
        Test connectivity — returns {success, message, latency_ms} (C-011).

        Task LB2: for contract/postgres connectors, `result` also carries the
        real-probe detail fields ({ok, table_ok, columns_ok, missing_columns?,
        detail}) from app/integrations/providers/db_probe.py -- surfaced
        verbatim below so the caller can tell "auth failed" from "table
        missing" from "column missing" instead of a single opaque message.
        Every other connector type's stub result has none of those keys, so
        they simply don't appear in the response — never fabricated.
      operationId: test_connector_v1_connectors__connector_id__test_post
      parameters:
        - in: path
          name: connector_id
          required: true
          schema:
            title: Connector Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
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
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````