AIProviderKeyService
AI Provider Keys

Get an AI provider key by ID

Retrieves an AI provider key by ID from the workspace

get/v1/workspaces/{workspaceId}/ai_provider_keys/{id}

Path parameters

workspaceIdstring required
Example:workspace_01HXKD2E5NQM3T9AYWCF133E3Q

The workspace the key belongs to.

idstring required
Example:aipk_01HXKD2E5NQM3T9AYWCFQ41VW3

The key to retrieve.

Response

OK

Example response

{
  "metadata": {
    "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
    "workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
    "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
  }
}

Changes

Changed in 6 of the 57 revisions of this API.4159

  • 3ecc1debabfa452See the full diff
    • added to the ///// response property oneOf list for the response status

      response-property-one-of-added

    • added to the ///// response property oneOf list for the response status

      response-property-one-of-added

    • the ///// response's property type changed from object to no type for status

      response-property-type-changed

    • the ///// response's property type changed from object to no type for status

      response-property-type-changed

    • removed the optional property ////// from the response with the status

      response-optional-property-removed

    • removed the optional property ////// from the response with the status

      response-optional-property-removed

    • removed the optional property ////// from the response with the status

      response-optional-property-removed

    • removed the optional property ////// from the response with the status

      response-optional-property-removed

    • removed the optional property ////// from the response with the status

      response-optional-property-removed

    • added discriminator to ///// response property for the response status

      response-property-discriminator-added

    • added discriminator to ///// response property for the response status

      response-property-discriminator-added

    • removed the optional property / from the response with the status

      response-optional-property-removed

    • removed the optional property / from the response with the status

      response-optional-property-removed

    • removed the optional property / from the response with the status

      response-optional-property-removed

    • added the new AI_PROVIDER_ANTHROPIC enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new AI_PROVIDER_GEMINI enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new AI_PROVIDER_OPENAI enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new AI_PROVIDER_OPENAI_COMPATIBLE enum value to the / response property for the response status

      response-property-enum-value-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property ///// to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the optional property / from the response with the status

      response-optional-property-removed

    • added the new AI_PROVIDER_OPENROUTER enum value to the / response property for the response status

      response-property-enum-value-added

    • added the new AI_PROVIDER_UNSPECIFIED enum value to the / response property for the response status

      response-property-enum-value-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property / to the response with the status

      response-optional-property-added

    • endpoint added

      endpoint-added