Search...
/
Contact
Sign in
Documentation
API Reference
Glossary
Overview
API Reference
Testset
GET
Read Testset
DEL
Delete
PATCH
Update Testset
POST
Create Testset
GET
Read Testset Schema
GET
Read Testcases
Testcase
POST
Create Testcase
GET
Read Testcase
DEL
Delete Testcase
PATCH
Update Testcase
POST
Batch Copy Testcases
PATCH
Batch Delete Testcases
Testrecord
GET
Read Testrecord
POST
Create Testrecord
Run
POST
Create Run
GET
Read Run
PATCH
Update Run Status
Score
POST
Create Score
PATCH
Update Score
Run Metric
GET
Read Run Metrics
Tracing
GET
Get Traces
GET
Get Trace
GET
Get Trace Span
Prompt
GET
Get Prompt By Name
POST
Create Prompt
GET
Get Prompt By Id
DEL
Delete Scoring Config
PATCH
Update Prompt
Scoring Config
POST
Create Scoring Config
GET
Get Scoring Config
Contact
Sign in
API Reference
Run
Update Run Status
PATCH
https://
api.getscorecard.ai
/
v1
/
run
/
:run_id
/
status
Update the status of a run.
Path parameters
run_id
integer
Required
The id of the run to update.
Request
This endpoint expects an object.
status
enum
Optional
Show 7 enum values
Response
This endpoint returns an object
id
integer
Optional
created_at
datetime
Optional
The creation date and time of the run.
updated_at
datetime
Optional
The last time the run was updated.
execution_start_time
datetime
Optional
The start time of the run.
execution_end_time
datetime
Optional
The end time of the run.
testset_id
integer
Optional
The testset that was executed in this run.
status
string
Optional
The current status of the run.
limit_testcases
integer
Optional
The maximum number of testcases to run.
source
string
Optional
How the run was created.
model_params
map from strings to any
Optional
The model parameters used when generating the run.
notes
string
Optional
Notes about the run.
scoring_config_id
integer
Optional
The ID of the scoring configuration the run uses.
prompt_template
string
Optional
The prompt template to be used while executing the run.
scoring_start_time
datetime
Optional
The start time of scoring the run's results.
scoring_end_time
datetime
Optional
The end time of scoring the run's results.
Errors
401
Unauthorized
403
Forbidden
404
Not Found
422
Unprocessable Entity
Built with