
<h1 class="has-pills">
  Query
  <span data-algolia-exclude><span class="pill pill--object pill--normal-case pill--large"><code>OBJECT</code></span></span>
</h1>

The query root for this schema



| `agent` `Agent` Find an agent by its slug Arguments `slug` `ID!` The UUID for the agent, prefixed by its organization's slug i.e. `acme-inc/0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>agentToken</code><a href="/docs/apis/graphql/schemas/object/agenttoken" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT AgentToken"><code>AgentToken</code></a></h3><p>Find an agent token by its slug</p><div><details><summary>Arguments</summary>

| `slug` `ID!` The UUID for the agent token, prefixed by its organization's slug i.e. `acme-inc/0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>apiAccessTokenCode</code><a href="/docs/apis/graphql/schemas/object/apiaccesstokencode" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT APIAccessTokenCode"><code>APIAccessTokenCode</code></a></h3><p>Find a API Access Token code</p><div><details><summary>Arguments</summary>

| `code` `ID!` The code provided by the Auth API |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>artifact</code><a href="/docs/apis/graphql/schemas/object/artifact" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Artifact"><code>Artifact</code></a></h3><p>Find an artifact by its UUID</p><div><details><summary>Arguments</summary>

| `uuid` `ID!` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>auditEvent</code><a href="/docs/apis/graphql/schemas/object/auditevent" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT AuditEvent"><code>AuditEvent</code></a></h3><p>Find an audit event via its uuid</p><div><details><summary>Arguments</summary>

| `uuid` `ID!` The UUID for the audit event i.e. `0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>build</code><a href="/docs/apis/graphql/schemas/object/build" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Build"><code>Build</code></a></h3><p>Find a build</p><div><details><summary>Arguments</summary>

| `slug` `ID` The number of the build, prefixed with its organization and pipeline. i.e. `acme-inc/my-pipeline/123` |
| --- |
| `uuid` `ID` The UUID of the build |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>graphQLSnippet</code><a href="/docs/apis/graphql/schemas/object/graphqlsnippet" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT GraphQLSnippet"><code>GraphQLSnippet</code></a></h3><p>Find a GraphQL snippet</p><div><details><summary>Arguments</summary>

| `uuid` `String!` The UUID for this GraphQL snippet |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>job</code><a href="/docs/apis/graphql/schemas/union/job" class="pill pill--union pill--normal-case pill--medium" title="Go to UNION Job"><code>Job</code></a></h3><p>Find a build job</p><div><details><summary>Arguments</summary>

| `uuid` `ID!` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>node</code><a href="/docs/apis/graphql/schemas/interface/node" class="pill pill--interface pill--normal-case pill--medium" title="Go to INTERFACE Node"><code>Node</code></a></h3><p>Fetches an object given its ID.</p><div><details><summary>Arguments</summary>

| `id` `ID!` ID of the object. |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>notificationService</code><a href="/docs/apis/graphql/schemas/interface/notificationservice" class="pill pill--interface pill--normal-case pill--medium" title="Go to INTERFACE NotificationService"><code>NotificationService</code></a></h3><p>Find a notification service via its UUID</p><div><details><summary>Arguments</summary>

| `uuid` `ID!` The UUID for the notification service i.e. `0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>organization</code><a href="/docs/apis/graphql/schemas/object/organization" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Organization"><code>Organization</code></a></h3><p>Find an organization</p><div><details><summary>Arguments</summary>

| `slug` `ID` The slug of the organization |
| --- |
| `uuid` `ID` The UUID of the organization |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>organizationInvitation</code><a href="/docs/apis/graphql/schemas/object/organizationinvitation" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT OrganizationInvitation"><code>OrganizationInvitation</code></a></h3><p>Find an organization invitation via its slug</p><div><details><summary>Arguments</summary>

| `slug` `ID!` The UUID for the invitation, prefixed by its organization's slug i.e. `acme-inc/0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>organizationMember</code><a href="/docs/apis/graphql/schemas/object/organizationmember" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT OrganizationMember"><code>OrganizationMember</code></a></h3><p>Find an organization membership via its slug</p><div><details><summary>Arguments</summary>

| `slug` `ID!` The UUID for the membership, prefixed by its organization's slug i.e. `acme-inc/0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>pipeline</code><a href="/docs/apis/graphql/schemas/object/pipeline" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Pipeline"><code>Pipeline</code></a></h3><p>Find a pipeline</p><div><details><summary>Arguments</summary>

| `slug` `ID` The slug of the pipeline, prefixed with its organization. i.e. `acme-inc/my-pipeline` |
| --- |
| `uuid` `ID` The UUID of the pipeline |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>pipelineSchedule</code><a href="/docs/apis/graphql/schemas/object/pipelineschedule" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT PipelineSchedule"><code>PipelineSchedule</code></a></h3><p>Find a pipeline schedule by its slug</p><div><details><summary>Arguments</summary>

| `slug` `ID!` The UUID for the pipeline schedule, prefixed by its organization and pipeline's slug i.e. `acme-inc/my-pipeline/0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>pipelineTemplate</code><a href="/docs/apis/graphql/schemas/object/pipelinetemplate" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT PipelineTemplate"><code>PipelineTemplate</code></a></h3><p>Find a pipeline template</p><div><details><summary>Arguments</summary>

| `uuid` `ID!` The UUID of the pipeline template |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>registry</code><a href="/docs/apis/graphql/schemas/object/registry" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Registry"><code>Registry</code></a></h3><p>Find a registry</p><div><details><summary>Arguments</summary>

| `slug` `ID` The slug of the registry, prefixed with its organization. i.e. `acme-inc/my-registry` |
| --- |
| `uuid` `ID` The UUID of the registry |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>rule</code><a href="/docs/apis/graphql/schemas/object/rule" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Rule"><code>Rule</code></a></h3><p>Find a rule via its UUID</p><div><details><summary>Arguments</summary>

| `uuid` `ID!` The UUID for the rule i.e. `0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>secret</code><a href="/docs/apis/graphql/schemas/object/secret" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Secret"><code>Secret</code></a></h3><p>Find a secret via its uuid. This does not contain the value of the secret or encrypted material.</p><div><details><summary>Arguments</summary>

| `uuid` `ID!` The UUID for the secret i.e. `0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>ssoProvider</code><a href="/docs/apis/graphql/schemas/interface/ssoprovider" class="pill pill--interface pill--normal-case pill--medium" title="Go to INTERFACE SSOProvider"><code>SSOProvider</code></a></h3><p>Find an sso provider either using it's slug, or UUID</p><div><details><summary>Arguments</summary>

| `slug` `ID` The slug for the sso provider, prefixed by its organization's slug i.e. `acme-inc/0bd5ea7c-89b3-4f40-8ca3-ffac805771eb` |
| --- |
| `uuid` `ID` The UUID of the sso provider |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>team</code><a href="/docs/apis/graphql/schemas/object/team" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Team"><code>Team</code></a></h3><p>Find a team</p><div><details><summary>Arguments</summary>

| `slug` `ID!` The slug of the team, prefixed with its organization. i.e. `acme-inc/awesome-team` |
| --- |

</details></div></td></tr><tr><td><h3 class="is-small has-pills"><code>viewer</code><a href="/docs/apis/graphql/schemas/object/viewer" class="pill pill--object pill--normal-case pill--medium" title="Go to OBJECT Viewer"><code>Viewer</code></a></h3><p>Context of the current user using the GraphQL API</p></td></tr>
  </tbody>
</table>
