POST
/
integrations
/
items
/
list
curl --request POST \
  --url https://api.carbon.ai/integrations/items/list \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "data_source_id": 123,
  "parent_id": "<string>",
  "filters": {
    "external_ids": [
      "<string>"
    ],
    "ids": [
      123
    ],
    "name": "<string>",
    "root_files_only": true
  },
  "pagination": {
    "limit": 123,
    "offset": 123
  }
}'
{
  "items": [
    {
      "id": 123,
      "external_id": "<string>",
      "source": "GOOGLE_DRIVE",
      "name": "<string>",
      "synced_at": "2023-11-07T05:31:56Z",
      "is_selectable": true,
      "is_expandable": true,
      "organization_id": 123,
      "organization_supplied_user_id": "<string>",
      "organization_user_id": 123,
      "organization_user_data_source_id": 123,
      "organization_user_file_to_sync_id": 123,
      "parent_external_id": "<string>",
      "item_type": "<string>",
      "root_external_id": "<string>",
      "external_url": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "count": 123
}

Authorizations

authorization
string
headerrequired

token <token>, corresponds to temporary access tokens.

Body

application/json
data_source_id
integer
required
parent_id
string | null
filters
object | null
pagination
object

Response

200 - application/json
items
object[]
required
count
integer
required