Skip to main content
Search a chat's workspace files by name and contents

Authorizations

Authorization
string
header
required

Authorization: Bearer stefan_sk_... (API key — bills the API wallet) or stefan_oat_... (OAuth member token — bills your plan pool).

Query Parameters

chat_id
string
required

The chat whose files to search (a chat UUID or chat_... id).

q
string
required

What to find: words of a file's name or contents.

Required string length: 1 - 200

Response

Up to 50 matches, one per file or typed output.

object
string
Allowed value: "workspace_file_search"
chat
string
results
object[]