Skip to main content

Get a Prompt by Id

Get a Prompt by Id

Path Parameters
id uuid REQUIRED
Responses
200

Default Response

Schema OPTIONAL
object[]
id uuid
title string
models uuid[]
promptParams object
messages object[] OPTIONAL
role
content string
prompt string OPTIONAL
temperature number OPTIONAL
top_p number OPTIONAL
n number OPTIONAL
stop OPTIONAL
max_tokens number OPTIONAL
presence_penalty number OPTIONAL
frequency_penalty number OPTIONAL
logit_bias OPTIONAL
user string OPTIONAL
functions object[] OPTIONAL
function_call object OPTIONAL
isDeleted boolean
parentPromptId uuid
versionNumber number
updateMessage string OPTIONAL
createdAt object
updatedAt object
404

Default Response

Schema OPTIONAL
message string
GET /api/v1/prompt/:id
id — path
http://localhost
curl -L 'http://localhost/api/v1/prompt/:id' \
-H 'Accept: application/json'