StackMoreLayersДокументация
APIReference

Отправить ноутбук через API (выведено)

Устаревший

POST
/workspaces/{workspace_id}/submissions/

Retired: notebooks are not submitted through the API. A notebook is submitted by running it in its workspace: open the workspace and use «Submit notebook». The notebook runs in a clean environment (in a code competition, on the hidden test without network) and the predictions it writes are submitted.

After the token is checked, this operation answers 410 with error_code notebook_submissions_moved_to_workspace_runs. It reads no body and calls no service.

АвторизацияBearer <token>

StackMoreLayers API token. Send as Authorization: Bearer sml_pat_live_<prefix>.<secret>.

In: header

Параметры пути

workspace_id*string

Stable notebook workspace identifier.

Length1 <= length <= 255

Заголовки

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^[!-~]+$
Length8 <= length <= 128

Ответ

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/workspaces/string/submissions/"
{  "error_code": "permission_denied",  "message": "string",  "request_id": "string"}