master-ai

Update Ai Config

Update AI provider API keys and routing preferences at runtime.

Keys are set in os.environ (immediate effect for all workers) and persisted to system_state so they survive container restarts when loaded by the startup hook.

put/api/v1/master/ai/config

Request

  • Base URL: https://teraads.co (the document declares no server; this is the origin it was published from)
  • URL: https://teraads.co/api/v1/master/ai/config
  • Auth: none declared

Request body

anthropic_keystring nullable
openrouter_keystring nullable
runpod_keystring nullable
runpod_endpoint_idstring nullable
runpod_template_idstring nullable
default_tierstring nullable
opus_enabledboolean nullable

Response

Successful Response

unknown required

Changes

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