# startReleaseAssetManifestBuild

```graphql
mutation StartReleaseAssetManifestBuild($input: StartReleaseAssetManifestBuildInput!) {
  startReleaseAssetManifestBuild(input: $input) {
    id
    manifestVersion
    state
  }
}
```

Start manifest build. Requires project.files.write.

## Arguments

| Name                     | Type                                 | Required | Description                                                                                                    |
| ------------------------ | ------------------------------------ | -------- | -------------------------------------------------------------------------------------------------------------- |
| `input`                  | StartReleaseAssetManifestBuildInput! | Yes      |                                                                                                                |
| `input.projectReference` | String!                              | Yes      | Project UUID, slug or configured domain.                                                                       |
| `input.releaseReference` | String!                              | Yes      | Release ID or version specifier, for example 1.2.3, or 1.2 for the newest 1.2.x.                               |
| `input.queueTask`        | Boolean                              |          | Set to false to leave the build for a runtime executor to claim. Omit to enqueue the release asset build task. |

## Variables

```json
{
  "input": {
    "projectReference": "string",
    "releaseReference": "string"
  }
}
```

## Responses

| Status | Description                                                            |
| ------ | ---------------------------------------------------------------------- |
| 200    | The ReleaseAssetManifestBuild! in data.startReleaseAssetManifestBuild. |

## Call it

```bash
curl -X POST "https://api.veryfront.com/graphql" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "mutation StartReleaseAssetManifestBuild($input: StartReleaseAssetManifestBuildInput!) {\n  startReleaseAssetManifestBuild(input: $input) {\n    id\n    manifestVersion\n    state\n  }\n}",
  "variables": {
    "input": {
      "projectReference": "string",
      "releaseReference": "string"
    }
  }
}'
```

## Example response

```json
{
  "data": {
    "startReleaseAssetManifestBuild": {
      "id": "string",
      "manifestVersion": 0,
      "state": "queued"
    }
  }
}
```
