Skip to main content
GET
/
storage
/
models
/
list
List models
curl --request GET \
  --url https://api.getcargo.io/v1/storage/models/list \
  --header 'Authorization: Bearer <token>'
{
  "models": [
    {
      "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>",
      "uniqueColumns": [
        "<unknown>"
      ],
      "unificationType": "<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>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

datasetUuid
string

Filter models by dataset identifier.

Response

Successful response

models
Models · object[]
required

List of models.