Ivandt logo

List imports

List imports

Retrieves a paginated list of all imports for your account. Results are ordered by creation date (newest first by default).

Pagination:

  • Use limit to control page size (1-100, default 20)
  • Use cursor from the previous response to fetch the next page
  • Use direction to sort ascending or descending

Filtering:

  • Filter by templateId to get imports for a specific template
GET
/imports

Query Parameters

limit?integer
Range0 <= value
cursor?string | null
orderBy?unknown
direction?
templateId?string
Formatuuid

Response Body

curl -X GET "https://api.ivandt.com/v1/imports?limit=0&orderBy=createdAt&direction=asc&templateId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "data": [
    {
      "id": "string",
      "templateId": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "fileId": {},
      "meta": {
        "publicKey": "string",
        "sessionToken": "string",
        "schemaId": "string",
        "schemaKey": "string",
        "sdkVersion": "string",
        "source": {
          "kind": "upload",
          "referer": "string"
        },
        "file": {
          "name": "string",
          "fileId": "string",
          "extension": "string",
          "mime": "string",
          "sizeBytes": 0,
          "formattedSize": "string",
          "lastModified": "string"
        },
        "sheet": {
          "rowCount": 0,
          "selectedSheetName": "string",
          "allSheetNames": [
            "string"
          ]
        },
        "counts": {
          "totalRows": 0,
          "validRows": 0,
          "erroredRows": 0,
          "discardedRows": 0
        },
        "timings": {
          "startedAt": "string",
          "finishedAt": "string"
        },
        "environment": {
          "userAgent": "string",
          "timezone": "string",
          "platform": "web",
          "runtime": "string"
        }
      }
    }
  ],
  "pagination": {
    "paging": {
      "limit": 0,
      "count": 0,
      "cursor": {},
      "nextCursor": {},
      "hasNext": true
    },
    "filters": {
      "templateId": "string"
    },
    "sort": {
      "orderBy": "createdAt",
      "direction": "asc"
    }
  }
}