Skip to main content
POST
Create or update Scorecard

Authorizations

Authorization
string
header
required

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Query Parameters

dryRun
boolean

When true, this endpoint only validates the descriptor contents and returns any errors or warnings.

Body

application/yaml;charset=UTF-8

Raw text of the YAML
See an example of a yaml file for scorecards here

The body is of type string.

Response

Created Scorecard

scorecard
object
required
Last modified on September 24, 2026