Rensei docs
API ReferenceAuthoring

Generate a validated workflow or agent-card draft for explicit review.

Returns clarification questions or a deterministic reviewed candidate. This endpoint never writes, publishes, or deploys.

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

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/synthesize" \  -H "Content-Type: application/json" \  -d '{    "goal": "string"  }'
{
  "status": "clarification_required",
  "target": "workflow",
  "questions": [
    {
      "id": "trigger",
      "prompt": "string",
      "reason": "string"
    }
  ]
}
Empty
Empty
Empty
Empty
Empty
Empty
Empty