Get draft body markdown

View as Markdown

Returns the draft body (markdown) for a given prompt in a registry. Requires org membership.

Authentication

X-API-Keystring

API key supplied via the X-API-Key header. Takes precedence over bearerApiKey when both are present.

OR
AuthorizationBearer

Same organization API key supplied as a Bearer token in the Authorization header (Authorization: Bearer <key>). Compatible with OpenAI-SDK-standard clients. Accepted by all authenticated endpoints; if both X-API-Key and Authorization: Bearer are present, X-API-Key wins.

Query parameters

registryRefstringRequired
promptNamestringRequiredformat: "^[a-zA-Z0-9._-]+$">=1 character
artifactTypeenumRequired
Allowed values:
draftVersionstringRequiredformat: "^\d+\.\d+\.\d+$">=1 character

Response

OK
any
OR
any