Classroom integration: Returns documents owned by class:, not every personal document belonging to students or every document shared with the class. For human members, teachers and co-teachers have owner-level access, billing and students normally viewer access. A personally granted editor role can matter when opening a specific document. New org-owned tokens receive a role-derived access label here, but individual-document checks identify their own class principal as owner. Do not infer viewer-only service-token authority from this listing label; see the identity guide. Use the shared document API for content and edits, and follow all cursor pages.
Required standing: Membership plus documents:read; token document restrictions also filter results.
curl --location '/api/v1/orgs//documents?since=&limit=&cursor=' \
--header 'Authorization: Bearer <token>'{
"documents": [
{
"id": "doc_Ab3dEf6hIj9kLm0n",
"title": "string",
"language": "en",
"revision": 0,
"contentType": "text/plain",
"contentLength": 0,
"contentSha256": "string",
"file": {
"name": "string",
"type": "application/pdf",
"length": 0
},
"owner": "user:3f2b…",
"access": "owner",
"source": "api",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
],
"cursor": "string"
}