Set script evals active

Switch evals on or off. An inactive eval is kept with its history, but it is not run and does not gate a promote.

post/api/scripts/{handle}/{host}/{slug}/evals/active

Request

  • Base URL: https://reduck.ai
  • URL: https://reduck.ai/api/scripts/{handle}/{host}/{slug}/evals/active
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

handlestring required

The owner a resource is addressed under: "@username" for a personal scope, or a bare slug for a project.

hoststring required

The site the script automates, as a hostname.

slugstring required

The script's unique identifier within its host, unique per owner.

Request body

eval_idsstring[] required
activeboolean required

Response

OK

Changes

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