Skip to content
Context docs
Evals API

Scorecards

Serverhttps://context.example.com/api/v1/evals

A scorecard groups judges, in order, into the form people fill in when they give feedback; some of its judges can be required. It applies where one of its scopes matches (an organization, workspace or user, where an empty field matches any), applies everywhere when it has no scopes, and reaches the feedback panel only while it is active. This API serves automatic scorecards (kind auto) read-only; skill rubrics are never served, and a skill rubric's ID answers 404.


List scorecards

GET
https://context.example.com/api/v1/evals
/scorecards
Bearer (tsk_<prefix>_<secret>)
or
X-API-Key (header)

Returns the organization's automatic scorecards in their display order, each with its judges in order and its scopes. Skill rubrics are not listed.

List scorecards › Responses

Successful response

​object[]

The organization's automatic feedback scorecards, with their judges and scopes. Skill rubrics are not included.

A scorecard with its judges and scopes
id
​string · minLength: 1 · required

Unique scorecard identifier

orgId
​string · minLength: 1 · required

Organization that owns this scorecard

createdById
​string | null · minLength: 1 · required

User who created this scorecard

name
​string · minLength: 1 · maxLength: 100 · required

Scorecard display name

description
​string | null · maxLength: 1000 · required

Optional scorecard description

isActive
​boolean · required

Whether the scorecard is active

isAdditionalCommentsRequired
​boolean · required

Whether the additional comments field is required when submitting feedback

displayOrder
​integer · min: 0 · required

Position in the scorecard list

kind
​string · enum · required

Always auto on this API (automatic feedback scorecards). Skill rubrics, managed with context evals scorecard, are never served here; a skill rubric's ID answers 404.

Enum values:
auto
skill-rubric
createdAt
​string · date-time · required

Creation timestamp

updatedAt
​string · date-time · required

Last update timestamp

​object[] · required

Attached judges, in order

​object[] · required

Scope filters

judgeCount
​integer · min: 0 · required

Number of attached judges

evalRunCount
​integer · min: 0

Number of evaluation runs that use this scorecard


Get a scorecard

GET
https://context.example.com/api/v1/evals
/scorecards/{scorecardId}
Bearer (tsk_<prefix>_<secret>)
or
X-API-Key (header)

Returns one automatic scorecard with its judges and scopes. A skill rubric's ID, or another organization's scorecard, answers 404.

Get a scorecard › path Parameters

scorecardId
​string · minLength: 1 · required

Scorecard identifier

Scorecard identifier

Get a scorecard › Responses

Successful response

A scorecard with its judges and scopes
id
​string · minLength: 1 · required

Unique scorecard identifier

orgId
​string · minLength: 1 · required

Organization that owns this scorecard

createdById
​string | null · minLength: 1 · required

User who created this scorecard

name
​string · minLength: 1 · maxLength: 100 · required

Scorecard display name

description
​string | null · maxLength: 1000 · required

Optional scorecard description

isActive
​boolean · required

Whether the scorecard is active

isAdditionalCommentsRequired
​boolean · required

Whether the additional comments field is required when submitting feedback

displayOrder
​integer · min: 0 · required

Position in the scorecard list

kind
​string · enum · required

Always auto on this API (automatic feedback scorecards). Skill rubrics, managed with context evals scorecard, are never served here; a skill rubric's ID answers 404.

Enum values:
auto
skill-rubric
createdAt
​string · date-time · required

Creation timestamp

updatedAt
​string · date-time · required

Last update timestamp

​object[] · required

Attached judges, in order

​object[] · required

Scope filters

judgeCount
​integer · min: 0 · required

Number of attached judges

evalRunCount
​integer · min: 0

Number of evaluation runs that use this scorecard


List scorecard scope options

GET
https://context.example.com/api/v1/evals
/scorecards/scope-options
Bearer (tsk_<prefix>_<secret>)
or
X-API-Key (header)

Returns the workspaces and users you can choose from when setting a scorecard's scope: up to 50 of each, by name.

List scorecard scope options › Responses

Successful response

Workspaces and users you can choose from when setting a scorecard's scope
​object[] · required

Up to 50 workspaces in the organization, by name

​object[] · required

Up to 50 users in the organization, by name