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
Testrecord
Read Testrecord
GET
https://
api.getscorecard.ai
/
v1
/
run
/
:run_id
/
testrecord
/
:testrecord_id
Retrieve Testrecord metadata
Path parameters
testrecord_id
integer
Required
run_id
integer
Required
Response
This endpoint returns an object
id
integer
Optional
created_at
datetime
Optional
The creation date and time of the testrecord.
run_id
integer
Optional
The ID of the run the testrecord belongs to.
testset_id
integer
Optional
The ID of the testset the testrecord belongs to.
testcase_id
integer
Optional
The ID of the testcase the testrecord belongs to.
user_query
string
Optional
The user query for the testrecord.
context
string
Optional
The context for the testrecord.
model_response
string
Optional
The actual response of the model for the testrecord.
ideal
string
Optional
The ideal response for the testrecord.
custom_inputs
map from strings to optional strings or objects
Optional
Show 3 variants
custom_labels
map from strings to optional strings or objects
Optional
Show 3 variants
custom_outputs
map from strings to optional strings or objects
Optional
Show 3 variants
status
string
Optional
The current status of the testrecord.
prompt
string
Optional
The prompt used to generate the testrecord.
model_params
map from strings to optional integers or doubles or strings
Optional
The model parameters used when generating the testrecord.
Show 3 variants
model_debug_info
map from strings to optional integers or doubles or strings
Optional
Debug information produced during the testrecord's generation.
Show 3 variants
error_message
string
Optional
The error message for the testrecord.
Errors
401
Unauthorized
403
Forbidden
404
Not Found
422
Unprocessable Entity
Built with