POST
/
v1
/
prompt
/
{promptId}
/
versions
/
query
curl --request POST \
  --url https://api.helicone.ai/v1/prompt/{promptId}/versions/query \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{}'
{
  "data": [
    {
      "id": "<string>",
      "minor_version": 123,
      "major_version": 123,
      "helicone_template": "<string>",
      "prompt_v2": "<string>",
      "model": "<string>"
    }
  ]
}

Authorizations

authorization
string
headerrequired

Path Parameters

promptId
string
required

Body

application/json ยท object

The body is of type object.

Response

200 - application/json
data
object[]
required
error
enum<number> | null
required