Get & list Library files
Overview
This page shows how to:
- List all files metadata in a project’s Library.
- Get a file.
All requests require:
- Auth Header:
Authorization: API_KEY
List files
- Endpoint:
GET /api/publicv1/projects/:projectId/library/files
- Auth Header:
Authorization: API_KEY
Returns an array of file metadata objects for the project.
Request (curl)
curl -X GET "https://app.intellectible.com/api/publicv1/projects/PROJECT_ID/library/files" \
-H "Authorization: API_KEY"
Fields
- id — document ID (use this for single-file and download endpoints)
- name — original display name (e.g., report.pdf)
- type — MIME type (e.g., application/pdf)
- size — file size in bytes
- dir — folder ID (e.g., a child of root)
- createdDate, updatedDate — ISO timestamps
- uploaderName, uploaderEmail — who uploaded the file
- updating — true during processing, otherwise null
Downloading a file (redirect)
Request a download link:
Endpoint: GET /api/publicv1/projects/:projectId/library/files/:fileId/download
Behavior: Responds with a 302 redirect to a signed URL; follow the redirect to download bytes.
curl -L -J -O \
-H "Authorization: API_KEY" \
"https://app.intellectible.com/api/publicv1/projects/PROJECT_ID/library/files/FILE_ID/download"