# getTeamShareCoverage

Source: /openapi/thomas-federated.openapi.json

## Operation

| Method | URL |
|---|---|
| GET | https://staging-api.thomas.co/v1/share-grants/team-coverage |

| Field | Value |
|---|---|
| operationId | getTeamShareCoverage |
| method | GET |
| server | https://staging-api.thomas.co/v1 |
| path | /share-grants/team-coverage |
| tags | `Sharing` |
| summary | Whether the caller still has team members to share a data type with |
| badges | None |

## Request Parameters

| Name | In | Required | Schema | Description |
|---|---|---|---|---|
| teamId | query | true | string:uuid |  |
| dataType | query | true | string |  |

## Request Body

None.

## Responses

| Status | Description | Schema refs |
|---|---|---|
| 200 | Per-viewer team share coverage for the data type | #/components/schemas/TeamShareCoverageDto |
| 400 | Invalid or missing teamId/dataType | #/components/schemas/ApiErrorResponseDto |
| 401 | Invalid or missing authentication token (AUTH_TOKEN_INVALID) | #/components/schemas/ApiErrorResponseDto |

## Artifact Examples

### Response 400 example

```json
{
  "statusCode": 400,
  "message": "Validation failed",
  "error": "HTTP_BAD_REQUEST"
}
```

### Response 401 example

```json
{
  "statusCode": 401,
  "message": "Invalid or missing authentication token",
  "error": "AUTH_TOKEN_INVALID"
}
```
