> For the complete documentation index, see llms.txt.
Skip to main content

Check out Port for yourself ➜ 

Create a scorecard group from an existing scorecard

POST 

/v1/scorecard-groups/from-scorecard/:scorecard_identifier

This route converts an existing standalone scorecard into a scorecard group. The body has the same shape as creating a scorecard group: either a per-blueprint scorecards map or shared blueprints + rules, and it must include the blueprint of the source scorecard. The source scorecard keeps its identifier and rule results and is updated with its blueprint's rules and filter; related scorecards for the other blueprints are created as {blueprint}_{groupIdentifier}.

Pass groupProperties to set additional properties on the scorecard group entity (_scorecard_group blueprint), and scorecardProperties to set additional properties on every related scorecard (_scorecard blueprint). Property keys must match custom properties you added to the corresponding blueprint. Pass groupRelations and scorecardRelations to set additional relations on the same entities; relation keys must match custom relations you added to the corresponding blueprint. On PUT, omitted relation keys are cleared; you can also pass null to clear a specific relation. To learn more, see extend the default scorecards.

This is a closed beta feature. To learn more about scorecards, check out the documentation.

Request​

Responses​

Default Response