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

# Test Stored Connection

> Test whether a stored auth connection is valid



## OpenAPI

````yaml https://api.oviond.com/openapi.json post /v1/datasources/test
openapi: 3.1.0
info:
  title: Oviond Backend API
  version: 1.0.0
  description: Authentication, account management, billing, and media services for Oviond.
  x-logo:
    url: https://app.oviond.com/img/oviond-full-logo.svg
    altText: Oviond
servers:
  - url: https://api.oviond.com
    description: Production
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /v1/datasources/test:
    post:
      tags:
        - Datasources
      summary: Test Stored Connection
      description: Test whether a stored auth connection is valid
      operationId: test_stored_connection
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestAuthRequest'
      responses:
        '200':
          description: Connection test result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestAuthResponse'
        '404':
          description: Auth not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
components:
  schemas:
    TestAuthRequest:
      type: object
      properties:
        auth_id:
          type: string
          minLength: 1
          example: auth_abc123
        datasource_id:
          type: string
          enum:
            - advanced-web-ranking
            - ac
            - adroll
            - ahrefs
            - basecamp
            - brightlocal
            - call-rail
            - drip
            - keywords
            - sendin-blue
            - sendgrid
            - moosend
            - mailer-lite
            - pingdom
            - uptime-robot
            - piwik-pro
            - wordpress
            - pabbly-connect
            - ment
            - twilio
            - switchy
            - vimeo
            - pinterest
            - pinterest-ads
            - gtres
            - paypal
            - gps
            - gs
            - CUSTOM_IMPORT
            - CUSTOM_DATA
            - CALCULATION
            - GOALS
            - str
            - wistia
            - ca-mon
            - convertkit
            - woocommerce
            - xero
            - matomo
            - go-high-level
            - wcs
            - bing-webmaster-tools
            - pipedrive
            - salesforce
            - tiktok
            - tiktok-ads
            - twr
            - twr-ads
            - spf
            - ytbe
            - google-local-services-ads
            - klaviyo
            - gsh
            - ga4
            - lkdin-ads
            - lkdin-pg
            - mlchmp
            - inst-ads
            - inst
            - fb-ads
            - fb-pg
            - gmb
            - serpstat
            - hubspot
            - gadw
            - sem-rush
            - se-ranking
            - microsoft-ads
            - plausible
            - snapchat-ads
            - amazon-advertising
            - microsoft-clarity
            - serp-watch
            - vbout
            - moz
            - chatgpt-ads
          example: ga4
      required:
        - auth_id
        - datasource_id
    TestAuthResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          type: object
          properties:
            connected:
              type: boolean
            message:
              type: string
          required:
            - connected
      required:
        - success
        - data
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        Oviond API key (prefix `oviond_`) sent as a Bearer token — the
        credential for REST/programmatic and headless integrations. Manage keys
        in Settings → API Keys. API keys do NOT authenticate the MCP endpoint
        (/mcp), which uses OAuth 2.1 + PKCE.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Supabase-issued JWT used by the Oviond web app session. External API
        consumers should authenticate with an Oviond API key (ApiKeyAuth)
        instead.

````