Skip to main content

ServiceAccountViewer

The authenticated service account (API client).

Returned by the viewer query when the request is authenticated with a service account credential (Basic auth or access token). Contains the service account's identity and the organization it belongs to.

type ServiceAccountViewer {
id: ID!
name: String!
description: String
createdAt: DateTime!
updatedAt: DateTime!
organization: ViewerOrganization!
}

Fields

ServiceAccountViewer.id ● ID! non-null scalar {#id}

Unique identifier for this service account.

ServiceAccountViewer.name ● String! non-null scalar {#name}

Human-readable name of the service account.

ServiceAccountViewer.description ● String scalar {#description}

Optional text describing the purpose of this service account.

ServiceAccountViewer.createdAt ● DateTime! non-null scalar {#created-at}

When this service account was created (UTC).

ServiceAccountViewer.updatedAt ● DateTime! non-null scalar {#updated-at}

When this service account was last modified (UTC).

ServiceAccountViewer.organization ● ViewerOrganization! non-null object {#organization}

The organization this service account belongs to.

Implemented By

Viewer union