APIReference
Назначить версию датасета ответами фазы
A phase's answers are ONE evaluator-scoped dataset-version binding. Uploading a file is the legacy shape of that operation: it leaves a second copy that no longer shares the dataset's version history.
Авторизация
apiToken АвторизацияBearer <token>
StackMoreLayers API token. Send as
Authorization: Bearer sml_pat_live_<prefix>.<secret>.
In: header
Параметры пути
competition_id*integer
Numeric competition identifier.
Range
1 <= valuephase_id*integer
Numeric phase identifier.
Range
1 <= valueЗаголовки
Idempotency-Key?string
Opaque client-generated key. A retry with the same key and body returns the original result instead of repeating the effect.
Match
^[!-~]+$Length
8 <= length <= 128Тело запроса
application/json
Типы TypeScript
Use the request body type in TypeScript.
Ответ
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/competitions/1/phases/1/ground-truth/from-dataset/" \ -H "Content-Type: application/json" \ -d '{ "dataset_id": "string", "dataset_version_id": "string" }'{ "state": "processing", "upload_ref": "string", "reason_code": "string", "safe_message": "string"}