Search
The Search operations of the Hub REST API (4 operations).
Search a single Typesense collection
DeprecatedbearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
userId*stringcollection*string"entities""documents""views""projects""chat_threads""agents"query*stringworkspaceId?stringlimit?stringpage?stringSearch results
application/json- response
results*array<>totalFound?numberpage?numberperPage?number[key: string]?unknowncurl -X GET 'https://pod.example.com/api/hub/search/collection?userId=string&collection=entities&query=string'{ "results": [ { "collection": "entities", "document": { "property1": null, "property2": null }, "score": 0, "highlights": [ null ], "property1": null, "property2": null } ], "totalFound": 0, "page": 0, "perPage": 0, "property1": null, "property2": null}Cross-collection Typesense search
DeprecatedbearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
userId*stringquery*stringworkspaceId?stringcollections?stringComma-separated list of collections (e.g. entities,documents).
limit?stringpage?stringSearch results
application/json- response
results*array<>totalFound?numberpage?numberperPage?number[key: string]?unknowncurl -X GET 'https://pod.example.com/api/hub/search?userId=string&query=string'{ "results": [ { "collection": "entities", "document": { "property1": null, "property2": null }, "score": 0, "highlights": [ null ], "property1": null, "property2": null } ], "totalFound": 0, "page": 0, "perPage": 0, "property1": null, "property2": null}Search documents only
DeprecatedbearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
userId*stringquery*stringtype?string"text""markdown""code""pdf""docx"limit?stringDocument hits
application/json- response
[index: integer]?curl -X GET 'https://pod.example.com/api/hub/search/documents?userId=string&query=string'[ { "property1": null, "property2": null }]PGVector semantic search
DeprecatedbearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
userId*stringquery*stringtypes?stringComma-separated subject types to search (e.g. entity,document).
workspaceId?stringlimit?stringVector search hits
application/json- response
[index: integer]?curl -X GET 'https://pod.example.com/api/hub/vector-search?userId=string&query=string'[ { "property1": null, "property2": null }]