Chief Tools Logo

team

query

The currently authenticated team or currently authenticated user team.

Arguments

hint·String

Hint for the team slug to resolve, only applicable when authenticated as a user.

Return Type

·Team
id·ID!

The unique identifier for the object.

name·String!

The name of the team.

timezone·String!

The timezone configured for the team.

createdAt·DateTime!

Identifies the date and time when the object was created.

plan·Plan!

The plan the team is subscribed to.

repositoryProviders·[RepositoryProvider!]!

The repository providers this team has connected.

app·App(1 arg)

Retrieve a single app by it's ID.

apps·[App!]!

Retrieve all the apps the team has access to.

bitbucketAccounts·[BitbucketAccount!]!

The connected Bitbucket accounts.

githubInstallations·[GitHubInstallation!]!

The GitHub app installations the team uses.

gitlabAccounts·[GitLabAccount!]!

The connected GitLab accounts.

gitlabApplications·[GitLabApplication!]!

The self-hosted GitLab instances the team connects to.

script·Script(1 arg)

Retrieve a single script by it's ID.

sentryInstallations·[SentryInstallation!]!

The connected Sentry organizations.

deployments·DeploymentPaginator!(5 args)

The deployments of all the apps of the team, newest first.

scripts·ScriptPaginator!(2 args)

Retrieve all the scripts the team has access to.