Start model runs
POST /api/v1/predictive-models/runs: request fields and declared response contract.
POST/api/v1/predictive-models/runs
| Property | Value |
|---|---|
| Permission | dataPipelines.manage |
| Workspace scope | required |
| Scope target | workspace |
Response
201
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| data | object | required | non-null | — |
| data.runId | string | required | non-null | — |
| data.companyId | string | required | non-null | — |
| data.workspaceId | string | required | non-null | — |
| data.workUnitId | string | required | non-null | — |
| data.status | "requested" | "waiting_capacity" | "preparing" | "starting" | "running" | "cancel_requested" | "succeeded" | "failed" | "cancelled" | "blocked" | required | non-null | — |
| data.revision | integer | required | non-null | — |
| data.refs | object | required | non-null | — |
| data.refs.objectiveId | string | required | non-null | — |
| data.refs.dataDefinitionId | string | optional | non-null | — |
| data.refs.projectKey | string | required | non-null | — |
| data.refs.projectVersion | integer | required | non-null | — |
| data.refs.executorKind | string | required | non-null | — |
| data.refs.resourceClass | string | required | non-null | — |
| data.refs.maxSpendUsdMicros | integer | required | non-null | — |
| data.refs.deadlineAt | string | required | non-null | — |
| data.refs.executorConfigRef | string | optional | non-null | — |
| data.refs.recipe | object | optional | non-null | — |
| data.refs.recipe.recipeId | string | required | non-null | — |
| data.refs.recipe.revision | integer | required | non-null | — |
| data.refs.recipe.installedCapabilityId | string | optional | non-null | — |
| data.refs.recipe.rawDataset | object | optional | non-null | — |
| data.refs.recipe.training | object | optional | non-null | — |
| data.refs.inferenceInput | object | optional | non-null | — |
| data.refs.inferenceInput.manifestUri | string | required | non-null | — |
| data.refs.inferenceInput.manifestDigest | string | required | non-null | — |
| data.refs.workbench | object | optional | non-null | — |
| data.refs.workbench.schemaVersion | number | required | non-null | — |
| data.refs.workbench.workbenchRunId | string | required | non-null | — |
| data.refs.workbench.nodeId | string | required | non-null | — |
| data.refs.workbench.executionAttempt | number | required | non-null | — |
| data.refs.workbench.workbench | object | required | non-null | — |
| data.refs.workbench.requestedBy | string | required | non-null | — |
| data.refs.workbench.rawDataset | object | required | non-null | — |
| data.refs.workbench.training | object | optional | non-null | — |
| data.admissionAttempt | integer | required | non-null | — |
| data.receipt | object | optional | non-null | — |
| data.receipt.workUnitId | string | required | non-null | — |
| data.receipt.revision | string | required | non-null | — |
| data.receipt.pools | array | required | non-null | — |
| data.receipt.expiresAtEpochSeconds | integer | required | non-null | — |
| data.receipt.policy | object | optional | non-null | — |
| data.receipt.policy.envelopeId | string | required | non-null | — |
| data.receipt.policy.pinnedAt | string | required | non-null | — |
| data.receipt.policy.limits | object | required | non-null | — |
| data.reservationExpiresAt | string | optional | non-null | — |
| data.blockedReason | string | optional | non-null | — |
| data.provider | string | optional | non-null | — |
| data.supervisorKey | string | optional | non-null | — |
| data.createdAt | string | required | non-null | — |
| data.updatedAt | string | required | non-null | — |
| data.statusUpdatedAt | string | required | non-null | — |
Declared failures
| Property | Value |
|---|---|
| ACCESS_DENIED | 403 — not retryable |
| CORE_ERROR | 500 — not retryable |
| GOVERNANCE_DENIED | 403 — not retryable |
| QUOTA_DENIED | 429 — retryable |
| RECIPE_BUDGET_INVALID | 409 — not retryable |
| RECIPE_DATASET_INCOMPATIBLE | 409 — not retryable |
| RECIPE_DATASET_VERSION_REQUIRED | 409 — not retryable |
| RECIPE_INSTALLATION_MISMATCH | 409 — not retryable |
| RECIPE_NOT_RUNNABLE | 409 — not retryable |
| RECIPE_PREPARE_UNQUALIFIED | 409 — not retryable |
| RECIPE_RAW_SNAPSHOT_DENIED | 409 — not retryable |
| RECIPE_RAW_SNAPSHOT_REQUIRED | 409 — not retryable |
| RECIPE_REFERENCE_UNAVAILABLE | 409 — not retryable |
| RECIPE_REVISION_STALE | 409 — not retryable |
| RECIPE_REVISION_UNSAVED | 409 — not retryable |
| REQUEST_IDENTITY_INTENT_CONFLICT | 409 — not retryable |
| VALIDATION_ERROR | 400 — not retryable |
| VALIDATION_INPUT_ERROR | 400 — not retryable |
Durable identity
| Property | Value |
|---|---|
| Kind | request-identity |
| Request fields | requestKey |
| Conflict | REQUEST_IDENTITY_INTENT_CONFLICT |
Readback
The effect completes asynchronously; reacquire the result with:
- predictiveModels.runs.read
Request example
Schematic only. Replace placeholders with real values and include all required nested fields.
POST /api/v1/predictive-models/runs HTTP/1.1
Authorization: Bearer <token>
x-merulan-workspace-id: <workspace-id>