---
title: "Get a deployment timeline"
method: GET
path: "/deployment/{deployment_id}/timeline"
tags: ["deployments"]
---

# Get a deployment timeline

`GET /deployment/{deployment_id}/timeline`

## Request

- Base URL: `https://api.faable.com`
- URL: `https://api.faable.com/deployment/{deployment_id}/timeline`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://faable.auth.faable.link/authorize`, token URL `https://faable.auth.faable.link/oauth/token`)
  - HTTP bearer
  - OAuth 2 (client credentials, token URL `https://faable.auth.faable.link/oauth/token`)
  - HTTP bearer
  - HTTP basic
  - API key in query parameter `apikey`

Where the deployment spent its time, phase by phase: queue, detection, each build step, hand-off and start-up.

## Path parameters

- `deployment_id` string, required

## Response `200`

Default Response

- object
  - `deployment_id` string, required
  - `outcome` string, required
  - `started_at` string, date-time, required
  - `total_ms` integer, required
  - `segments` object[], required
    - `key` string, required
    - `label` string, required
    - `started_at` string, date-time, required
    - `ms` integer, required
    - `measured` boolean, required
  - `superseded_at` string, date-time
  - `superseded_by` object
    - `deployment_id` string, required
    - `github_commit` string, required

## Other responses

- `400`: `validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.
- `401`: `unauthorized` — The request carries no valid credentials. `invalid_token` — The bearer token is missing, malformed or expired.
- `403`: `forbidden` — The credentials are valid but do not allow this operation. `user_suspended` — The account is suspended. Contact support@faable.com.
- `404`: `not_found` — The resource does not exist, or not in the caller’s project.
- `429`: `too_many_requests` — Rate limit exceeded. Honour the `Retry-After` header.
- `500`: `internal_error` — Unexpected server error. Retry later; the request id is logged.
- `503`: `database_unavailable` — Faable cannot reach its database right now. Transient: retry after the `Retry-After` header.

---

[API](https://skmtc.dev/faable/apis/faablecloud-api.md) · [All operations](https://skmtc.dev/faable/apis/faablecloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faable/apis/faablecloud-api/revisions/e2fc93da3c49?raw)
