Secrets
post/providers/probe

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/providers/probe
  • Auth
    API key in header Authorization

Request body

kindstring nullable

Provider kind, e.g. 'openai', 'azure', 'custom'. Optional when secret_id is given: the stored kind is used unless this overrides it.

secret_idstring uuid nullable

Test the credential stored under this secret, in the caller's project. Fields sent in provider override the stored ones.

Response

Successful Response

fetched_atstring date-time required

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      the request property became optional

    • info

      request property list-of-types was widened by adding types null to media type application/json