Skip to main content
GET
Get an application's Launch Plan

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

application_id
string
required

Query Parameters

commit_sha
string

The analysed commit whose plan to resolve; without it, the most recently analysed one.

Pattern: ^[0-9a-f]{7,64}$
backup_vault_id
string

The backup vault the data migration moves dumps and exports through.

data_migration_choices
string

Dependencies to move off their vendors, as : pairs separated by commas (ankra-open-source or needs-portability-pr).

cluster_id
string

The target cluster to resolve the plan for; without it Ankra picks the target (target.kind).

Response

The resolved plan, or its status when there is nothing to plan from

The Launch Plan (schema ankra.launch-plan/v1, enginekit/launchplan) resolved on read from an analysed commit's App Contract. plan and decision_count are null unless status is planned: not-extracted means no contract has been stored yet, unsupported-contract that the stored contract's schema version is not one this resolver reads.

application_id
string
required
status
enum<string>
required
Available options:
planned,
not-extracted,
unsupported-contract
commit_sha
string | null
required
analysed_at
string<date-time> | null
required
contract_schema_version
string | null
required
plan
Plan · object | null
required

The plan document: one entry per dependency with its lock-in tier (drop-in, adapter, re-platform or unknown), reason and evidence, the chosen option (bring-your-own, ankra-open-source, off, needs-portability-pr or stays-at-vendor) and the alternatives; components, environment bindings, migrations, network, exposure, storage, cluster facts, findings and the decisions left to a person.

plan_hash
string | null
required

SHA-256 of the plan document; the value a plan-level approval binds to. null when there is no plan.

decision_count
integer | null
required
proof_run
Proof Run · object | null
required

The latest proof of a setup pull request (schema ankra.proof-run/v1, enginekit/proofrun): the setup the pull request proposes, run once on the organisation's staging cluster - build, the Launch Plan's in-cluster dependency slices, migrations, deploy, readiness routes, smoke, teardown. null until a setup pull request has been proven. Its commit_sha is the setup commit, not the analysed commit above.

data_migration
Data Migration · object | null
required

The plan's data move off its vendors (schema ankra.data-migration/v1, enginekit/datamigration) for the requested selection: per dependency its migration and Postgres strategy, every step in order, the environment the cutover rewires, the rollback steps, the customer's teardown checklist, the bounded actions a plan-level approval covers, and findings (a blocker stops the plan). null when there is no plan.

environments_keeping_own_value
Environments Keeping Own Value · object[] | null
required

Every environment that holds its own entry (a secret or a plain value) of a variable data_migration rewires, so its deployments keep that entry after the cutover instead of the value the cutover writes. Read from the entries as they are now and held to what the caller may read; each is also said as an environment_keeps_own_value warning among data_migration's findings. It names the environment, the key and the kind, never a value. Empty when no environment keeps its own value or nothing is rewired; null when there is no plan.

target
Launch Plan Target · object | null

Where the plan was resolved for (ankra-yxuq09.5). kind is playground (the organisation's free playground: the one it holds, or the one it may create when it has no cluster), cluster (cluster_id, or the organisation's only cluster), choose (several clusters and none named: the plan is resolved on unread cluster facts until it is read again with cluster_id) or none (no cluster and no playground allowed). The approval names cluster_id once it exists; a plan read for a playground that does not exist yet hashes the same as the plan of the playground once created. Null when there is no plan.