ControlPlane

Open a passkey write-intent ceremony (write-approval)

Issues a one-time, server-bound write-intent challenge for an action (org.project.create | project.deploy | project.secret.write) on an explicit target org/project. Returns a confirm_url — a gateway-rendered confirmation page on the console origin where the user approves with their passkey. The resulting write approval is target-scoped (one org or one project), 30 min idle / 4 h absolute, and only ever works alongside the issuing control-plane session (dual-header).

post/agent/v1/control-plane/write-approval/challenges

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/agent/v1/control-plane/write-approval/challenges
  • Auth: HTTP bearer

Request body

action'org.project.create' | 'project.deploy' | 'project.secret.write' required
org_idstring

Required for org-scoped actions (org.project.create).

project_idstring

Required for project-scoped actions (project.deploy, project.secret.write).

Response

challenge_id + confirm_url + expires_at

object required

Changes

No recorded changes to this operation across all 1 revision of this API.