Search Agent Data
AgentDataSearchPage beta().agentData().search(AgentDataSearchParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/api/v1/beta/agent-data/:search
Search Agent Data
package com.llamacloud_prod.api.example;
import com.llamacloud_prod.api.client.LlamaCloudClient;
import com.llamacloud_prod.api.client.okhttp.LlamaCloudOkHttpClient;
import com.llamacloud_prod.api.models.beta.agentdata.AgentDataSearchPage;
import com.llamacloud_prod.api.models.beta.agentdata.AgentDataSearchParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
LlamaCloudClient client = LlamaCloudOkHttpClient.fromEnv();
AgentDataSearchParams params = AgentDataSearchParams.builder()
.deploymentName("deployment_name")
.build();
AgentDataSearchPage page = client.beta().agentData().search(params);
}
}{
"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
}