# projects

```graphql
query Projects {
  projects {
    data {
      id
      slug
      name
      description
      type
      systemManaged
      isClaimed
      features
      createdAt
      updatedAt
      publishedAt
      config
      disableMetaRobots
      providerId
      layoutId
      category
      isTemplate
      comingSoon
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}
```

List the projects.

## Arguments

| Name              | Type              | Required | Description                                                                                                                                |
| ----------------- | ----------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `input`           | ListProjectsInput |          |                                                                                                                                            |
| `input.limit`     | Int               |          | Page size from 1 to 100. Omitting it retains the unbounded legacy list.                                                                    |
| `input.cursor`    | String            |          | The previous response's pageInfo.endCursor.                                                                                                |
| `input.filter`    | FilterParams      |          | Label filters are combined with AND.                                                                                                       |
| `input.sortBy`    | ProjectSortBy     |          | Sort field: updated\_at (the default), created\_at, name or slug. Default `updated_at`. One of `updated_at`, `created_at`, `name`, `slug`. |
| `input.sortOrder` | ProjectSortOrder  |          | Sort direction. Defaults to desc. Default `desc`. One of `asc`, `desc`.                                                                    |

## Responses

| Status | Description                              |
| ------ | ---------------------------------------- |
| 200    | The ProjectsConnection in data.projects. |

## Call it

```bash
curl -X POST "https://api.veryfront.com/graphql" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "query Projects {\n  projects {\n    data {\n      id\n      slug\n      name\n      description\n      type\n      systemManaged\n      isClaimed\n      features\n      createdAt\n      updatedAt\n      publishedAt\n      config\n      disableMetaRobots\n      providerId\n      layoutId\n      category\n      isTemplate\n      comingSoon\n    }\n    pageInfo {\n      hasNextPage\n      hasPreviousPage\n      startCursor\n      endCursor\n    }\n  }\n}"
}'
```

## Example response

```json
{
  "data": {
    "projects": {
      "data": [
        {
          "id": "string",
          "slug": "string",
          "name": "string",
          "description": "string",
          "type": "string",
          "systemManaged": false,
          "isClaimed": false,
          "features": [
            "BASIC_SETTINGS"
          ],
          "createdAt": "2026-01-01T00:00:00Z",
          "updatedAt": "2026-01-01T00:00:00Z",
          "publishedAt": "2026-01-01T00:00:00Z",
          "config": {},
          "disableMetaRobots": false,
          "providerId": "string",
          "layoutId": "string",
          "category": "string",
          "isTemplate": false,
          "comingSoon": false
        }
      ],
      "pageInfo": {
        "hasNextPage": false,
        "hasPreviousPage": false,
        "startCursor": "string",
        "endCursor": "string"
      }
    }
  }
}
```
