# Check API access

Checks that the API can authenticate the supplied credential and admit its workspace. Returns the API version, the caller's workspace identifier and the credential's scopes, without returning workspace records. No data scope is required. Invalid or revoked credentials return unauthorized.

**GET** /v1/ping



## Parameters
No parameters.

## Request body
No request body.

## Responses
- **200** Check API access — ok (required): boolean; apiVersion (required): string; tenantId (required): string; scopes (required): array
- **400** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — ValidationFailedError:; allOf: ErrorEnvelope
- **401** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — UnauthorizedError:; allOf: ErrorEnvelope
- **403** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — ForbiddenError:; allOf: ErrorEnvelope
- **429** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — RateLimitedError:; allOf: ErrorEnvelope
- **503** Error envelope. `error.code` carries the typed outcome and `error.type` resolves to its description. — UnavailableError:; allOf: ErrorEnvelope

## Example
```bash
curl --request GET \
  --url 'https://api.scopable.io/v1/ping' \
  --header 'Authorization: Bearer $SCOPABLE_API_KEY'
```

OpenAPI source: https://api.scopable.io/v1/openapi.json