List files

Retrieves a paginated list of files for the team. Excludes private, archived, and template files.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Example request

curl --location 'https://app.eraser.io/api/files?limit=2&sort=-updatedAt' \
--header 'Authorization: Bearer $YOUR-TOKEN-HERE'

Example response

{
  "files": [
    {
      "id": "abc123",
      "fileUrl": "https://app.eraser.io/workspace/abc123",
      "title": "System Architecture",
      "author": "user-id-1",
      "folderId": null,
      "createdAt": "2025-07-01T12:00:00.000Z",
      "updatedAt": "2025-07-15T09:30:00.000Z",
      "linkAccess": "no-link-access"
    }
  ],
  "nextCursor": "abc123"
}
Query Params
integer
1 to 500
Defaults to 100

Maximum number of files to return (1-500). Defaults to 100.

string

Cursor for pagination. Use nextCursor from a previous response.

string

Filter files by folder ID

string
enum
Defaults to -updatedAt

Sort field with optional - prefix for descending order. Defaults to -updatedAt.

Allowed:
string

Filter by author (user ID or email address)

Responses

400

Invalid request parameters (e.g., invalid sort field, non-numeric limit, invalid cursor)

401

Missing or invalid bearer token

403

Unauthorized

500

Internal server error

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json