# Phase

An object type of the [Archipad API](https://docs.archipad.dev/apis/archipad-graphql.md).

```graphql
type Phase
```

A phase of a project.

## Fields

- `createdAt`: [`DateTime!`](https://docs.archipad.dev/apis/archipad-graphql/types/DateTime.md) — When the phase was created.
- `deleted`: `Boolean!` — Whether the phase was deleted from the project.
- `deletedAt`: [`DateTime`](https://docs.archipad.dev/apis/archipad-graphql/types/DateTime.md) — When the phase was deleted; null while it exists.
- `id`: `String!` — Identifier of the phase.
- `index`: `Int` — Position of the phase in the project, phases being listed by increasing index; null when not set.
- `key`: `String!` — System name of the phase, which does not change with its displayed name; filter issues on it with the `phase` argument of `Project.issues`. Empty when it has none.
- `name`: `String!` — Name of the phase, as displayed in Archipad.
- `updatedAt`: [`DateTime!`](https://docs.archipad.dev/apis/archipad-graphql/types/DateTime.md) — When the phase was last changed.
- `validDurationAfterHandover`: `Int` — Number of calendar days after the handover of a region until which this phase is the default one for its new issues. Among the phases with a value above 0, ordered by increasing value, the default phase is the first whose value is strictly greater than the days elapsed since `ProjectRegion.handedOverOn`, such as 1 for `[phase]:livraison` (the handover day), 30 for `[phase]:30_jours` (day 1 to 29), 365 for `[phase]:gpa`, 730 for `[phase]:biennale` and 3650 for `[phase]:decennale`; past the highest value, there is none. 0 for a phase that does not apply after handover; null when not set.
