v1

latestOpenAPI 3.1.02026-07-2418848.0 KB

List files

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

get/api/files

Query parameters

limitinteger

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

cursorstring

Cursor for pagination. Use nextCursor from a previous response.

folderIdstring

Filter files by folder ID

sort'createdAt' | '-createdAt' | 'updatedAt' | '-updatedAt'

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

authorstring

Filter by author (user ID or email address)

Response

A paginated list of files

nextCursorstring nullable required

Cursor for the next page of results, or null if there are no more results

Example response

{
  "files": [
    {
      "fileUrl": "https://app.eraser.io/workspace/abc123",
      "title": "System Architecture"
    }
  ]
}