Secrets

Save the Pi credential

Changed on

Store the ~/.pi/agent/auth.json contents to inject into every sandbox, replacing any credential already configured. Supply either a pasted blob (authJson) or one of the org's Claude/Codex API keys to convert into one (source); a converted credential is a snapshot, not a link, so rotating the key means converting again.

post/api/v0beta1/secrets/pi

Request

  • Base URL
    https://app.amika.dev (the document declares no server; this is the origin it was published from)
  • URL
    https://app.amika.dev/api/v0beta1/secrets/pi
  • Auth
    • HTTP bearer
    • or API key in cookie wos-session

Request body

authJsonstring

Response

Saved.

configuredboolean required
secretIdstring nullable

Changes