Skip to content
Docs
GitHub

List credentials

Preview

List write-only MCP credential bindings for an agent. Responses contain metadata and configuration status, never credential values.

Public APIEverruns Cloud and self-hosted Platform

GET/v1/agents/{agent_id}/credentials

See authentication for credentials and permissions.

agent_id
required
string

Agent ID

Responses

200Credential binding metadata

Credential binding metadata

Media typeapplication/json

Response wrapper for list endpoints. All list endpoints return responses wrapped in a data field.

object
data
required

Array of items returned by the list operation.

Array<object>

Metadata for a write-only credential bound to one agent: either an MCP tool parameter or an HTTP API the agent’s shell calls.

object
agent_id
required

Agent that exclusively owns and may use this credential.

string
binding
One of:

URL prefix and auth form the value may be sent with (http).

object
auth
required
One of:

Authorization: Bearer <value>.

object
type
required
string
Allowed values: bearer
url
required

https://host[:port][/path-prefix] the value may be sent to.

string
configured
required

Whether an encrypted value has been provisioned.

boolean
created_at
required

RFC 3339 creation time.

string
description

Optional explanation of why the credential is needed.

string | null
env_name

Env var the agent’s shell uses as a placeholder (http).

string | null
id
required

Stable credential binding identifier.

string format: uuid
kind
required

How the credential is injected.

string
Allowed values: mcp_parameter http
label
required

Human-readable credential label.

string
mcp_server_name

Name of the attached MCP server (mcp_parameter).

string | null
mcp_server_url

Exact MCP endpoint authorized to receive the credential (mcp_parameter).

string | null
parameter_name

Top-level tool argument injected by the server (mcp_parameter).

string | null
setup_url
required

Relative UI route where the user can securely provision the value.

string
tool_name

MCP tool whose outbound call receives the credential (mcp_parameter).

string | null
updated_at
required

RFC 3339 last-update time.

string

Example

{
"data": [
{
"agent_id": "agent_01933b5a000070008000000000000001",
"binding": {
"auth": {
"type": "bearer"
}
},
"configured": true,
"created_at": "2026-08-08T16:00:00Z",
"description": "Delivers scheduled status notifications",
"env_name": "JEV_API_KEY",
"id": "01933b5a-0000-7000-8000-000000000001",
"kind": "mcp_parameter",
"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"
}
]
}