Prompt
Get Prompt Versions
Prompt
Get Prompt Versions
Retrieve versions of a specific prompt.
POST
/
v1
/
prompt
/
{promptId}
/
versions
/
query
authorization
string
*
authorization
Required
string
promptId
string
*
promptId
Required
string
object
*
filter
Option 1 · object
filter
object
From T, pick a set of properties whose keys are in the union K
prompts_versions
object
prompts_versions
object
Make all properties in T optional
minor_version
object
minor_version
object
Make all properties in T optional
not-equals
number
not-equals
number
equals
number
equals
number
gte
number
gte
number
lte
number
lte
number
lt
number
lt
number
gt
number
gt
number
major_version
object
major_version
object
Make all properties in T optional
not-equals
number
not-equals
number
equals
number
equals
number
gte
number
gte
number
lte
number
lte
number
lt
number
lt
number
gt
number
gt
number
id
object
id
object
Make all properties in T optional
not-equals
string
not-equals
string
equals
string
equals
string
like
string
like
string
ilike
string
ilike
string
contains
string
contains
string
not-contains
string
not-contains
string
prompt_v2
object
prompt_v2
object
Make all properties in T optional
not-equals
string
not-equals
string
equals
string
equals
string
like
string
like
string
ilike
string
ilike
string
contains
string
contains
string
not-contains
string
not-contains
string
includeExperimentVersions
boolean
includeExperimentVersions
boolean
Authorizations
Path Parameters
Body
application/json
From T, pick a set of properties whose keys are in the union K
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Make all properties in T optional
Response
200 - application/json
Construct a type with a set of properties K of type T
Was this page helpful?