Search files
Semantic vector search over your files. Embeds the query text and returns the closest matching files ranked by cosine similarity. Only files with indexed descriptions are searchable.
Authentication
AuthorizationBearer
API key from [app.videogen.io/developers](https://app.videogen.io/developers). The full key is only shown once when you create it.
Request
This endpoint expects an object.
query
Natural-language search query. The text is embedded and compared against file description vectors using cosine similarity.
numResults
Number of results to return (1–100). Defaults to 10.
selfOnly
When true, only files created by the calling API key’s user are returned. When false (default), all files accessible to the team are included.
Response
Search results ordered by descending similarity
results