Properties
path
Relative API path. Example: /executereadonlypath:string
method
HTTP method.readonlymethod:"GET"|"POST"|"PUT"|"PATCH"|"DELETE"
body?
Optional request body.readonlyoptionalbody?:unknown
headers?
Optional request headers.readonlyoptionalheaders?:Readonly<Record<string,string>>
nonThrowingStatuses?
HTTP status codes that must be returned as an ordinary TransportResponse instead of being mapped to a thrown ParmanaError subclass, because this specific route’s response body at that specific status is not the sharedreadonlyoptionalnonThrowingStatuses?: readonlynumber[]
{error, code?} envelope.
Default: none (every status >= 400 throws). Today exactly one route
needs this: POST /policies/validate returns {valid, errors} — not
{error, code?} — at 400 and 404 (but the shared envelope still
applies to 401, generated by caller-auth middleware before this
route’s own handler ever runs). See PolicyApi.validate and
/api-reference/error-handling.