Skip to content
Get started

Get File Page Figure

pipelines.images.get_page_figure(strfigure_name, ImageGetPageFigureParams**kwargs) -> object
GET/api/v1/files/{id}/page-figures/{page_index}/{figure_name}

Get a specific figure from a page of a file.

ParametersExpand Collapse
id: str
page_index: int
figure_name: str
organization_id: Optional[str]
project_id: Optional[str]
ReturnsExpand Collapse
object

Get File Page Figure

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.images.get_page_figure(
    figure_name="figure_name",
    id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    page_index=0,
)
print(response)
{}
Returns Examples
{}