Skip to main content
POST
/
api
/
automl
/
feature-engineering
/
jobs
/
{job_id}
/
approve
Approve a proposal and start materialization
curl --request POST \
  --url https://api.example.com/api/automl/feature-engineering/jobs/{job_id}/approve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "edits": {
    "remove_features": [
      "<string>"
    ],
    "rename": {},
    "label": {
      "name": "label",
      "type": "binary",
      "column": "<string>",
      "derivation": "<string>",
      "positive_class_value": "<unknown>"
    },
    "notes": "<string>"
  },
  "auto_train": false,
  "train_request": {
    "source_table": "<string>",
    "label_column": "<string>",
    "feature_columns": [
      "<string>"
    ]
  }
}
'
{
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "training_table": "<string>",
  "training_job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

job_id
string<uuid>
required

Feature engineering job ID.

Body

application/json

Request body for approving a proposal and starting materialization.

edits
ProposalEdits · object | null

Edits the user wants applied to the recipe before materialization.

auto_train
boolean
default:false

If true, kick off AutoML training once materialization completes.

train_request
AutoMLTrainingRequest · object | null

Training request to forward when auto_train is true.

Response

Successful Response

Response returned by the approval endpoint.

job_id
string<uuid>
required
status
enum<string>
required

Lifecycle of an AutoML feature engineering job.

Available options:
running,
pending_approval,
failed,
approved,
materializing,
complete
training_table
string
required

Target table queued for materialization.

training_job_id
string<uuid> | null

AutoML training job ID if auto_train chained successfully.

message
string | null