runs
Get Prompt Run
Gets a specific prompt run for the project.
This is different from get_project_runs because it adds extra details that are needed for the prompt run page.
GET
/
projects
/
{project_id}
/
prompts
/
runs
/
{run_id}
Authorizations
Galileo-API-Key
string
headerrequiredPath Parameters
project_id
string
requiredrun_id
string
requiredQuery Parameters
scope
string | null
default: Response
200 - application/json
hallucination_severity
integer
default: 0name
string | null
project_id
string | null
created_by
string
requirednum_samples
integer
requiredwinner
boolean
requireddataset_hash
string | null
id
string
requiredcreated_at
string
requiredupdated_at
string
requiredtask_type
enum<integer> | null
Valid task types for modeling.
We store these as ints instead of strings because we will be looking this up in the database frequently.
Available options:
0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
, 14
last_updated_by
string
requiredrun_tags
object[]
job_id
string
requiredjob_status
enum<string>
requiredAvailable options:
unstarted
, in_progress
, completed
, error
, failed
model_alias
string | null
template_id
string | null
dataset_id
string | null
template_version_id
string | null
template_version
integer | null
template_version_selected
boolean | null
total_responses
integer
default: 0metrics
object
average_hallucination
number | null
average_bleu
number | null
average_rouge
number | null
average_cost
number | null
average_latency
number | null
total_cost
number | null
prompt_settings
object | null
Prompt run settings.
prompt_scorers_configuration
object
Configure which scorers to enable for a particular prompt run.
The keys here are sorted by their approximate execution time to execute the scorers that we anticipate will be the fastest first, and the slowest last.
prompt_registered_scorers_configuration
object[] | null
prompt_customized_scorers_configuration
object[] | null
Was this page helpful?