Prompts

Get prompt version

GET

Path parameters

idstringRequired
Identifier for a prompt. Formatted as a UUID.
versionintegerRequired
Version number for a prompt. Version numbers should be integers.

Response

This endpoint returns an optional object
id
string
Identifier for a Prompt. Formatted as a UUID.
version
integer
Version number for a Prompt. Version numbers should be integers. The combination of configId and version number is unique.
version_type
string
Inidicates whether this prompt is using a fixed version number or auto-updating to the latest version. Values from the VersionType enum.
name
string
Name applied to all versions of a particular Prompt.
created_on
integer
The timestamp when the first version of this prompt was created.
modified_on
integer
The timestamp when this version of the prompt was created.
text
string
Text used for this version of the Prompt.
version_description
stringOptional
Description that is appended to a specific version of a Prompt.
GET
1curl https://api.hume.ai/v0/evi/prompts/id/version/1 \
2 -H "X-Hume-Api-Key: <apiKey>"
Response
1{
2 "id": "id",
3 "version": 1,
4 "version_type": "version_type",
5 "name": "name",
6 "created_on": 1,
7 "modified_on": 1,
8 "text": "text",
9 "version_description": "version_description"
10}