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

# Validate provider connection

> Tests whether the provider key is valid by sending a lightweight request through the AI service. Updates is_valid on the connection.




## OpenAPI

````yaml /openapi.yaml post /provider-connections/{id}/validate
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /provider-connections/{id}/validate:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    post:
      summary: Validate provider connection
      description: >
        Tests whether the provider key is valid by sending a lightweight request
        through the AI service. Updates is_valid on the connection.
      responses:
        '200':
          description: Validation result
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  is_valid:
                    type: boolean
                  validation_latency_ms:
                    type: integer
                    description: Round-trip validation time in milliseconds
                  error:
                    type: string
                    description: Error message if validation failed
        '401':
          description: Not authenticated
        '403':
          description: Requires user role
        '404':
          description: Connection not found
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````