Rensei docs
API ReferenceAuthoring

Store a reviewed synthesis candidate as an isolated proposal.

Revalidates typed, base, candidate, vocabulary, policy, and proposal-version digests before appending an immutable proposal version. This route never mutates runtime workflows or agent cards.

POST
/api/projects/{projectId}/authoring/apply

Authorization

AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Path Parameters

projectId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/projects/string/authoring/apply" \  -H "Content-Type: application/json" \  -d '{    "target": "workflow",    "candidateDigest": "string",    "baseDigest": "string",    "vocabularyDigest": "string",    "policyDigest": "string",    "plan": {      "name": "string",      "description": "string",      "nodes": [        {          "id": "string",          "nodeKey": "string",          "config": {            "property1": null,            "property2": null          }        }      ],      "edges": [        {          "source": "string",          "target": "string"        }      ]    }  }'
{
  "applied": true,
  "target": "workflow",
  "proposalId": "9c0e116a-cd43-4035-9c2d-b9b55ce4f74b",
  "status": "draft",
  "version": 1,
  "auditPending": true
}
Empty
Empty
Empty
Empty
Empty
Empty
Empty