Skip to main content

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

OK

Schema

    page int32
    size int32
    total int64

    content

    object[]

  • Array [

  • 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
  • ]

Loading...