Skip to main content
GET
/
v1
/
connections
/
{connection_id}
/
resources
List resources from provider
curl --request GET \
  --url https://api.cuadra.ai/v1/connections/{connection_id}/resources \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "type": "<string>",
      "parentId": "<string>",
      "path": "<string>",
      "mimeType": "<string>",
      "sizeBytes": 123,
      "modifiedAt": "2023-11-07T05:31:56Z",
      "isContainer": false,
      "childCount": 123
    }
  ],
  "nextCursor": "<string>",
  "hasMore": false
}

Authorizations

Authorization
string
header
required

JWT token from Stytch B2B authentication (magic link, SSO, or M2M)

Path Parameters

connection_id
string
required

Connection ID

Query Parameters

parentId
string | null

Parent folder ID (root if omitted)

type
string | null

Filter: folder, file

pageToken
string | null

Pagination token

pageSize
integer
default:50

Results per page

Required range: 1 <= x <= 100

Response

Successful Response

Paginated list of remote resources.

items
RemoteResourceOut · object[]
required
nextCursor
string | null
hasMore
boolean
default:false