Agents
Mint a router key (sk-shroud-v1)
Creates an sk-shroud-v1-<32> static Bearer for the Shroud gateway, mapped to this agent. A stock OpenAI or Anthropic SDK sends it as Authorization: Bearer … with base_url set to the gateway; the gateway exchanges it key-only for the agent's token. The plaintext key is returned once. Up to 20 live keys per agent. Human users only; the agent must have shroud_enabled: true.
post/v1/agents/{agent_id}/router-keys
Request
- Base URL: https://api.1claw.co
- URL: https://api.1claw.co/v1/agents/{agent_id}/router-keys
- Auth: HTTP bearer
Path parameters
agent_idstring uuid required
Request body
Response
Router key created (plaintext returned once)
Example response
{
"router_key": "sk-shroud-v1-Q2c5o0yQ3bHkT9m1vXz8Lw7nRp4aEf6u",
"base_url": "https://shroud.1claw.co"
}Changes
No recorded changes to this operation across all 1 revision of this API.