# Read a key's partner-API state

Whether this workspace API key holds the `partner` scope, how many records it has brought, when they last changed, and the changes-feed cursor a poller that had read everything would hold. What Settings → Developer draws beside the key.

Access class: `workspace:admin`.

## Endpoint

`GET /v1/workspace/api-keys/{keyId}/partner`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| keyId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "cursor": "string",
    "enabled": true,
    "keyId": "",
    "lastChangeAt": "string",
    "records": 1.5
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
