curl -X GET https://alfred.black/api/v1/admin/credentials \
-H "Authorization: Bearer alf_your_key_here"
{
"credentials": [
{
"key": "OPENROUTER_API_KEY",
"label": "OpenRouter",
"description": "Routes to 200+ models. Primary provider for all OpenClaw agents",
"set": true,
"masked": "sk-or-v1...a3b4",
"used_by": [
"OpenClaw agents (all)",
"Surveyor (labeler)",
"Surveyor (embedder, if configured)"
]
},
{
"key": "ANTHROPIC_API_KEY",
"label": "Anthropic",
"description": "Direct Claude access. Required when using anthropic/ models directly",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
},
{
"key": "OPENAI_API_KEY",
"label": "OpenAI",
"description": "GPT-4, GPT-4o, and other OpenAI models",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
},
{
"key": "XAI_API_KEY",
"label": "xAI",
"description": "Grok models from xAI",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
},
{
"key": "GOOGLE_API_KEY",
"label": "Google",
"description": "Gemini and other Google AI models",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
}
]
}
List all known API credentials and their configuration status.
curl -X GET https://alfred.black/api/v1/admin/credentials \
-H "Authorization: Bearer alf_your_key_here"
{
"credentials": [
{
"key": "OPENROUTER_API_KEY",
"label": "OpenRouter",
"description": "Routes to 200+ models. Primary provider for all OpenClaw agents",
"set": true,
"masked": "sk-or-v1...a3b4",
"used_by": [
"OpenClaw agents (all)",
"Surveyor (labeler)",
"Surveyor (embedder, if configured)"
]
},
{
"key": "ANTHROPIC_API_KEY",
"label": "Anthropic",
"description": "Direct Claude access. Required when using anthropic/ models directly",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
},
{
"key": "OPENAI_API_KEY",
"label": "OpenAI",
"description": "GPT-4, GPT-4o, and other OpenAI models",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
},
{
"key": "XAI_API_KEY",
"label": "xAI",
"description": "Grok models from xAI",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
},
{
"key": "GOOGLE_API_KEY",
"label": "Google",
"description": "Gemini and other Google AI models",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
}
]
}
Show Credential object properties
OPENROUTER_API_KEY, ANTHROPIC_API_KEY).null if not set.| Key | Label | Used by |
|---|---|---|
OPENROUTER_API_KEY | OpenRouter | All OpenClaw agents, Surveyor labeler, Surveyor embedder (if configured) |
ANTHROPIC_API_KEY | Anthropic | OpenClaw agents (when using anthropic/ models directly) |
OPENAI_API_KEY | OpenAI | OpenClaw agents (when using openai/ models) |
XAI_API_KEY | xAI | OpenClaw agents (when using xAI/Grok models) |
GOOGLE_API_KEY | OpenClaw agents (when using Google/Gemini models) |
AAS_API_KEY (tenant internal API key) is protected and cannot be viewed or modified through this endpoint.curl -X GET https://alfred.black/api/v1/admin/credentials \
-H "Authorization: Bearer alf_your_key_here"
{
"credentials": [
{
"key": "OPENROUTER_API_KEY",
"label": "OpenRouter",
"description": "Routes to 200+ models. Primary provider for all OpenClaw agents",
"set": true,
"masked": "sk-or-v1...a3b4",
"used_by": [
"OpenClaw agents (all)",
"Surveyor (labeler)",
"Surveyor (embedder, if configured)"
]
},
{
"key": "ANTHROPIC_API_KEY",
"label": "Anthropic",
"description": "Direct Claude access. Required when using anthropic/ models directly",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
},
{
"key": "OPENAI_API_KEY",
"label": "OpenAI",
"description": "GPT-4, GPT-4o, and other OpenAI models",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
},
{
"key": "XAI_API_KEY",
"label": "xAI",
"description": "Grok models from xAI",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
},
{
"key": "GOOGLE_API_KEY",
"label": "Google",
"description": "Gemini and other Google AI models",
"set": false,
"masked": null,
"used_by": [
"OpenClaw agents (if model requires it)"
]
}
]
}
Was this page helpful?