Prompts

Get a Prompt

Returns details of a specific prompt container by its unique UUID or unique slug. Optionally retrieves version or tag details if requested via query parameters.

get/v1/prompts/{id}

Path parameters

idstring required

The unique UUID or unique slug of the prompt.

Query parameters

versionstring

Optional version sequence number (integer) or version tag (string) to retrieve along with the prompt details.

tagstring

Optional version tag (string) to retrieve along with the prompt details.

Response

Prompt details

Example response

{
  "version": {
    "template": "Hello {{.name}}!",
    "model": "anthropic/claude-opus-4-6",
    "model_params": {
      "temperature": 0.7,
      "max_tokens": 1024,
      "thinking": {
        "type": "enabled",
        "budget_tokens": 512
      }
    }
  }
}

Changes

Changed in 3 of the 18 revisions of this API.111

  • bed7a47c6f2513See the full diff
    • removed the required property prompt/team_id from the response with the 200 status

      response-required-property-removed

    • added the required property prompt/project_id to the response with the 200 status

      response-required-property-added

    • added the required property version/model to the response with the 200 status

      response-required-property-added

    • added the required property version/model_params to the response with the 200 status

      response-required-property-added

    • the endpoint scheme security ApiKeyAuth was removed from the API

      api-security-removed

    • added the new optional query request parameter tag

      new-optional-request-parameter

    • added the new optional query request parameter version

      new-optional-request-parameter

    • for the path request parameter id, the type/format was generalized from string/uuid to string/

      request-parameter-type-generalized

    • added the optional property version to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the required property prompt/slug to the response with the 200 status

      response-required-property-added

    • added the required property prompt/status to the response with the 200 status

      response-required-property-added

    • added the required property prompt/team_id to the response with the 200 status

      response-required-property-added