API v1
Agents
Agents Workspace
Workspace: Set Secrets
Set workspace secrets (env vars) for the agent from a headless/CI caller using an org API key. Values are vaulted server-side and never echoed back; only names are reported. Body: {"secrets": {ENV_NAME: value}}.
post/v1/agents/{agent_id}/workspace/secrets
Request
- Base URLhttps://api.xpander.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
Path parameters
agent_idstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 5 revisions of this API.