Evaluators

Fork Evaluator Variant

Changed on

Fork an evaluator variant into a new variant.

Creates a new branch whose initial revision is copied from the source. Use this to experiment without touching the original. The returned variant has a fresh id and slug but inherits lineage metadata from its source.

post/evaluators/variants/fork

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/evaluators/variants/fork
  • Auth
    API key in header Authorization

Query parameters

evaluator_variant_idstring uuid nullable

Request body

Response

Successful Response

countinteger

1 when a variant is returned, 0 otherwise.

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status