List files and folders from the connected provider.
cURL
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 }
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Connection ID
Parent folder ID (root if omitted)
Filter: folder, file
Pagination token
Results per page
1 <= x <= 100
Successful Response
Paginated list of remote resources.
Show child attributes
Was this page helpful?