Prompts

List prompts

GET

Query parameters

page_numberintegerOptional
The page number of the results to return.
page_sizeintegerOptional
The maximum number of results to include per page.
restrict_to_most_recentbooleanOptional
Only include the most recent version of each prompt in the list.

Response

This endpoint returns an object
page_number
integer
The page number of the returned results.
page_size
integer
The number of results returned per page.
prompts_page
list of optional objects
List of prompts returned for the specified page number and page size.
GET
1curl https://api.hume.ai/v0/evi/prompts \
2 -H "X-Hume-Api-Key: <apiKey>"
200Retrieved
1{
2 "page_number": 1,
3 "page_size": 1,
4 "prompts_page": [
5 {
6 "id": "id",
7 "version": 1,
8 "version_type": "version_type",
9 "name": "name",
10 "created_on": 1,
11 "modified_on": 1,
12 "text": "text",
13 "version_description": "version_description"
14 }
15 ]
16}