Dojo

Set the dojo provider API key for a provider (admin-only).

Upserts ONE dojo provider key for a provider (anthropic/openai/google) on the dojo-system account. Under the BYOK identity model the agent's gateway identity is SHA256(providerKey | name), so the demo hands the born agent a real provider key and the runner spars AS that same agent with the SAME key. The cleartext is AES-256-GCM-encrypted at rest and resolved server-side ONLY (resolveDojoProviderKey); it is NEVER returned. Admin-only — backs /admin/dojo. MNE-517 (BYOK pivot).

put/dojo/provider-keys

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/dojo/provider-keys
  • Auth: HTTP bearer

Request body

provider'anthropic' | 'openai' | 'google' required
keystring required

The provider API key (cleartext) — encrypted at rest, never echoed.

key_refstring

Optional human label.

Response

Provider key stored. Returns non-secret metadata only.

provider'anthropic' | 'openai' | 'google' required
key_prefixstring required

Non-secret leading characters, for display.

key_refstring nullable
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.