# Viewer (/api/reference/objects/viewer)

Who is making this request.

```graphql
type Viewer {
  alertCounts: AlertCounts!
  apiKeys(
    after: String
    before: String
    first: Int
    last: Int
  ): ApiKeyConnection!
  isWorkspaceAdmin: Boolean!
  recruiterFramework: RecruiterFramework
  user: User
  workspace: Workspace
}
```

### Fields [#fields]

#### [`Viewer.alertCounts`](#alert-counts) · [`AlertCounts!`](/api/reference/objects/alert-counts) `non-null` `object` [#alert-counts]
The counts behind the badges in the app's navigation.

#### [`Viewer.apiKeys`](#api-keys) · [`ApiKeyConnection!`](/api/reference/objects/api-key-connection) `non-null` `object` [#api-keys]
The caller's own API keys, oldest first. A teammate's keys are never listed. A key's secret is shown once, by `createApiKey`, and never here.
##### [`Viewer.apiKeys.after`](#viewer-api-keys-after) · [`String`](/api/reference/scalars/string) `scalar` [#viewer-api-keys-after]
Return the rows that follow this cursor.

##### [`Viewer.apiKeys.before`](#viewer-api-keys-before) · [`String`](/api/reference/scalars/string) `scalar` [#viewer-api-keys-before]
Return the rows that come before this cursor.

##### [`Viewer.apiKeys.first`](#viewer-api-keys-first) · [`Int`](/api/reference/scalars/int) `scalar` [#viewer-api-keys-first]
How many rows to return, from the start or from `after`. 50 when left out, 200 at most.

##### [`Viewer.apiKeys.last`](#viewer-api-keys-last) · [`Int`](/api/reference/scalars/int) `scalar` [#viewer-api-keys-last]
How many rows to return, counting back from the end or from `before`. 200 at most.

#### [`Viewer.isWorkspaceAdmin`](#is-workspace-admin) · [`Boolean!`](/api/reference/scalars/boolean) `non-null` `scalar` [#is-workspace-admin]
True when the caller may change the workspace's own settings, such as `setCallVisibility`. Show those settings as read-only when it is false.

#### [`Viewer.recruiterFramework`](#recruiter-framework) · [`RecruiterFramework`](/api/reference/objects/recruiter-framework) `object` [#recruiter-framework]
How the caller judges candidates, as captured from their onboarding interview or written on the Rules page. Null until they have one. It is each person's own: a teammate's is never returned here.

#### [`Viewer.user`](#user) · [`User`](/api/reference/objects/user) `object` [#user]
The person the request acts as: the signed-in member, or the member who owns the API key. Null when an Kith ATS staff key acts in a workspace without naming a member.

#### [`Viewer.workspace`](#workspace) · [`Workspace`](/api/reference/objects/workspace) `object` [#workspace]
The workspace the request acts in. Everything this API returns belongs to it. Null only for an Kith ATS staff key that names no workspace to act in.

### Returned By [#returned-by]

[`viewer`](/api/reference/queries/viewer)  `query`