AI - Evaluator

Evaluate

Run an AI evaluator

post/ai/evaluator/evaluate

Request

  • Base URL
    https://api.getcargo.io/v1
  • URL
    https://api.getcargo.io/v1/ai/evaluator/evaluate
  • Auth
    HTTP bearer

Request body

messageUuidstring uuid

When set, the output to grade is read from this message's text.

outputstring

Text to grade directly. Used when messageUuid is not provided.

rubricstring required

Natural-language criteria describing what a good output looks like.

contextstring

Optional extra context to ground the evaluation.

Response

Successful response

Changes

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