Refresh Claude agents, environments, vaults, and models for an agent
Refreshes Claude resource metadata with the configured Anthropic API key. Use this after selecting or adding an API key when model choices are missing, then save config.managedAgent.modelId using one of the returned model ids.
POST
/agents/{id}/claude/resources/refreshAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredRequest body
requiredapplication/jsonanthropicApiKeystring | nullRaw Anthropic API key to validate.
providerApiKeyIdstring | nullSaved Anthropic provider API key id to validate.
Responses
201
401
Unauthorized - Invalid or missing authentication token
403
Forbidden - Insufficient API scopes or permissions