tasks

Secret Suites Rotate

Rotate a secret suite: bump suite_version for every task in it.

Rotation makes a leaked answer go stale — runs recorded under the old version keep their recorded version (the run snapshots it at finalize), so a builder who memorised the previous answers gets no credit on the new version. Operator-driven (no automatic rotation). 404 when the suite has no tasks (so a typo'd suite_id can't silently no-op).

post/api/v1/tasks/secret-suites/rotate

Request

  • Base URL: https://api.badgeia.com
  • URL: https://api.badgeia.com/api/v1/tasks/secret-suites/rotate
  • Auth: none declared

Request body

suite_idstring required

Response

Successful Response

suite_idstring required
previous_versioninteger required
new_versioninteger required
tasks_rotatedinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.