Get Classification Job Results
JobGetResultsResponse classifier().jobs().getResults(JobGetResultsParamsparams = JobGetResultsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/classifier/jobs/{classify_job_id}/results
Get the results of a classify job. Experimental: not production-ready and subject to change.
Get Classification Job Results
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.classifier.jobs.JobGetResultsParams;
import com.llamacloud_prod.api.models.classifier.jobs.JobGetResultsResponse;
public final class Main {
private Main() {}
public static void main(String[] args) {
LlamaCloudClient client = LlamaCloudOkHttpClient.fromEnv();
JobGetResultsResponse response = client.classifier().jobs().getResults("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e");
}
}{
"items": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"classify_job_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"result": {
"confidence": 0,
"reasoning": "reasoning",
"type": "type"
},
"updated_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}Returns Examples
{
"items": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"classify_job_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"result": {
"confidence": 0,
"reasoning": "reasoning",
"type": "type"
},
"updated_at": "2019-12-27T18:11:19.117Z"
}
],
"next_page_token": "next_page_token",
"total_size": 0
}