Get remote caching status
Check the status of Remote Caching for the authenticated user or team. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits.
Implementers should return enabled if the authenticated principal is allowed to use the cache, or disabled if not. The over_limit and paused statuses are optional and can be used to indicate usage limits or temporary suspension.
/artifacts/statusAuthorizationBearer token · headerrequiredBearer token authentication. Pass your authentication token in the Authorization header as Bearer <token>.
For self-hosted implementations, the token format and validation logic is up to the implementer. Common approaches include:
- Static tokens for simple setups
- JWT tokens for stateless authentication
- OAuth2 tokens for integration with identity providers
teamIdstringThe team identifier to perform the request on behalf of. Used for multi-tenant cache implementations where artifacts are scoped to teams.
slugstringThe team slug to perform the request on behalf of. Alternative to teamId for identifying the team.
Remote caching status retrieved successfully
statusCachingStatusrequiredThe status of remote caching for the authenticated principal.
enabled: Remote caching is enabled and availabledisabled: Remote caching is disabledover_limit: Remote caching is disabled due to usage limits (optional)paused: Remote caching is temporarily paused (optional)
disabledenabledover_limitpausedBad request. One or more of the provided values in the request query, headers, or body is invalid.
codestringrequiredA machine-readable error code
messagestringrequiredA human-readable error message
Unauthorized. The request is missing a valid authentication token or the token is invalid.
codestringrequiredA machine-readable error code
messagestringrequiredA human-readable error message
Forbidden. The authenticated user does not have permission to access this resource.
codestringrequiredA machine-readable error code
messagestringrequiredA human-readable error message