GET
/v1/private/prompts/{promptId}/versions/by-number/{versionNumber}Get prompt version by sequential numberGet a prompt version by its sequential v<N> number for the given prompt.
Parameters
promptIdstring · uuidpathrequiredversionNumberstringpathrequiredResponses
objectPromptVersion_Detail
change_descriptionstringcommitstringversion short unique identifier, generated if absent. it must be 8 characters long
created_atstring · date-timecreated_bystringenvironmentstringDeprecated: use 'environments' instead
environmentsarray of stringShow child attributes
idstring · uuidversion unique identifier, generated if absent
metadataobjectprompt_idstring · uuidtagsarray of stringShow child attributes
templatestringrequiredtemplate_structurestringtypestringvariablesarray of stringShow child attributes
version_numberstringsequential version number in the format v<N>; null for masks
version_typestringversion type discriminator; defaults to prompt_version
{
"change_description": "string",
"commit": "string",
"created_at": "2026-06-09T00:00:00Z",
"created_by": "string",
"environment": "string",
"environments": [
"string"
],
"id": "00000000-0000-0000-0000-000000000000",
"metadata": {},
"prompt_id": "00000000-0000-0000-0000-000000000000",
"tags": [
"string"
],
"template": "string",
"template_structure": "chat",
"type": "jinja2",
"variables": [
"string"
],
"version_number": "string",
"version_type": "mask"
}objectErrorMessage_Detail
errorsarray of stringShow child attributes
{
"errors": [
"string"
]
}objectErrorMessage_Detail
errorsarray of stringShow child attributes
{
"errors": [
"string"
]
}