> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# availableScopes

> Returns all available valid resource-action combinations for API key scopes



**query** `availableScopes: [ApiKeyScope!]!`

## Returns

`[ApiKeyScope!]!`

**`action`**: `ApiKeyScopeAction!`

The action allowed on the resource

---

**`resource`**: `ApiKeyScopeResource!`

The resource type for the scope

## Examples

```graphql Query
query AvailableScopes {
  availableScopes {
    action
    resource
  }
}
```

```json Response
{
  "data": {
    "availableScopes": [
      {
        "action": "READ",
        "resource": "API_KEY"
      }
    ]
  }
}
```


## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [Viewing the list of available features](https://docs.stigg.io/documentation/modeling-your-pricing-in-stigg/features/viewing-available-features.md)
- [apiKeyScope](https://docs.stigg.io/graphql-reference/queries/apiKeyScope.md)
- [ApiKeyScope](https://docs.stigg.io/graphql-reference/types/ApiKeyScope.md)
- [ApiKeyScopeAction](https://docs.stigg.io/graphql-reference/types/ApiKeyScopeAction.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.