Skip to content
Framework Docs

List File Page Screenshots

List<ImageListPageScreenshotsResponse> pipelines().images().listPageScreenshots(ImageListPageScreenshotsParamsparams = ImageListPageScreenshotsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v1/files/{id}/page_screenshots

List metadata for all screenshots of pages from a file.

ParametersExpand Collapse
ImageListPageScreenshotsParams params
Optional<String> id
Optional<String> organizationId
Optional<String> projectId

List File Page Screenshots

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.pipelines.images.ImageListPageScreenshotsParams;
import com.llamacloud_prod.api.models.pipelines.images.ImageListPageScreenshotsResponse;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        LlamaCloudClient client = LlamaCloudOkHttpClient.fromEnv();

        List<ImageListPageScreenshotsResponse> response = client.pipelines().images().listPageScreenshots("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e");
    }
}
[
  {
    "file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    "image_size": 0,
    "page_index": 0,
    "metadata": {
      "foo": "bar"
    }
  }
]
Returns Examples
[
  {
    "file_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    "image_size": 0,
    "page_index": 0,
    "metadata": {
      "foo": "bar"
    }
  }
]