Enterprise
Quick Start
Search...
/
API Reference
Tutorials
Introduction
Getting started
API Reference
Annotations
Users
Actions
Views
Files
Projects
ML
Predictions
Tasks
Import Storage
Export Storage
Webhooks
Prompts
GET
List prompts
POST
Create prompt
GET
Get prompt
DEL
Delete prompt
PATCH
Update prompt
POST
Create batch predictions
POST
Create batch of failed predictions
Versions
GET
List prompt versions
POST
Create prompt version
GET
Get prompt version
DEL
Delete prompt version
PATCH
Update prompt version
POST
Get cost estimate for running a prompt version on a particular project/subset
GET
Get refined prompt
POST
Refine a prompt version
Runs
Indicators
Model Providers
Comments
Workspaces
Enterprise
Quick Start
API Reference
Prompts
Versions
Get prompt version
GET
http://localhost:8080
/
api
/
prompts
/
:id
/
versions
/
:version_id
Get a prompt version by ID.
Path parameters
id
integer
Required
Prompt ID
version_id
integer
Required
Prompt Version ID
Response
This endpoint returns an object.
title
string
Optional
parent_model
integer
Optional
model_provider_connection
integer
Optional
prompt
string
Optional
provider
"OpenAI" or "AzureOpenAI"
Optional
Allowed values:
OpenAI
AzureOpenAI
provider_model_id
string
Optional
created_by
integer or map from strings to any
Optional
Show 2 variants
created_at
datetime
Optional
updated_at
datetime
Optional
organization
integer or map from strings to any
Optional
Show 2 variants
Delete prompt version
Up Next
Built with