Evaluators

Resolve Evaluator Revision

Changed on

Resolve embedded references on an evaluator revision's data.

Walks embedded references (for example, references to other revisions or to secrets) up to max_depth and max_embeds. The response includes a resolution_info block with counts, depth reached, and errors according to error_policy.

post/evaluators/revisions/resolve

Request

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

Request body

max_depthinteger nullable

Maximum recursion depth when following embedded references. Defaults to 10.

max_embedsinteger nullable

Maximum number of embeds to resolve. Defaults to 100.

error_policy'exception' | 'placeholder' | 'keep'

Response

Successful Response

countinteger

1 when a revision was resolved, 0 otherwise.

Changes

    • info

      added the new optional request property

    • info

      added to the response property anyOf list for the response status

    • info

      removed from the response property anyOf list for the response status

    • info

      added the optional property to the response with the status