Get Pipeline File Status Counts
pipelines.files.get_status_counts(strpipeline_id, FileGetStatusCountsParams**kwargs) -> FileGetStatusCountsResponse
GET/api/v1/pipelines/{pipeline_id}/files/status-counts
Get files for a pipeline.
Parameters
Returns
Get Pipeline File Status Counts
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
)
response = client.pipelines.files.get_status_counts(
pipeline_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(response.data_source_id){
"counts": {
"foo": 0
},
"total_count": 0,
"data_source_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"only_manually_uploaded": true,
"pipeline_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}Returns Examples
{
"counts": {
"foo": 0
},
"total_count": 0,
"data_source_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"only_manually_uploaded": true,
"pipeline_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}