Skip to content
API referenceList prompt labels

List prompt labels

GET/v1/prompts/{slug}/labels

List 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

  • slugstringrequired

    the prompt's slug

Query parameters

  • organizationstringrequired

    slug of the organization that owns it

Responses

200application/json
  • prompt_idstring

    Id (UUID) of the prompt.

  • labelstring

    The label's name.

  • version_numberinteger<int32>

    The version the label points at.

  • organizationstring

    Slug of the organization that owns the prompt.

  • updated_atstring<date-time>

    Not filled in by the current API: always null.

NVIDIA Inception Program member

VectorAxis is built by GK Labs, a member of NVIDIA Inception.