API referenceEndpoints

Preview personal instructions

Requires an authenticated tenant principal. Generated from the production route registered in `internal/features/instructions/inbound/http.go`.

POST/v1/instructions/preview

Requires an authenticated tenant principal. Generated from the production route registered in internal/features/instructions/inbound/http.go.

Authorization

bearerAuth
AuthorizationBearer <token>

Engine-issued API key or tenant-signed JWT.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

The full personal-instructions draft — PUT is full replacement, so both fields state the intended end state. Unknown fields are rejected.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/instructions/preview" \  -H "Content-Type: application/json" \  -d '{    "tone": "default"  }'
{}