Search documents and folders using a query string
cURL
curl --request POST \ --url http://localhost:3000/v1/search \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "query": "<string>", "limit": 10, "offset": 0 } '
{ "results": [ { "id": "<string>", "title": "<string>", "content": "<string>", "folderId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ], "total": 123 }
API Key (sk...)
Search query string
Maximum number of results to return
Number of results to skip
Search results
Show child attributes
Total number of matching results
Was this page helpful?