---
title: "Search session files"
method: GET
path: "/api/projects/{projectId}/sessions/{sessionId}/files/search"
tags: ["Files"]
---

# Search session files

`GET /api/projects/{projectId}/sessions/{sessionId}/files/search`

Search session files. Returns the requested resource or collection for the authenticated caller.

## Path parameters

- `projectId` string, required
- `sessionId` string, required

## Query parameters

- `q` string
- `limit` integer

## Response `200`

Search results

- FileSearchResponse — file Search Response payload returned by the API.
  - `results` Suggestion[] — Collection of result values.
    - `value` string, required — value value for the suggestion object.
    - `type` string, required — type value for the suggestion object.
    - `valid` boolean, required — Whether the value passed validation.
    - `classification` string — Classification assigned during validation or suggestion lookup.

---

[API](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/revisions/4de3fcd6be56/schema)
