GET
/
prompts
Authorization
Query
curl --request GET \
  --url https://api.honeyhive.ai/prompts \
  --header 'Authorization: <authorization>'
[
  {
    "created_at": "2023-11-07T05:31:56Z",
    "few_shot_examples": [
      {}
    ],
    "hyperparameters": {},
    "input_variables": [
      "<string>"
    ],
    "is_deployed": true,
    "model": "<string>",
    "name": "<string>",
    "task": "<string>",
    "text": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "version": "<string>"
  }
]

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

task
string
name
string

Response

200 - application/json
created_at
string

The timestamp of when the prompt was created

few_shot_examples
object[] | null

The few shot examples for the prompt

hyperparameters
object

The hyperparameters for the prompt

input_variables
string[]

The input variables to feed into the prompt

is_deployed
boolean

Flag indicating if the prompt is deployed

model
string

The model to be used for the prompt

name
string

The unique name of the prompt

task
string

The task for which the prompt is being created

text
string

The text of the prompt

updated_at
string

The timestamp of when the prompt was last updated

version
string

The version of the prompt