cURL
curl --request GET \ --url https://api.letpiper.com/v1/orgs/{org_id}/knowledge/search/documents \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "content": "<string>", "score": 123, "metadata": {}, "documentId": "<string>", "collectionId": "<string>" } ]
Search document chunks. Omit collectionId to search all collections. Requires: Any role in the organization.
Platform token (starts with pat_)
Search query
Maximum results
1 <= x <= 100
Successful Response