projectTemplates

List the curated project templates, the starter projects a new project is created from, to offer a choice; returns one page of project templates, where REST needs no credentials and returns every curated template and GraphQL requires a signed-in user and returns the public templates and the templates the user is a member of.

Arguments

  • inputProjectTemplatesInput

  • input.searchString

    Search template names or slugs.

  • input.useCaseString

    Filter by category, for example Store or Landing.

  • input.sortByTemplateSortBy

    Optional sort field. Omit sorting to retain curated order. One of name, slug, created_at, updated_at.

  • input.sortOrderTemplateSortOrder

    Defaults to asc when sorting. On its own sorts by name. One of asc, desc.

  • input.excludeBlankBoolean

    Exclude the blank template before pagination.

  • input.cursorString

    Cursor of the page to read, from pageInfo.endCursor of the previous page.

  • input.limitInt

    Integer page size from 1 to 100; defaults to 20.

Responses

query ProjectTemplates {  projectTemplates {    data {      id      slug      name      description      category      previewUrl      comingSoon      createdAt      updatedAt    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }  }}
{  "data": {    "projectTemplates": {      "data": [        {          "id": "string",          "slug": "string",          "name": "string",          "description": "string",          "category": "string",          "previewUrl": "https://example.com",          "comingSoon": false,          "createdAt": "2026-01-01T00:00:00Z",          "updatedAt": "2026-01-01T00:00:00Z"        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      }    }  }}

The ProjectTemplatePage! in data.projectTemplates.