List drafts

View as Markdown

List drafts for an organization with optional filters (artifactType, promptName search). 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

orgSlugstringRequired
registryIdstringOptional
artifactTypeenumOptional
Allowed values:
promptNameSearchstringOptional
limitdoubleOptional1-100
offsetdoubleOptional>=0

Response

OK
any
OR
any