List project templates

http
GET /project-templates

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.

Servers

JSON
[  {    "url": "https://api.veryfront.com"  }]

Authentication

This operation declares no security requirement.

JSON
{}

Parameters

NameLocationRequiredDescription
searchqueryNoSearch template names or slugs.
use_casequeryNoFilter by category, for example Store or Landing.
sort_byqueryNoOptional sort field. Omit sorting to retain curated order.
sort_orderqueryNoDefaults to asc when sorting. On its own sorts by name.
exclude_blankqueryNoExclude the blank template before pagination.
cursorqueryNoTemplate slug from this filtered list; unknown cursors are rejected.
limitqueryNoInteger page size from 1 to 100; defaults to 20.

Parameter contracts

JSON
[  {    "schema": {      "type": "string",      "description": "Search template names or slugs."    },    "required": false,    "description": "Search template names or slugs.",    "name": "search",    "in": "query"  },  {    "schema": {      "type": "string",      "description": "Filter by category, for example Store or Landing."    },    "required": false,    "description": "Filter by category, for example Store or Landing.",    "name": "use_case",    "in": "query"  },  {    "schema": {      "type": "string",      "enum": [        "name",        "slug",        "created_at",        "updated_at"      ],      "description": "Optional sort field. Omit sorting to retain curated order."    },    "required": false,    "description": "Optional sort field. Omit sorting to retain curated order.",    "name": "sort_by",    "in": "query"  },  {    "schema": {      "type": "string",      "enum": [        "asc",        "desc"      ],      "description": "Defaults to asc when sorting. On its own sorts by name."    },    "required": false,    "description": "Defaults to asc when sorting. On its own sorts by name.",    "name": "sort_order",    "in": "query"  },  {    "schema": {      "type": "string",      "enum": [        "true",        "false"      ],      "description": "Exclude the blank template before pagination."    },    "required": false,    "description": "Exclude the blank template before pagination.",    "name": "exclude_blank",    "in": "query"  },  {    "schema": {      "type": "string",      "description": "Template slug from this filtered list; unknown cursors are rejected."    },    "required": false,    "description": "Template slug from this filtered list; unknown cursors are rejected.",    "name": "cursor",    "in": "query"  },  {    "schema": {      "type": "integer",      "minimum": 1,      "maximum": 100,      "description": "Integer page size from 1 to 100; defaults to 20."    },    "required": false,    "description": "Integer page size from 1 to 100; defaults to 20.",    "name": "limit",    "in": "query"  }]

Responses

200

A page of curated project templates.

JSON
{  "description": "A page of curated project templates.",  "content": {    "application/json": {      "schema": {        "type": "object",        "properties": {          "data": {            "type": "array",            "items": {              "type": "object",              "properties": {                "id": {                  "type": "string",                  "description": "ID of the template project."                },                "slug": {                  "type": "string",                  "description": "Template slug; pass it to create a project from the template."                },                "name": {                  "type": "string",                  "description": "Display name."                },                "description": {                  "type": "string",                  "description": "Description from the template project configuration, or an empty string."                },                "category": {                  "type": "string",                  "description": "Template category, or an empty string when unset."                },                "preview_url": {                  "type": [                    "string",                    "null"                  ],                  "description": "HTTPS preview URL of the template project."                },                "coming_soon": {                  "type": "boolean",                  "description": "Whether the template is announced but not yet usable; a search never recommends such a template."                },                "created_at": {                  "type": "string",                  "description": "Creation time of the template project as an RFC 3339 UTC timestamp."                },                "updated_at": {                  "type": "string",                  "description": "Last update time of the template project as an RFC 3339 UTC timestamp."                }              },              "required": [                "id",                "slug",                "name",                "description",                "category",                "preview_url",                "coming_soon",                "created_at",                "updated_at"              ]            }          },          "page_info": {            "$ref": "#/components/schemas/PageInfo"          }        },        "required": [          "data",          "page_info"        ]      }    }  }}

400

Invalid query parameters, including an unknown or out-of-filter cursor

