認証情報
認証情報を作成
認証情報の一覧を取得
認証情報を取得
認証情報を更新
認証情報を削除
認証情報をアーカイブ
認証情報を検証
Models
BetaManagedAgentsCredential object{ id, archived_at, auth, 6 more }A credential stored in a vault. Sensitive fields are never returned in responses.
A credential stored in a vault. Sensitive fields are never returned in responses.
BetaManagedAgentsCredentialNetworkingParams = BetaManagedAgentsUnrestrictedCredentialNetworkingParams { type } or BetaManagedAgentsLimitedCredentialNetworkingParams { allowed_hosts, type }Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
BetaManagedAgentsUnrestrictedCredentialNetworkingParams object{ type }Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
BetaManagedAgentsLimitedCredentialNetworkingParams object{ allowed_hosts, type }Substitute the secret only on requests to the listed hosts.
Substitute the secret only on requests to the listed hosts.
Hostnames on which the secret will be substituted. Each entry is a bare hostname (api.example.com), an IPv4 address (192.0.2.1), or a *.-prefixed wildcard (*.example.com). URLs, ports, paths, and IPv6 addresses are not accepted. At most 16 entries.
BetaManagedAgentsCredentialValidation object{ credential_id, has_refresh_token, mcp_probe, 5 more }Result of live-probing a credential against its configured MCP server.
Result of live-probing a credential against its configured MCP server.
BetaManagedAgentsCredentialValidationStatus = "valid" or "invalid" or "unknown"Overall verdict of a credential validation probe.
Overall verdict of a credential validation probe.
BetaManagedAgentsDeletedCredential object{ id, type }Confirmation of a deleted credential.
Confirmation of a deleted credential.
Unique identifier of the deleted credential.
BetaManagedAgentsEnvironmentVariableAuthResponse object{ injection_location, networking, secret_name, type }Environment variable credential details. The secret value is never returned.
Environment variable credential details. The secret value is never returned.
BetaManagedAgentsEnvironmentVariableCreateParams object{ networking, secret_name, secret_value, 2 more }Parameters for creating an environment variable credential.
Parameters for creating an environment variable credential.
BetaManagedAgentsEnvironmentVariableUpdateParams object{ type, injection_location, networking, secret_value }Parameters for updating an environment variable credential. secret_name is immutable.
Parameters for updating an environment variable credential. secret_name is immutable.
BetaManagedAgentsInjectionLocationParams object{ body, header }Where in the outbound request the secret value may be substituted.
Where in the outbound request the secret value may be substituted.
Substitute when the placeholder appears in the request body.
Substitute when the placeholder appears in a request header value.
BetaManagedAgentsInjectionLocationResponse object{ body, header }Where in the outbound request the secret value is substituted.
Where in the outbound request the secret value is substituted.
Whether the placeholder is substituted in the request body.
Whether the placeholder is substituted in request header values.
BetaManagedAgentsInjectionLocationUpdateParams object{ body, header }Updated injection location.
Updated injection location.
Substitute when the placeholder appears in the request body.
Substitute when the placeholder appears in a request header value.
BetaManagedAgentsLimitedCredentialNetworkingParams object{ allowed_hosts, type }Substitute the secret only on requests to the listed hosts.
Substitute the secret only on requests to the listed hosts.
Hostnames on which the secret will be substituted. Each entry is a bare hostname (api.example.com), an IPv4 address (192.0.2.1), or a *.-prefixed wildcard (*.example.com). URLs, ports, paths, and IPv6 addresses are not accepted. At most 16 entries.
BetaManagedAgentsLimitedCredentialNetworkingResponse object{ allowed_hosts, type }The secret is substituted only on requests to the listed hosts.
The secret is substituted only on requests to the listed hosts.
Hostnames on which the secret will be substituted. An entry matches the request host exactly; a *.-prefixed entry matches any subdomain of the named domain but not the domain itself.
BetaManagedAgentsMCPOAuthAuthResponse object{ mcp_server_url, type, expires_at, refresh }OAuth credential details for an MCP server.
OAuth credential details for an MCP server.
URL of the MCP server this credential authenticates against.
expires_at: optional string or nullA timestamp in RFC 3339 format
A timestamp in RFC 3339 format
refresh: optional BetaManagedAgentsMCPOAuthRefreshResponse { client_id, token_endpoint, token_endpoint_auth, 2 more } or nullOAuth refresh token configuration returned in credential responses.
OAuth refresh token configuration returned in credential responses.
BetaManagedAgentsMCPOAuthCreateParams object{ access_token, mcp_server_url, type, 2 more }Parameters for creating an MCP OAuth credential.
Parameters for creating an MCP OAuth credential.
access_token: stringOAuth access token.
OAuth access token.
mcp_server_url: stringURL of the MCP server this credential authenticates against.
URL of the MCP server this credential authenticates against.
expires_at: optional string or nullA timestamp in RFC 3339 format
A timestamp in RFC 3339 format
refresh: optional BetaManagedAgentsMCPOAuthRefreshParams { client_id, refresh_token, token_endpoint, 3 more } or nullOAuth refresh token parameters for creating a credential with refresh support.
OAuth refresh token parameters for creating a credential with refresh support.
BetaManagedAgentsMCPOAuthRefreshParams object{ client_id, refresh_token, token_endpoint, 3 more }OAuth refresh token parameters for creating a credential with refresh support.
OAuth refresh token parameters for creating a credential with refresh support.
BetaManagedAgentsMCPOAuthRefreshResponse object{ client_id, token_endpoint, token_endpoint_auth, 2 more }OAuth refresh token configuration returned in credential responses.
OAuth refresh token configuration returned in credential responses.
BetaManagedAgentsMCPOAuthRefreshUpdateParams object{ refresh_token, scope, token_endpoint_auth }Parameters for updating OAuth refresh token configuration.
Parameters for updating OAuth refresh token configuration.
BetaManagedAgentsMCPOAuthUpdateParams object{ type, access_token, expires_at, refresh }Parameters for updating an MCP OAuth credential. The mcp_server_url is immutable.
Parameters for updating an MCP OAuth credential. The mcp_server_url is immutable.
access_token: optional string or nullUpdated OAuth access token.
Updated OAuth access token.
expires_at: optional string or nullA timestamp in RFC 3339 format
A timestamp in RFC 3339 format
refresh: optional BetaManagedAgentsMCPOAuthRefreshUpdateParams { refresh_token, scope, token_endpoint_auth } or nullParameters for updating OAuth refresh token configuration.
Parameters for updating OAuth refresh token configuration.
BetaManagedAgentsMCPProbe object{ http_response, method }The failing step of an MCP validation probe.
The failing step of an MCP validation probe.
http_response: BetaManagedAgentsRefreshHTTPResponse { body, body_truncated, content_type, status_code } or nullAn HTTP response captured during a credential validation probe.
An HTTP response captured during a credential validation probe.
Response body. May be truncated and has sensitive values scrubbed.
Whether body was truncated.
Value of the Content-Type response header.
status_code: numberHTTP status code.
HTTP status code.
The MCP method that failed (for example initialize or tools/list).
BetaManagedAgentsRefreshHTTPResponse object{ body, body_truncated, content_type, status_code }An HTTP response captured during a credential validation probe.
An HTTP response captured during a credential validation probe.
Response body. May be truncated and has sensitive values scrubbed.
Whether body was truncated.
Value of the Content-Type response header.
status_code: numberHTTP status code.
HTTP status code.
BetaManagedAgentsRefreshObject object{ http_response, status }Outcome of a refresh-token exchange attempted during credential validation.
Outcome of a refresh-token exchange attempted during credential validation.
http_response: BetaManagedAgentsRefreshHTTPResponse { body, body_truncated, content_type, status_code } or nullAn HTTP response captured during a credential validation probe.
An HTTP response captured during a credential validation probe.
Response body. May be truncated and has sensitive values scrubbed.
Whether body was truncated.
Value of the Content-Type response header.
status_code: numberHTTP status code.
HTTP status code.
status: "succeeded" or "failed" or "connect_error" or "no_refresh_token"Outcome of a refresh-token exchange attempted during credential validation.
Outcome of a refresh-token exchange attempted during credential validation.
BetaManagedAgentsStaticBearerAuthResponse object{ mcp_server_url, type }Static bearer token credential details for an MCP server.
Static bearer token credential details for an MCP server.
URL of the MCP server this credential authenticates against.
BetaManagedAgentsStaticBearerCreateParams object{ token, mcp_server_url, type }Parameters for creating a static bearer token credential.
Parameters for creating a static bearer token credential.
token: stringStatic bearer token value.
Static bearer token value.
mcp_server_url: stringURL of the MCP server this credential authenticates against.
URL of the MCP server this credential authenticates against.
BetaManagedAgentsStaticBearerUpdateParams object{ type, token }Parameters for updating a static bearer token credential. The mcp_server_url is immutable.
Parameters for updating a static bearer token credential. The mcp_server_url is immutable.
token: optional string or nullUpdated static bearer token value.
Updated static bearer token value.
BetaManagedAgentsTokenEndpointAuthBasicParam object{ client_secret, type }Token endpoint uses HTTP Basic authentication with client credentials.
Token endpoint uses HTTP Basic authentication with client credentials.
client_secret: stringOAuth client secret.
OAuth client secret.
BetaManagedAgentsTokenEndpointAuthBasicResponse object{ type }Token endpoint uses HTTP Basic authentication with client credentials.
Token endpoint uses HTTP Basic authentication with client credentials.
BetaManagedAgentsTokenEndpointAuthBasicUpdateParam object{ type, client_secret }Updated HTTP Basic authentication parameters for the token endpoint.
Updated HTTP Basic authentication parameters for the token endpoint.
client_secret: optional string or nullUpdated OAuth client secret.
Updated OAuth client secret.
BetaManagedAgentsTokenEndpointAuthNoneParam object{ type }Token endpoint requires no client authentication.
Token endpoint requires no client authentication.
BetaManagedAgentsTokenEndpointAuthNoneResponse object{ type }Token endpoint requires no client authentication.
Token endpoint requires no client authentication.
BetaManagedAgentsTokenEndpointAuthPostParam object{ client_secret, type }Token endpoint uses POST body authentication with client credentials.
Token endpoint uses POST body authentication with client credentials.
client_secret: stringOAuth client secret.
OAuth client secret.
BetaManagedAgentsTokenEndpointAuthPostResponse object{ type }Token endpoint uses POST body authentication with client credentials.
Token endpoint uses POST body authentication with client credentials.
BetaManagedAgentsTokenEndpointAuthPostUpdateParam object{ type, client_secret }Updated POST body authentication parameters for the token endpoint.
Updated POST body authentication parameters for the token endpoint.
client_secret: optional string or nullUpdated OAuth client secret.
Updated OAuth client secret.
BetaManagedAgentsUnrestrictedCredentialNetworkingParams object{ type }Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
Substitute the secret on any host the session's Environment network policy permits egress to. The Environment's network policy is the only boundary on where the secret can reach.
BetaManagedAgentsUnrestrictedCredentialNetworkingResponse object{ type }The secret is substituted on any host the session's Environment network policy permits egress to.
The secret is substituted on any host the session's Environment network policy permits egress to.