Identifiants
Créer un identifiant
BetaManagedAgentsCredential beta().vaults().credentials().create(params, requestOptions = RequestOptions.none())Lister les identifiants
CredentialListPage beta().vaults().credentials().list(params = CredentialListParams.none(), requestOptions = RequestOptions.none())Obtenir un identifiant
BetaManagedAgentsCredential beta().vaults().credentials().retrieve(params, requestOptions = RequestOptions.none())Mettre à jour un identifiant
BetaManagedAgentsCredential beta().vaults().credentials().update(params, requestOptions = RequestOptions.none())Supprimer un identifiant
BetaManagedAgentsDeletedCredential beta().vaults().credentials().delete(params, requestOptions = RequestOptions.none())Archiver un identifiant
BetaManagedAgentsCredential beta().vaults().credentials().archive(params, requestOptions = RequestOptions.none())Valider un identifiant
BetaManagedAgentsCredentialValidation beta().vaults().credentials().mcpOAuthValidate(params, requestOptions = RequestOptions.none())Models
class BetaManagedAgentsCredential { type; id; archivedAt; /* 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.
class BetaManagedAgentsCredentialNetworkingParams: union
class BetaManagedAgentsUnrestrictedCredentialNetworkingParams { 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.
class BetaManagedAgentsLimitedCredentialNetworkingParams { type; allowedHosts; }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.
class BetaManagedAgentsCredentialValidation { type; credentialId; hasRefreshToken; /* 5 more */ }Result of live-probing a credential against its configured MCP server.
Result of live-probing a credential against its configured MCP server.
enum BetaManagedAgentsCredentialValidationStatusOverall verdict of a credential validation probe.
Overall verdict of a credential validation probe.
The credential successfully authenticated against its MCP server.
The probe reached the MCP server and was rejected, and a refresh (if attempted) did not recover it.
The probe could not determine validity — for example, a transport error or a successful refresh that was not re-probed.
class BetaManagedAgentsDeletedCredential { type; id; }Confirmation of a deleted credential.
Confirmation of a deleted credential.
Unique identifier of the deleted credential.
class BetaManagedAgentsEnvironmentVariableAuthResponse { type; injectionLocation; networking; secretName; }Environment variable credential details. The secret value is never returned.
Environment variable credential details. The secret value is never returned.
class BetaManagedAgentsEnvironmentVariableCreateParams { type; networking; secretName; /* 2 more */ }Parameters for creating an environment variable credential.
Parameters for creating an environment variable credential.
class BetaManagedAgentsEnvironmentVariableUpdateParams { type; injectionLocation; networking; secretValue; }Parameters for updating an environment variable credential. secret_name is immutable.
Parameters for updating an environment variable credential. secret_name is immutable.
class BetaManagedAgentsInjectionLocationParams { 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.
class BetaManagedAgentsInjectionLocationResponse { 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.
class BetaManagedAgentsInjectionLocationUpdateParams { 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.
class BetaManagedAgentsLimitedCredentialNetworkingParams { type; allowedHosts; }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.
class BetaManagedAgentsLimitedCredentialNetworkingResponse { type; allowedHosts; }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.
class BetaManagedAgentsMcpOAuthAuthResponse { type; mcpServerUrl; expiresAt; refresh; }OAuth credential details for an MCP server.
OAuth credential details for an MCP server.
URL of the MCP server this credential authenticates against.
Optional<LocalDateTime> expiresAtA timestamp in RFC 3339 format
A timestamp in RFC 3339 format
Optional<BetaManagedAgentsMcpOAuthRefreshResponse> refreshRefresh token configuration, if the credential supports token refresh.
Refresh token configuration, if the credential supports token refresh.
class BetaManagedAgentsMcpOAuthCreateParams { type; accessToken; mcpServerUrl; /* 2 more */ }Parameters for creating an MCP OAuth credential.
Parameters for creating an MCP OAuth credential.
String accessTokenOAuth access token.
OAuth access token.
String mcpServerUrlURL of the MCP server this credential authenticates against.
URL of the MCP server this credential authenticates against.
Optional<LocalDateTime> expiresAtA timestamp in RFC 3339 format
A timestamp in RFC 3339 format
Optional<BetaManagedAgentsMcpOAuthRefreshParams> refreshRefresh token configuration, if the credential supports token refresh.
Refresh token configuration, if the credential supports token refresh.
class BetaManagedAgentsMcpOAuthRefreshParams { clientId; refreshToken; tokenEndpoint; /* 3 more */ }OAuth refresh token parameters for creating a credential with refresh support.
OAuth refresh token parameters for creating a credential with refresh support.
class BetaManagedAgentsMcpOAuthRefreshResponse { clientId; tokenEndpoint; tokenEndpointAuth; /* 2 more */ }OAuth refresh token configuration returned in credential responses.
OAuth refresh token configuration returned in credential responses.
class BetaManagedAgentsMcpOAuthRefreshUpdateParams { refreshToken; scope; tokenEndpointAuth; }Parameters for updating OAuth refresh token configuration.
Parameters for updating OAuth refresh token configuration.
Optional<String> refreshTokenUpdated OAuth refresh token.
Updated OAuth refresh token.
Optional<String> scopeUpdated OAuth scope for the refresh request.
Updated OAuth scope for the refresh request.
Optional<TokenEndpointAuth> tokenEndpointAuth
class BetaManagedAgentsTokenEndpointAuthBasicUpdateParam { type; clientSecret; }Updated HTTP Basic authentication parameters for the token endpoint.
Updated HTTP Basic authentication parameters for the token endpoint.
Optional<String> clientSecretUpdated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthPostUpdateParam { type; clientSecret; }Updated POST body authentication parameters for the token endpoint.
Updated POST body authentication parameters for the token endpoint.
Optional<String> clientSecretUpdated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsMcpOAuthUpdateParams { type; accessToken; expiresAt; 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.
class BetaManagedAgentsMcpProbe { httpResponse; method; }The failing step of an MCP validation probe.
The failing step of an MCP validation probe.
Optional<BetaManagedAgentsRefreshHttpResponse> httpResponseThe captured HTTP error response. Null when no HTTP response was received (timeout, DNS, TLS).
The captured HTTP error response. Null when no HTTP response was received (timeout, DNS, TLS).
Response body. May be truncated and has sensitive values scrubbed.
Whether body was truncated.
Value of the Content-Type response header.
long statusCodeHTTP status code.
HTTP status code.
The MCP method that failed (for example initialize or tools/list).
class BetaManagedAgentsRefreshHttpResponse { body; bodyTruncated; contentType; statusCode; }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.
long statusCodeHTTP status code.
HTTP status code.
class BetaManagedAgentsRefreshObject { httpResponse; status; }Outcome of a refresh-token exchange attempted during credential validation.
Outcome of a refresh-token exchange attempted during credential validation.
Optional<BetaManagedAgentsRefreshHttpResponse> httpResponseThe captured HTTP error response from the token endpoint. Populated only when status is failed.
The captured HTTP error response from the token endpoint. Populated only when status is failed.
Response body. May be truncated and has sensitive values scrubbed.
Whether body was truncated.
Value of the Content-Type response header.
long statusCodeHTTP status code.
HTTP status code.
Status statusOutcome of the refresh attempt.
Outcome of the refresh attempt.
The token endpoint returned a new access token.
The token endpoint returned an error response. See http_response for detail.
The token endpoint could not be reached (DNS, TLS, or connection error).
No refresh token is stored for the credential, so no exchange was attempted.
class BetaManagedAgentsStaticBearerAuthResponse { type; mcpServerUrl; }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.
class BetaManagedAgentsStaticBearerCreateParams { type; token; mcpServerUrl; }Parameters for creating a static bearer token credential.
Parameters for creating a static bearer token credential.
String tokenStatic bearer token value.
Static bearer token value.
String mcpServerUrlURL of the MCP server this credential authenticates against.
URL of the MCP server this credential authenticates against.
class BetaManagedAgentsStaticBearerUpdateParams { 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.
Optional<String> tokenUpdated static bearer token value.
Updated static bearer token value.
class BetaManagedAgentsTokenEndpointAuthBasicParam { type; clientSecret; }Token endpoint uses HTTP Basic authentication with client credentials.
Token endpoint uses HTTP Basic authentication with client credentials.
String clientSecretOAuth client secret.
OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthBasicResponse { type; }Token endpoint uses HTTP Basic authentication with client credentials.
Token endpoint uses HTTP Basic authentication with client credentials.
class BetaManagedAgentsTokenEndpointAuthBasicUpdateParam { type; clientSecret; }Updated HTTP Basic authentication parameters for the token endpoint.
Updated HTTP Basic authentication parameters for the token endpoint.
Optional<String> clientSecretUpdated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthNoneParam { type; }Token endpoint requires no client authentication.
Token endpoint requires no client authentication.
class BetaManagedAgentsTokenEndpointAuthNoneResponse { type; }Token endpoint requires no client authentication.
Token endpoint requires no client authentication.
class BetaManagedAgentsTokenEndpointAuthPostParam { type; clientSecret; }Token endpoint uses POST body authentication with client credentials.
Token endpoint uses POST body authentication with client credentials.
String clientSecretOAuth client secret.
OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthPostResponse { type; }Token endpoint uses POST body authentication with client credentials.
Token endpoint uses POST body authentication with client credentials.
class BetaManagedAgentsTokenEndpointAuthPostUpdateParam { type; clientSecret; }Updated POST body authentication parameters for the token endpoint.
Updated POST body authentication parameters for the token endpoint.
Optional<String> clientSecretUpdated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsUnrestrictedCredentialNetworkingParams { 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.
class BetaManagedAgentsUnrestrictedCredentialNetworkingResponse { 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.