curl --request PUT \
--url https://api.getcargo.io/v1/storage/models/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"extractorSlug": "<string>",
"position": {
"x": 123,
"y": 123
},
"config": {},
"schedule": {
"type": "<string>",
"jobId": "<string>"
},
"unification": {
"source": "<string>"
}
}
'{
"model": {
"uuid": "<string>",
"workspaceUuid": "<string>",
"slug": "<string>",
"name": "<string>",
"datasetUuid": "<string>",
"extractorSlug": "<string>",
"position": {
"x": 123,
"y": 123
},
"config": {},
"schedule": {
"type": "<string>",
"jobId": "<string>"
},
"meta": {},
"columns": [
{
"slug": "<string>",
"type": "string",
"label": "<string>",
"kind": "<string>",
"originalSlug": "<string>",
"properties": [
"<string>"
],
"description": "<string>"
}
],
"additionalColumns": [
{
"slug": "<string>",
"type": "string",
"label": "<string>",
"kind": "<string>",
"properties": [
"<string>"
],
"description": "<string>"
}
],
"idColumnSlug": "<string>",
"unification": {
"source": "<string>"
},
"titleColumnSlug": "<string>",
"timeColumnSlug": "<string>",
"playsCount": 123,
"segmentsCount": 123,
"isPaused": true,
"lastEmittedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"lastRun": {
"uuid": "<string>",
"status": "pending",
"errorMessage": "<string>",
"createdAt": "<string>",
"finishedAt": "<string>"
}
}
}Update a model by UUID
curl --request PUT \
--url https://api.getcargo.io/v1/storage/models/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"extractorSlug": "<string>",
"position": {
"x": 123,
"y": 123
},
"config": {},
"schedule": {
"type": "<string>",
"jobId": "<string>"
},
"unification": {
"source": "<string>"
}
}
'{
"model": {
"uuid": "<string>",
"workspaceUuid": "<string>",
"slug": "<string>",
"name": "<string>",
"datasetUuid": "<string>",
"extractorSlug": "<string>",
"position": {
"x": 123,
"y": 123
},
"config": {},
"schedule": {
"type": "<string>",
"jobId": "<string>"
},
"meta": {},
"columns": [
{
"slug": "<string>",
"type": "string",
"label": "<string>",
"kind": "<string>",
"originalSlug": "<string>",
"properties": [
"<string>"
],
"description": "<string>"
}
],
"additionalColumns": [
{
"slug": "<string>",
"type": "string",
"label": "<string>",
"kind": "<string>",
"properties": [
"<string>"
],
"description": "<string>"
}
],
"idColumnSlug": "<string>",
"unification": {
"source": "<string>"
},
"titleColumnSlug": "<string>",
"timeColumnSlug": "<string>",
"playsCount": 123,
"segmentsCount": 123,
"isPaused": true,
"lastEmittedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"lastRun": {
"uuid": "<string>",
"status": "pending",
"errorMessage": "<string>",
"createdAt": "<string>",
"finishedAt": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource UUID
Request body schema.
Model name.
Extractor identifier.
Model position in the canvas.
Show child attributes
Model configuration.
Show child attributes
Model schedule configuration.
Show child attributes
Model unification configuration.
Show child attributes
Successful response
Updated model details.
Show child attributes
Was this page helpful?