Search Agent Data
beta.agent_data.search(AgentDataSearchParams**kwargs) -> SyncPaginatedCursorPost[AgentData]
POST/api/v1/beta/agent-data/:search
Search agent data with filtering, sorting, and pagination.
Parameters
organization_id: Optional[str]
project_id: Optional[str]
Returns
Search Agent Data
import os
from llama_cloud import LlamaCloud
client = LlamaCloud(
api_key=os.environ.get("LLAMA_CLOUD_API_KEY"), # This is the default and can be omitted
)
page = client.beta.agent_data.search(
deployment_name="deployment_name",
)
page = page.items[0]
print(page.id){
"items": [
{
"data": {
"foo": "bar"
},
"deployment_name": "deployment_name",
"id": "id",
"collection": "collection",
"created_at": "2019-12-27T18:11:19.117Z",
"project_id": "project_id",
"updated_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}Returns Examples
{
"items": [
{
"data": {
"foo": "bar"
},
"deployment_name": "deployment_name",
"id": "id",
"collection": "collection",
"created_at": "2019-12-27T18:11:19.117Z",
"project_id": "project_id",
"updated_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}