Get prompt versions
GET/v1/private/prompts/:id/versions
Get prompt versions
Request
Path Parameters
id uuidrequired
Query Parameters
page int32
Possible values: >= 1
Default value: 1
size int32
Possible values: >= 1
Default value: 10
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
page int32
size int32
total int64
content
object[]
id uuid
version unique identifier, generated if absent
prompt_id uuid
commit string
Possible values: Value must match regular expression ^[a-zA-Z0-9]{8}$
version short unique identifier, generated if absent. it must be 8 characters long
template stringrequired
created_at date-time
created_by string
{
"page": 0,
"size": 0,
"total": 0,
"content": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"prompt_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"commit": "string",
"template": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"created_by": "string"
}
]
}
Loading...