ShadowPairRead
Fields
18 fields
agent_id· required- string
agent_label· required- string
candidate_output· required- object
candidate_tier· required- string
candidate_tokens· required- integer
created_at- string or null
expires_at- string or null
id· required- string
incumbent_output· required- object
incumbent_tier· required- string
incumbent_tokens· required- integer
label- object or null
label_status· required- string
labelled_at- string or null
labelled_by_name- string or null
project_id· required- string
sample_key· required- string
source- ShadowPairSource or null
Raw schema (JSON)
{
"properties": {
"agent_id": {
"title": "Agent Id",
"type": "string"
},
"agent_label": {
"title": "Agent Label",
"type": "string"
},
"candidate_output": {
"additionalProperties": true,
"title": "Candidate Output",
"type": "object"
},
"candidate_tier": {
"title": "Candidate Tier",
"type": "string"
},
"candidate_tokens": {
"title": "Candidate Tokens",
"type": "integer"
},
"created_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Created At"
},
"expires_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"id": {
"title": "Id",
"type": "string"
},
"incumbent_output": {
"additionalProperties": true,
"title": "Incumbent Output",
"type": "object"
},
"incumbent_tier": {
"title": "Incumbent Tier",
"type": "string"
},
"incumbent_tokens": {
"title": "Incumbent Tokens",
"type": "integer"
},
"label": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Label"
},
"label_status": {
"title": "Label Status",
"type": "string"
},
"labelled_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Labelled At"
},
"labelled_by_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Labelled By Name"
},
"project_id": {
"title": "Project Id",
"type": "string"
},
"sample_key": {
"title": "Sample Key",
"type": "string"
},
"source": {
"anyOf": [
{
"$ref": "#/components/schemas/ShadowPairSource"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"project_id",
"agent_id",
"agent_label",
"sample_key",
"incumbent_tier",
"candidate_tier",
"incumbent_output",
"candidate_output",
"incumbent_tokens",
"candidate_tokens",
"label_status"
],
"title": "ShadowPairRead",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
POST/api/v1/ai-eval/shadow-pairs/{shadow_pair_id}/label— Label Shadow PairGET/api/v1/ai-eval/shadow-pairs— List Shadow Pairs
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON