> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get by domain

> Find a project by domain.

`projectByDomain(input: GetProjectByDomainInput!): Project`

Requires project.read.

## Arguments

| Argument | Type | Required |
| - | - | - |
| `input` | [`GetProjectByDomainInput!`](https://veryfront.com/docs/cloud/graphql/types/getprojectbydomaininput) | Yes |

## Input fields

### input

[`GetProjectByDomainInput`](https://veryfront.com/docs/cloud/graphql/types/getprojectbydomaininput)

| Field | Type | Required | Description |
| - | - | - | - |
| `domain` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) | Yes | Domain name associated with a project environment. |

## Response

Returns [`Project`](https://veryfront.com/docs/cloud/graphql/types/project). Open the type for its fields and nested types.

| Field | Type |
| - | - |
| `invites` | [`[Invite]`](https://veryfront.com/docs/cloud/graphql/types/invite) |
| `id` | [`ID!`](https://veryfront.com/docs/cloud/graphql/types/id) |
| `slug` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) |
| `name` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) |
| `description` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) |
| `type` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) |
| `systemManaged` | [`Boolean`](https://veryfront.com/docs/cloud/graphql/types/boolean) |
| `isClaimed` | [`Boolean!`](https://veryfront.com/docs/cloud/graphql/types/boolean) |

[All fields of `Project`](https://veryfront.com/docs/cloud/graphql/types/project).

Types marked with `!` cannot be null. Lists use `[Type]` notation. The [type index](https://veryfront.com/docs/cloud/graphql/schema.md) lists all published input and response types.

## Example

```graphql title="query.graphql" theme={null}
query ProjectByDomain($input: GetProjectByDomainInput!) {
  projectByDomain(input: $input) {
    id
    name
    slug
    createdAt
    updatedAt
  }
}
```

```json title="variables.json" theme={null}
{
  "input": {
    "domain": "example"
  }
}
```

<details>
  <summary>Try this query</summary>

  Calls use `https://api.veryfront.com/graphql`. Replace sample values with resources you can access. See [Authentication](https://veryfront.com/docs/cloud/authentication.md) for credentials and permissions.

  Bearer token or API key

  Stored in this tab's session. Clear credential

  Query

  Variables (JSON)
</details>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.