curl --request GET \
--url https://agent-studio.thena.ai/api/v1/agent-files/{agent_id}/files/search \
--header 'x-api-key: <api-key>'[
{
"file": {
"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>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {}
},
"chunk_text": "<string>",
"similarity": 123
}
]Search files by content.
curl --request GET \
--url https://agent-studio.thena.ai/api/v1/agent-files/{agent_id}/files/search \
--header 'x-api-key: <api-key>'[
{
"file": {
"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>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {}
},
"chunk_text": "<string>",
"similarity": 123
}
]Search query text
1Maximum number of results to return
1 <= x <= 20