Skip to main content
GET
/
api
/
ai
/
openrouter
/
api-key
Get active OpenRouter API key
curl --request GET \
  --url https://api.example.com/api/ai/openrouter/api-key \
  --header 'Authorization: Bearer <token>'
{
  "apiKey": "<string>",
  "maskedKey": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.insforge.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Active OpenRouter API key details

apiKey
string

Active OpenRouter API key for admin copy workflows

maskedKey
string

Masked OpenRouter API key for display