Skip to navigation

List prompts across registries

View as Markdown

List all prompts (latest versions) across organization registries with pagination and filtering. When promptNames is provided (max 50 per request), returns every matching prompt and ignores limit/offset; total reflects the number of matches returned, not a catalog-wide count.

Authentication

X-API-Keystring

API key supplied via the X-API-Key header. Takes precedence over bearerApiKey when both are present. Listed only on operations that actually accept a key.

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 wherever this scheme is listed on the operation — not every endpoint; if both X-API-Key and Authorization: Bearer are present, X-API-Key wins.

OR
AuthorizationBearer

Supabase session JWT from a signed-in browser session, supplied as Authorization: Bearer <jwt>. This is what the web app sends. It shares the Authorization header with bearerApiKey; the server distinguishes them by the ela_ prefix on API keys.

Query parameters

orgSlugstringRequired
registryIdstringOptional
searchstringOptional
promptNameslist of stringsOptional
modelstringOptional
artifactTypeenumOptional
Allowed values:
limitdoubleOptional1-200Defaults to 10
offsetdoubleOptional>=0Defaults to 0

Response

OK
any
OR
any