Get Prompt
GET/v2/prompts/:promptid/
Get Prompt
Request
Path Parameters
promptid Promptidrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
Array [
]
- EvaluationError
name Name (string)required
timestamp Timestamp (string)required
llm Llm (string)required
dataset Dataset (string)required
experiment
object
anyOf
string
task_description Task Description (string)required
metric Metric (string)required
history
object
anyOf
object
status Status (string)required
Possible values: [PENDING
, RUNNING
, COMPLETED
, FAILED
]
error_info
object
anyOf
error_id Error Id (string)required
error_msg Error Msg (string)required
{
"name": "string",
"timestamp": "string",
"llm": "string",
"dataset": "string",
"experiment": "string",
"task_description": "string",
"metric": "string",
"history": [
null
],
"status": "PENDING",
"error_info": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...