cURL
curl --request POST \ --url https://api.helicone.ai/v1/prompt/version/{promptVersionId}/subversion \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "newHeliconeTemplate": "<any>", "isMajorVersion": true, "metadata": {}, "experimentId": "<string>", "bumpForMajorPromptVersionId": "<string>" }'
{ "data": { "id": "<string>", "minor_version": 123, "major_version": 123, "prompt_v2": "<string>", "model": "<string>", "helicone_template": "<string>", "created_at": "<string>", "metadata": {}, "parent_prompt_version": "<string>", "experiment_id": "<string>", "updated_at": "<string>" } }
Retrieve a subversion of a specific prompt version
Bearer token authentication. Format: 'Bearer YOUR_API_KEY'
Construct a type with a set of properties K of type T
Show child attributes
Ok
Was this page helpful?