set_credential_value
const url = 'https://app.everruns.com/api/v1/agents/example/credentials/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"value":"vsk_disposable_example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://app.everruns.com/api/v1/agents/example/credentials/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --data '{ "value": "vsk_disposable_example" }'Encrypt and replace the write-only value for an agent credential binding.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Agent ID
Credential binding ID
Request Bodyrequired
Section titled “Request Bodyrequired”Request to replace a credential binding’s encrypted value.
object
Write-only credential value. It is encrypted and never returned.
Example
vsk_disposable_exampleResponses
Section titled “Responses”Credential value replaced
Metadata for a write-only credential bound to one agent and MCP tool parameter.
object
Agent that exclusively owns and may use this credential.
Whether an encrypted value has been provisioned.
RFC 3339 creation time.
Optional explanation of why the credential is needed.
Stable credential binding identifier.
Human-readable credential label.
Name of the attached MCP server.
Exact MCP endpoint authorized to receive the credential.
Top-level tool argument injected by the server.
Relative UI route where the user can securely provision the value.
MCP tool whose outbound call receives the credential.
RFC 3339 last-update time.
Example
{ "agent_id": "agent_01933b5a000070008000000000000001", "configured": true, "created_at": "2026-08-08T16:00:00Z", "description": "Delivers scheduled status notifications", "id": "01933b5a-0000-7000-8000-000000000001", "label": "Visti channel key", "mcp_server_name": "visti", "mcp_server_url": "https://visti.sh/mcp", "parameter_name": "channel_key", "setup_url": "/agents/agent_01933b5a000070008000000000000001?tab=credentials", "tool_name": "visti_send", "updated_at": "2026-08-08T16:05:00Z"}