projectByDomain

Find a project by domain. Requires project.read.

Arguments

  • inputGetProjectByDomainInput!required

  • input.domainString!required

    Domain name associated with a project environment.

Responses

query ProjectByDomain($input: GetProjectByDomainInput!) {  projectByDomain(input: $input) {    invites {      id      email    }    id    slug    name    description    type    systemManaged    isClaimed    features    environments {      id      name      projectId      protected      domains      createdAt      updatedAt    }    releases {      id      name      version      projectId      userId      createdAt      updatedAt      exportOutcome      buildOutcome      deployOutcome    }    createdAt    updatedAt    publishedAt    config    provider {      id      slug      name      type      importPath    }    layout {      id      slug      name      type      importPath    }    featureFlags {      id      name      isEnabled    }    users {      id      email      name      avatarSrc      approved    }    subscription {      id      type      cycle      status      expiresAt      canceledAt    }    disableMetaRobots    providerId    layoutId    category    isTemplate    comingSoon  }}
{  "data": {    "projectByDomain": {      "invites": [        {          "id": "string",          "email": "[email protected]"        }      ],      "id": "string",      "slug": "string",      "name": "string",      "description": "string",      "type": "string",      "systemManaged": false,      "isClaimed": false,      "features": [        "BASIC_SETTINGS"      ],      "environments": [        {          "id": "string",          "name": "string",          "projectId": "string",          "protected": false,          "domains": [            "string"          ],          "createdAt": "2026-01-01T00:00:00Z",          "updatedAt": "2026-01-01T00:00:00Z"        }      ],      "releases": [        {          "id": "string",          "name": "string",          "version": "string",          "projectId": "string",          "userId": "string",          "createdAt": "2026-01-01T00:00:00Z",          "updatedAt": "2026-01-01T00:00:00Z",          "exportOutcome": "in_progress",          "buildOutcome": "in_progress",          "deployOutcome": "in_progress"        }      ],      "createdAt": "2026-01-01T00:00:00Z",      "updatedAt": "2026-01-01T00:00:00Z",      "publishedAt": "2026-01-01T00:00:00Z",      "config": {},      "provider": {        "id": "string",        "slug": "string",        "name": "string",        "type": "string",        "importPath": "string"      },      "layout": {        "id": "string",        "slug": "string",        "name": "string",        "type": "string",        "importPath": "string"      },      "featureFlags": [        {          "id": "string",          "name": "string",          "isEnabled": false        }      ],      "users": [        {          "id": "string",          "email": "[email protected]",          "name": "string",          "avatarSrc": "string",          "approved": false        }      ],      "subscription": {        "id": "string",        "type": "string",        "cycle": "string",        "status": "string",        "expiresAt": "2026-01-01T00:00:00Z",        "canceledAt": "2026-01-01T00:00:00Z"      },      "disableMetaRobots": false,      "providerId": "string",      "layoutId": "string",      "category": "string",      "isTemplate": false,      "comingSoon": false    }  }}

The Project in data.projectByDomain.