New: Kith open-sources its ATS.Read why
Skip to Content
Objects

Viewer

Who is making this request.

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

Fields

Viewer.alertCounts · AlertCounts! non-null object

The counts behind the badges in the app's navigation.

Viewer.apiKeys · ApiKeyConnection! non-null object

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 · String scalar

Return the rows that follow this cursor.

Viewer.apiKeys.before · String scalar

Return the rows that come before this cursor.

Viewer.apiKeys.first · Int scalar

How many rows to return, from the start or from after. 50 when left out, 200 at most.

Viewer.apiKeys.last · Int scalar

How many rows to return, counting back from the end or from before. 200 at most.

Viewer.isWorkspaceAdmin · Boolean! non-null scalar

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 · RecruiterFramework object

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 object

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 object

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

viewer query