Scorecards
Use these operations to interact with Scorecards in Cortex.
Required permissions
Create, read, update, or delete Scorecards: Your API key must have the
Edit Scorecardspermission.View Scorecards: Your API key must have the
View Scorecardspermission.Approve or revoke Scorecard exemptions: Your API key must have the
Configure Scorecard exemptionspermission.
Operations
Returns scorecards matching optional search criteria. If search criteria is specified we will use search logic, which will not find Scorecards that have yet to be evaluated
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.
Filter based on groups, which correspond to the x-cortex-groups field in the Catalog Descriptor. Accepts a comma-delimited list of groups
Page number to return, 0-indexed. Default 0.
0Number of results to return per page, between 1 and 1000. Default 250.
250OK
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
Returns latest scores for all entities in the Scorecard
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.
Unique tag for the Scorecard
my-production-readiness-checklistEntity tag (x-cortex-tag)
Number of results to return per page, between 1 and 1000. Default 250.
250Page number to return, 0-indexed. Default 0.
0Scorecard scores
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
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.
The tag (x-cortex-tag) or unique, auto-generated identifier for the entity.
All entity Scorecard scores
Entity not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
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.
Unique tag for the Scorecard
my-production-readiness-checklistSuccessfully retrieved Scorecard
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
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.
Unique tag for the Scorecard
my-production-readiness-checklistSuccessfully retrieved Scorecard descriptor
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
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.
Unique tag for the Scorecard.
The tag (x-cortex-tag) or unique, auto-generated identifier for the entity.
Shields.io badge
Entity or Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
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.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Any rules remaining for the entity to reach the next level in the Scorecard.
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
Create or update a Scorecard using the descriptor YAML. The operation is determined by the existence of a Scorecard with the same tag as passed in the descriptor.
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.
When true, this endpoint only validates the descriptor contents and returns any errors or warnings.
Created Scorecard
Bad Request
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
Request Scorecard rule exemption
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.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Number of days how long rule should be exempt. If not set, rule will be exempt until exempt until revoked.
Reason for creating exemption
Identifier of the Scorecard rule to request exemption for
Successfully requested Scorecard rule exemption
Scorecard not found, entity not found, or rule with given identifier not found within the Scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
Triggers score evaluation for entity scorecard
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.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Scorecard score evaluation triggered successfully
No content
Unauthorized
Scorecard not found
Already evaluating scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
Scorecard evaluation failed
No content
Revoke Scorecard rule exemption
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.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Identifier of the Scorecard rule
Revoked Scorecard rule exemptions
No approved exemptions to revoke found
Scorecard not found, entity not found, or rule with given identifier not found within the Scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
Approve Scorecard rule exemption
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.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Identifier of the Scorecard rule
Successfully approved Scorecard rule exemptions
No pending exemptions to approve found
Scorecard not found, entity not found, or rule with given identifier not found within the Scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
Deny Scorecard rule exemption
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.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Identifier of the Scorecard rule
Denied Scorecard rule exemptions
No pending exemptions to approve found
Scorecard not found, entity not found, or rule with given identifier not found within the Scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
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.
Unique tag for the Scorecard
my-production-readiness-checklistSuccessfully deleted Scorecard
No content
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
No content
Last updated
Was this helpful?