Secrets
Set Secrets
Set one or more secrets/config values.
If redeploy=True (default) and environment has active deployment,
triggers redeploy with same image but new secrets_snapshot.
put/agents/{namespace_slug}/{agent_name}/environments/{env_name}/secrets
Request
- Base URLhttps://docs.terminaluse.com (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namespace_slugstring required
agent_namestring required
env_namestring required
Request body
Example request
{
"secrets": {
"LOG_LEVEL": {
"is_secret": false,
"value": "debug"
},
"OPENAI_API_KEY": {
"is_secret": true,
"value": "sk-xxx"
}
}
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.