Administration

Save or rotate the sponsored-demo OpenRouter key

Validates the write-only key through OpenRouter's free key endpoint before encrypting it. The credential is available only to active sponsored demo workspaces.

put/admin/ai-providers/sponsored-demo/openrouter

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/admin/ai-providers/sponsored-demo/openrouter
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Request body

apiKeystring required

OpenRouter API key beginning with sk-or-

Response

Validated masked credential status

Changes

No recorded changes to this operation across all 5 revisions of this API.