List prompt labels
GET
/v1/prompts/{slug}/labelsList prompt labels.
Returns the prompt's labels and the version each one points at. Requires membership of the prompt's workspace (organization admins have it). 404 when the prompt does not exist.
Authorization
AuthorizationBearer va_A platform API key (
va_...), created under Settings > API keys. Scoped to an organization or one workspace, with an admin or member role. Used by the management API.
Path parameters
slugstringrequiredthe prompt's slug
Query parameters
organizationstringrequiredslug of the organization that owns it
Responses
200application/json
prompt_idstringId (UUID) of the prompt.
labelstringThe label's name.
version_numberinteger<int32>The version the label points at.
organizationstringSlug of the organization that owns the prompt.
updated_atstring<date-time>Not filled in by the current API: always null.