---
title: "Get the current plan"
method: GET
path: "/v1/plan"
tags: ["plan"]
---

# Get the current plan

`GET /v1/plan`

Get the plan in YAML format.

## Query parameters

- `format` 'yaml', required

## Response `200`

The current plan in YAML format.

- GetPlanResponse
  - `type` string — Response type, "sync".
  - `status-code` integer — HTTP response status code.
  - `status` string — The description of the HTTP status code. See the [IANA list](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml).
  - `result` string

---

[API](https://skmtc.net/canonical/apis/pebble-api.md) · [All operations](https://skmtc.net/canonical/apis/pebble-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/canonical/pebble-api/versions/a94f353eccac/schema)
