---
title: "Apply Onboarding Plan Route"
method: POST
path: "/api/v1/nova/discovery/onboarding-plans/{agent_id}/apply"
tags: ["nova"]
---

# Apply Onboarding Plan Route

`POST /api/v1/nova/discovery/onboarding-plans/{agent_id}/apply`

Create what the onboarding plan prescribes, everything disabled, idempotently.
An admin's decision: from the console, or asked for in conversation.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `Authorization` string, nullable
- `X-Request-ID` string, nullable

## Response `200`

Successful Response

- ApplyOutcome — What applying an onboarding plan actually did, per resource, so a retry can be a no-op and a partial result says what remains.
  - `status` 'onboarded' | 'partial', required
  - `agent_id` string, uuid, required
  - `agent_created` boolean, required
  - `linked` boolean, required
  - `scope_guardrail` string, uuid, nullable
  - `policies` object — template → policy id
  - `remaining` string[]
  - `errors` object

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-27** `b20a3bdd6219` — 2 breaking, 2 info
  - removed the required property `proxy_created` from the response with the `200` status
  - removed the required property `proxy_id` from the response with the `200` status
  - added the required property `agent_created` to the response with the `200` status
  - added the required property `agent_id` to the response with the `200` status
- **2026-09-22** `66575c8854c1` — 1 warning, 1 info
  - removed the optional property `capabilities` from the response with the `200` status
  - added the optional property `scope_guardrail` to the response with the `200` status
- **2026-09-11** `3bf37c9d2784` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/xenovia/apis/controlplane/changes/api/v1/nova/discovery/onboarding-plans/:agent_id/apply/post.md)

---

[API](https://skmtc.dev/xenovia/apis/controlplane.md) · [All operations](https://skmtc.dev/xenovia/apis/controlplane/llms.txt) · [OpenAPI document](https://skmtc.dev/xenovia/apis/controlplane/revisions/b20a3bdd6219?raw)
