List File Pages Figures
client.pipelines.images.listPageFigures(stringid, ImageListPageFiguresParams { organization_id, project_id } query?, RequestOptionsoptions?): ImageListPageFiguresResponse { confidence, figure_name, figure_size, 4 more }
GET/api/v1/files/{id}/page-figures
List File Pages Figures
import LlamaCloud from '@llamaindex/llama-cloud';
const client = new LlamaCloud({
apiKey: process.env['LLAMA_CLOUD_API_KEY'], // This is the default and can be omitted
});
const response = await client.pipelines.images.listPageFigures(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
);
console.log(response);[
{
"confidence": 0,
"figure_name": "figure_name",
"figure_size": 0,
"file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"page_index": 0,
"is_likely_noise": true,
"metadata": {
"foo": "bar"
}
}
]Returns Examples
[
{
"confidence": 0,
"figure_name": "figure_name",
"figure_size": 0,
"file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"page_index": 0,
"is_likely_noise": true,
"metadata": {
"foo": "bar"
}
}
]