Pular para o conteúdo principal
GET
/
api
/
v1
/
llm
/
evals
/
schedules
/
{schedule_id}
Python (SDK)
from meetkai_mka1 import SDK


with SDK(
    bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:

    res = sdk.llm.evals.get_schedule(schedule_id="eval_sched_aa87e2b1112a455b8deabed784372198")

    # Handle response
    print(res)
{
  "id": "eval_sched_aa87e2b1112a455b8deabed784372198",
  "object": "eval.schedule",
  "name": "Nightly MMLU regression",
  "description": null,
  "suite_id": "eval_suite_aa87e2b1112a455b8deabed784372198",
  "suite_version": null,
  "cron": "0 3 * * *",
  "interval_seconds": null,
  "timezone": "US/Pacific",
  "overlap_policy": "skip",
  "enabled": true,
  "webhook_url": "https://example.com/hooks/evals",
  "webhook_configured": true,
  "run": {
    "models": [
      "meetkai/model-a"
    ],
    "generation": {}
  },
  "metadata": {
    "team": "eval-ops"
  },
  "last_run_id": null,
  "last_run_at": null,
  "last_run_status": null,
  "next_run_at": 1751328000,
  "created_at": 1751241600,
  "updated_at": 1751241600
}

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Parâmetros de caminho

schedule_id
string
obrigatório

Resposta

200 - application/json

OK

id
string
obrigatório
object
any
obrigatório
name
string
obrigatório
description
string | null
obrigatório
suite_id
string
obrigatório
suite_version
integer | null
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
cron
string | null
obrigatório
interval_seconds
integer | null
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
timezone
string
obrigatório
overlap_policy
enum<string>
obrigatório
Opções disponíveis:
skip,
buffer_one,
allow_all
enabled
boolean
obrigatório
webhook_url
string | null
obrigatório
webhook_configured
boolean
obrigatório

True when a signing secret is stored. The secret itself is never returned.

run
object
obrigatório
metadata
object
obrigatório
last_run_id
string | null
obrigatório
last_run_at
integer | null
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
last_run_status
string | null
obrigatório
next_run_at
integer | null
obrigatório

Next scheduled fire time from Temporal, when resolvable.

Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
created_at
integer
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991
updated_at
integer
obrigatório
Intervalo obrigatório: -9007199254740991 <= x <= 9007199254740991