Prompts

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}

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/v1/prompts/{id}
  • Auth: HTTP bearer

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

    • breaking

      removed the required property / from the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      the endpoint scheme security ApiKeyAuth was removed from the API

    • info

      added the new optional query request parameter tag

    • info

      added the new optional query request parameter version

    • info

      for the path request parameter id, the format was generalized from uuid to no format

    • info

      added the optional property to the response with the status