Skip to main content
GET
ListProjectFiles
Questions or issues? Contact us at api-support@manus.ai.
Auth:
  • API Key: Full access.
  • Standard OAuth client: Requires manage_all_tasks. create_project alone is not sufficient.
  • Trusted client: Full access.
The user must own the project or be a project member. Otherwise, the request returns 404 not_found.

Behavior

  • Returns files attached to the project ordered from newest to oldest. Project web links are excluded.
  • Use limit (default 20, range 1–200) and pass next_cursor as cursor while has_more is true.

Errors

Headers

x-manus-api-key
string

API key for direct authentication. Provide either this or Authorization, not both. See Authentication.

Authorization
string

OAuth2 access token in Bearer {token} format. An OAuth client requires the manage_all_tasks scope unless it is a Trusted team client or Trusted public client; create_project alone is not sufficient. Provide either this or x-manus-api-key, not both. See the Open App guide.

Example:

"Bearer {access_token}"

Query Parameters

project_id
string
required

The unique identifier of the project. Use project.list to get project IDs.

Required string length: 1 - 65
limit
integer
default:20

Maximum number of files to return per page (1–200, default 20).

Required range: 1 <= x <= 200
cursor
string

Opaque pagination cursor returned as next_cursor by a previous project.listFiles response.

Maximum string length: 256

Response

Project files retrieved successfully.

ok
boolean
required

Whether the request was successful.

Example:

true

request_id
string
required

Unique identifier for this API request.

has_more
boolean
required

Whether additional pages are available.

data
object[]

Array of project files. Omitted when the project has no files; treat absence as an empty array.

next_cursor
string

Cursor to pass to the next request when has_more is true.