cURL
curl --request GET \ --url https://agent-studio.thena.ai/api/v1/agent-files/{agent_id}/files/search \ --header 'x-api-key: <api-key>'
[ { "file": { "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "bucket_path": "<string>", "size": 123, "mime_type": "<string>", "metadata": {} }, "chunk_text": "<string>", "similarity": 123 } ]
Search files by content.
Search query text
1
Maximum number of results to return
1 <= x <= 20
Successful Response
The response is of type FileSearchResult · object[].
FileSearchResult · object[]