Skip to content
Hayonix

API reference · Schema

EvaluationModelList

  • The items

    Show 8 fields of data
    • idstringrequired

      Unique ID (`mdl_…`)

      ID with prefix mdl_

    • objectstringrequired

      Always `evaluation_model`: the type of this object

      One ofevaluation_model

    • modelstringrequired

      The API name to use as `judge.model` or a candidate `model`

    • display_namestringrequired

      Name to show people

    • sourcestringrequired

      A public catalog model, a fine-tuned model, a dedicated endpoint, or another project model

      One ofcatalogfine_tuneddedicated_endpointproject

    • billingstringrequired

      `per_token`: each call is charged per token at batch prices; `replica_time`: a dedicated endpoint, paid by its replica time instead

      One ofper_tokenreplica_time

    • priceobject | nullrequired

      Batch price, nano-USD per 1M tokens (null: paid by replica time)

      Show 2 fields of price
      • inputstring | nullrequired

        nano-USD per 1M prompt tokens; null when the model has no input price

      • outputstring | nullrequired

        nano-USD per 1M generated tokens; null when the model has no output price

    • servingbooleanrequired

      Whether a replica is ready to serve the model right now; calls to a model nobody serves wait, then fail

  • next_cursorstring | nullrequired

    Pass as `cursor` to get the next page; null when there is no more

Example
{
  "data": [
    {
      "id": "mdl_01jc5zq4m8k3v6x9t2w7r0b1e4",
      "object": "evaluation_model",
      "model": "string",
      "display_name": "string",
      "source": "catalog",
      "billing": "per_token",
      "price": {
        "input": "string",
        "output": "string"
      },
      "serving": true
    }
  ],
  "next_cursor": "string"
}

Used by