Skip to main content
GET
Permission Required: any API key scoped to the requested project
Knowledge endpoints are served by the bouncer service at https://bouncer.nunu.ai, not the main nunu.ai/api/v1 host. Use the same X-Api-Key header for authentication.
Returns only the files stored under the project’s project/ prefix. These are the files that every run in the project sees regardless of which agent or test case it executes. If you instead want a single response that combines project files with agent- or test-case-scoped files, use List Knowledge Files.

Path Parameters

projectId
string
required
The nunu.ai project ID. Must match the project the API key is scoped to.

Query Parameters

include_metadata
boolean
default:"false"
When true, attach parsed metadata (description, summary, keywords) for each file from its .{name}.meta.json sidecar.

Response

projectId
string
required
Echo of the path parameter.
scope
string
required
Always "project" for this endpoint.
count
integer
required
Number of files returned.
files
File[]
required
Files in the project scope.

Authorizations

X-Api-Key
string
header
required

API key for authentication

Path Parameters

projectId
string
required

The nunu.ai project ID. Must match the project the API key is scoped to.

Query Parameters

include_metadata
boolean
default:false

When true, attach parsed metadata (description, summary, keywords) for each file from its .{name}.meta.json sidecar.

Response

Successful response

projectId
string
required
scope
enum<string>
required
Available options:
project
count
integer
required
files
object[]
required