Skip to main content
GET
/
api
/
prompts
/
{promptId}
/
versions
/
{versionId}
Get a single prompt version
curl --request GET \
  --url https://your-instance.example.com/api/prompts/{promptId}/versions/{versionId} \
  --header 'Authorization: Bearer <token>'
{
  "_id": "65f9b1c2e8a1d4e001a0b1c4",
  "promptId": "5f7b1c2e8a1d4e0012c3b4a5",
  "prompt": "<prompt><role>Leasing assistant</role><goal>Re-engage leads 24h after their last reply.</goal></prompt>",
  "version": 5,
  "label": "Pre-launch checkpoint",
  "displayVersion": "v1.4",
  "title": "Pre-launch",
  "description": "Snapshot before rolling out to production.",
  "source": "manual_save",
  "createdBy": "64a1b2c3d4e5f60012345679",
  "createdAt": "2026-04-25T10:14:00.000Z",
  "updatedAt": "2026-04-25T10:14:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

promptId
string
required
versionId
string
required

Response

Version returned

Full prompt-version document including the prompt body.

_id
string
promptId
string
prompt
string
version
integer
label
string | null
displayVersion
string | null
title
string | null
description
string | null
source
enum<string>
Available options:
manual_save,
ai_apply,
checkpoint
createdBy
string
createdAt
string<date-time>
updatedAt
string<date-time>