JSON
{  "description": "Invalid query parameters, including an unknown or out-of-filter cursor",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

401

The credential sent with the request is invalid or expired

JSON
{  "description": "The credential sent with the request is invalid or expired",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

500

Server error

JSON
{  "description": "Server error",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

503

internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.

JSON
{  "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",  "content": {    "application/problem+json": {      "schema": {        "$ref": "#/components/schemas/Problem"      }    }  }}

Referenced contracts

components/schemas/PageInfo

JSON
{  "type": "object",  "properties": {    "self": {      "type": [        "string",        "null"      ],      "description": "Cursor pointing to the current page"    },    "first": {      "type": "null",      "description": "First page cursor (always null for cursor-based pagination)"    },    "next": {      "type": [        "string",        "null"      ],      "description": "Cursor for the next page (null if no more pages)"    },    "prev": {      "type": [        "string",        "null"      ],      "description": "Cursor for the previous page (null if on first page)"    }  },  "required": [    "self",    "first",    "next",    "prev"  ]}

components/schemas/Problem

JSON
{  "type": "object",  "properties": {    "cause": {      "type": "string",      "enum": [        "schedule_concurrency_forbidden",        "schedule_fire_in_progress",        "schedule_run_limit_reached"      ],      "description": "Schedule admission refusal."    },    "idempotency": {      "type": "object",      "properties": {        "state": {          "type": "string",          "enum": [            "in_progress",            "payload_mismatch",            "outcome_unknown"          ]        },        "operation": {          "type": "string",          "minLength": 1        },        "retryable": {          "type": "boolean"        },        "retry_after_seconds": {          "type": [            "integer",            "null"          ],          "minimum": 0        },        "expires_at": {          "type": [            "string",            "null"          ]        },        "recovery": {          "type": "object",          "properties": {            "available": {              "type": "boolean"            },            "description": {              "type": "string"            },            "resource_url": {              "type": "string"            }          },          "required": [            "available",            "description"          ]        }      },      "required": [        "state",        "operation",        "retryable",        "retry_after_seconds",        "expires_at"      ],      "description": "Replay status, retry timing, and recovery lookup."    },    "type": {      "type": "string",      "description": "URI reference identifying the problem type",      "example": "https://api.veryfront.com/errors/validation-failed"    },    "title": {      "type": "string",      "description": "Short human-readable summary of the problem",      "example": "Validation Failed"    },    "status": {      "type": "integer",      "minimum": 100,      "maximum": 599,      "description": "HTTP status code",      "example": 400    },    "code": {      "type": "string",      "description": "Stable machine-readable error code",      "example": "RUN_INVALID_INPUT"    },    "detail": {      "type": "string",      "description": "Human-readable explanation specific to this occurrence",      "example": "The 'email' field must be a valid email address"    },    "instance": {      "type": "string",      "description": "URI reference identifying the specific occurrence",      "example": "/projects/my-project/members"    },    "slug": {      "type": "string",      "description": "Stable identifier for the problem type",      "example": "validation-failed"    },    "category": {      "type": "string",      "enum": [        "AUTH",        "RESOURCE",        "VALIDATION",        "DATABASE",        "SUBSCRIPTION",        "INTEGRATION",        "INTERNAL"      ],      "description": "API error category",      "example": "VALIDATION"    },    "suggestion": {      "type": "string",      "description": "Suggested action to resolve the problem",      "example": "Check the request body and query parameters against the API documentation."    },    "errors": {      "type": "array",      "items": {        "type": "object",        "properties": {          "field": {            "type": "string",            "description": "Field path that caused the error",            "example": "email"          },          "message": {            "type": "string",            "description": "Error message for this field",            "example": "Invalid email format"          },          "code": {            "type": "string",            "description": "Error code for this field",            "example": "INVALID_FORMAT"          }        },        "required": [          "field",          "message"        ]      },      "description": "Detailed field-level errors for validation failures"    }  },  "required": [    "type",    "title",    "status"  ]}

Operation contract

JSON
{  "operationId": "listProjectTemplates",  "tags": [    "projects/Projects/Project templates"  ],  "security": [],  "summary": "List project templates",  "description": "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.",  "parameters": [    {      "schema": {        "type": "string",        "description": "Search template names or slugs."      },      "required": false,      "description": "Search template names or slugs.",      "name": "search",      "in": "query"    },    {      "schema": {        "type": "string",        "description": "Filter by category, for example Store or Landing."      },      "required": false,      "description": "Filter by category, for example Store or Landing.",      "name": "use_case",      "in": "query"    },    {      "schema": {        "type": "string",        "enum": [          "name",          "slug",          "created_at",          "updated_at"        ],        "description": "Optional sort field. Omit sorting to retain curated order."      },      "required": false,      "description": "Optional sort field. Omit sorting to retain curated order.",      "name": "sort_by",      "in": "query"    },    {      "schema": {        "type": "string",        "enum": [          "asc",          "desc"        ],        "description": "Defaults to asc when sorting. On its own sorts by name."      },      "required": false,      "description": "Defaults to asc when sorting. On its own sorts by name.",      "name": "sort_order",      "in": "query"    },    {      "schema": {        "type": "string",        "enum": [          "true",          "false"        ],        "description": "Exclude the blank template before pagination."      },      "required": false,      "description": "Exclude the blank template before pagination.",      "name": "exclude_blank",      "in": "query"    },    {      "schema": {        "type": "string",        "description": "Template slug from this filtered list; unknown cursors are rejected."      },      "required": false,      "description": "Template slug from this filtered list; unknown cursors are rejected.",      "name": "cursor",      "in": "query"    },    {      "schema": {        "type": "integer",        "minimum": 1,        "maximum": 100,        "description": "Integer page size from 1 to 100; defaults to 20."      },      "required": false,      "description": "Integer page size from 1 to 100; defaults to 20.",      "name": "limit",      "in": "query"    }  ],  "responses": {    "200": {      "description": "A page of curated project templates.",      "content": {        "application/json": {          "schema": {            "type": "object",            "properties": {              "data": {                "type": "array",                "items": {                  "type": "object",                  "properties": {                    "id": {                      "type": "string",                      "description": "ID of the template project."                    },                    "slug": {                      "type": "string",                      "description": "Template slug; pass it to create a project from the template."                    },                    "name": {                      "type": "string",                      "description": "Display name."                    },                    "description": {                      "type": "string",                      "description": "Description from the template project configuration, or an empty string."                    },                    "category": {                      "type": "string",                      "description": "Template category, or an empty string when unset."                    },                    "preview_url": {                      "type": [                        "string",                        "null"                      ],                      "description": "HTTPS preview URL of the template project."                    },                    "coming_soon": {                      "type": "boolean",                      "description": "Whether the template is announced but not yet usable; a search never recommends such a template."                    },                    "created_at": {                      "type": "string",                      "description": "Creation time of the template project as an RFC 3339 UTC timestamp."                    },                    "updated_at": {                      "type": "string",                      "description": "Last update time of the template project as an RFC 3339 UTC timestamp."                    }                  },                  "required": [                    "id",                    "slug",                    "name",                    "description",                    "category",                    "preview_url",                    "coming_soon",                    "created_at",                    "updated_at"                  ]                }              },              "page_info": {                "$ref": "#/components/schemas/PageInfo"              }            },            "required": [              "data",              "page_info"            ]          }        }      }    },    "400": {      "description": "Invalid query parameters, including an unknown or out-of-filter cursor",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    },    "401": {      "description": "The credential sent with the request is invalid or expired",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    },    "500": {      "description": "Server error",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    },    "503": {      "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",      "content": {        "application/problem+json": {          "schema": {            "$ref": "#/components/schemas/Problem"          }        }      }    }  },  "x-documentation-source-tag": "Project Templates",  "x-canonical-documentation": {    "domain": "projects",    "resource": "Projects",    "subgroup": "Project templates",    "name": "List project templates",    "description": "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.",    "operationId": "listProjectTemplates"  },  "x-mint": {    "href": "/cloud/rest/api-reference/projects-projects-project-templates/list-project-templates"  }}