Anmeldedaten
Credential erstellen
beta.vaults.credentials.create(vault_id, **kwargs) -> BetaManagedAgentsCredentialCredentials auflisten
beta.vaults.credentials.list(vault_id, **kwargs) -> SyncPageCursor[BetaManagedAgentsCredential]Credential abrufen
beta.vaults.credentials.retrieve(credential_id, **kwargs) -> BetaManagedAgentsCredentialCredential aktualisieren
beta.vaults.credentials.update(credential_id, **kwargs) -> BetaManagedAgentsCredentialCredential löschen
beta.vaults.credentials.delete(credential_id, **kwargs) -> BetaManagedAgentsDeletedCredentialCredential archivieren
beta.vaults.credentials.archive(credential_id, **kwargs) -> BetaManagedAgentsCredentialCredential validieren
beta.vaults.credentials.mcp_oauth_validate(credential_id, **kwargs) -> BetaManagedAgentsCredentialValidationModels
class BetaManagedAgentsCredential: type: "vault_credential"; id; archived_at; ... # 6 moreA 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.
type BetaManagedAgentsCredentialNetworkingParams = ...
class BetaManagedAgentsUnrestrictedCredentialNetworkingParams: type: "unrestricted"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: "limited"; allowed_hostsSubstitute 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: "vault_credential_validation"; credential_id; has_refresh_token; ... # 5 moreResult of live-probing a credential against its configured MCP server.
Result of live-probing a credential against its configured MCP server.
type BetaManagedAgentsCredentialValidationStatus = Literal["valid", "invalid", "unknown"]Overall 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: "vault_credential_deleted"; idConfirmation of a deleted credential.
Confirmation of a deleted credential.
Unique identifier of the deleted credential.
class BetaManagedAgentsEnvironmentVariableAuthResponse: type: "environment_variable"; injection_location; networking; secret_nameEnvironment variable credential details. The secret value is never returned.
Environment variable credential details. The secret value is never returned.
class BetaManagedAgentsEnvironmentVariableCreateParams: type: "environment_variable"; networking; secret_name; ... # 2 moreParameters for creating an environment variable credential.
Parameters for creating an environment variable credential.
class BetaManagedAgentsEnvironmentVariableUpdateParams: type: "environment_variable"; injection_location; networking; secret_valueParameters for updating an environment variable credential. secret_name is immutable.
Parameters for updating an environment variable credential. secret_name is immutable.
class BetaManagedAgentsInjectionLocationParams: body; headerWhere 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; headerWhere 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; headerUpdated 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: "limited"; allowed_hostsSubstitute 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: "limited"; allowed_hostsThe 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: "mcp_oauth"; mcp_server_url; expires_at; refreshOAuth 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[datetime]A timestamp in RFC 3339 format
A timestamp in RFC 3339 format
refresh: Optional[BetaManagedAgentsMCPOAuthRefreshResponse]Refresh token configuration, if the credential supports token refresh.
Refresh token configuration, if the credential supports token refresh.
class BetaManagedAgentsMCPOAuthCreateParams: type: "mcp_oauth"; access_token; mcp_server_url; ... # 2 moreParameters for creating an MCP OAuth credential.
Parameters for creating an MCP OAuth credential.
access_token: strOAuth access token.
OAuth access token.
mcp_server_url: strURL of the MCP server this credential authenticates against.
URL of the MCP server this credential authenticates against.
expires_at: Optional[datetime]A timestamp in RFC 3339 format
A timestamp in RFC 3339 format
refresh: Optional[BetaManagedAgentsMCPOAuthRefreshParams]Refresh token configuration, if the credential supports token refresh.
Refresh token configuration, if the credential supports token refresh.
class BetaManagedAgentsMCPOAuthRefreshParams: client_id; refresh_token; token_endpoint; ... # 3 moreOAuth refresh token parameters for creating a credential with refresh support.
OAuth refresh token parameters for creating a credential with refresh support.
class BetaManagedAgentsMCPOAuthRefreshResponse: client_id; token_endpoint; token_endpoint_auth; ... # 2 moreOAuth refresh token configuration returned in credential responses.
OAuth refresh token configuration returned in credential responses.
class BetaManagedAgentsMCPOAuthRefreshUpdateParams: refresh_token; scope; token_endpoint_authParameters for updating OAuth refresh token configuration.
Parameters for updating OAuth refresh token configuration.
class BetaManagedAgentsMCPOAuthUpdateParams: type: "mcp_oauth"; access_token; expires_at; refreshParameters 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[str]Updated OAuth access token.
Updated OAuth access token.
expires_at: Optional[datetime]A timestamp in RFC 3339 format
A timestamp in RFC 3339 format
refresh: Optional[BetaManagedAgentsMCPOAuthRefreshUpdateParams]Updated refresh token configuration.
Updated refresh token configuration.
class BetaManagedAgentsMCPProbe: http_response; methodThe failing step of an MCP validation probe.
The failing step of an MCP validation probe.
http_response: Optional[BetaManagedAgentsRefreshHTTPResponse]The 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.
status_code: intHTTP status code.
HTTP status code.
The MCP method that failed (for example initialize or tools/list).
class BetaManagedAgentsRefreshHTTPResponse: body; body_truncated; content_type; status_codeAn 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: intHTTP status code.
HTTP status code.
class BetaManagedAgentsRefreshObject: http_response; statusOutcome of a refresh-token exchange attempted during credential validation.
Outcome of a refresh-token exchange attempted during credential validation.
http_response: Optional[BetaManagedAgentsRefreshHTTPResponse]The 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.
status_code: intHTTP status code.
HTTP status code.
status: Literal["succeeded", "failed", "connect_error", "no_refresh_token"]Outcome 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: "static_bearer"; mcp_server_urlStatic 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: "static_bearer"; token; mcp_server_urlParameters for creating a static bearer token credential.
Parameters for creating a static bearer token credential.
token: strStatic bearer token value.
Static bearer token value.
mcp_server_url: strURL of the MCP server this credential authenticates against.
URL of the MCP server this credential authenticates against.
class BetaManagedAgentsStaticBearerUpdateParams: type: "static_bearer"; tokenParameters 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[str]Updated static bearer token value.
Updated static bearer token value.
class BetaManagedAgentsTokenEndpointAuthBasicParam: type: "client_secret_basic"; client_secretToken endpoint uses HTTP Basic authentication with client credentials.
Token endpoint uses HTTP Basic authentication with client credentials.
client_secret: strOAuth client secret.
OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthBasicResponse: type: "client_secret_basic"Token endpoint uses HTTP Basic authentication with client credentials.
Token endpoint uses HTTP Basic authentication with client credentials.
class BetaManagedAgentsTokenEndpointAuthBasicUpdateParam: type: "client_secret_basic"; client_secretUpdated HTTP Basic authentication parameters for the token endpoint.
Updated HTTP Basic authentication parameters for the token endpoint.
client_secret: Optional[str]Updated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthNoneParam: type: "none"Token endpoint requires no client authentication.
Token endpoint requires no client authentication.
class BetaManagedAgentsTokenEndpointAuthNoneResponse: type: "none"Token endpoint requires no client authentication.
Token endpoint requires no client authentication.
class BetaManagedAgentsTokenEndpointAuthPostParam: type: "client_secret_post"; client_secretToken endpoint uses POST body authentication with client credentials.
Token endpoint uses POST body authentication with client credentials.
client_secret: strOAuth client secret.
OAuth client secret.
class BetaManagedAgentsTokenEndpointAuthPostResponse: type: "client_secret_post"Token endpoint uses POST body authentication with client credentials.
Token endpoint uses POST body authentication with client credentials.
class BetaManagedAgentsTokenEndpointAuthPostUpdateParam: type: "client_secret_post"; client_secretUpdated POST body authentication parameters for the token endpoint.
Updated POST body authentication parameters for the token endpoint.
client_secret: Optional[str]Updated OAuth client secret.
Updated OAuth client secret.
class BetaManagedAgentsUnrestrictedCredentialNetworkingParams: type: "unrestricted"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: "unrestricted"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.