Skip to content

List Extract Review Events

ReviewListEventsPage extract().review().listEvents(ReviewListEventsParamsparams = ReviewListEventsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/api/v2/extract/{job_id}/review/events

Beta: answers 403 until extract review is enabled for the caller and their organization.

List a review’s history, newest first.

ParametersExpand Collapse
ReviewListEventsParams params
Optional<String> jobId
Optional<String> organizationId
Optional<Long> pageSize

Events per page.

maximum200
minimum1
Optional<String> pageToken

Token from the previous page.

Optional<String> projectId
ReturnsExpand Collapse
class ExtractReviewEvent:

One entry in a review’s history.

String id

Unique identifier of the entry.

String actorId

ID of the user who acted.

LocalDateTime createdAt

When it happened.

formatdate-time
Kind kind

What happened.

One of the following:
APPROVED("approved")
CREATED("created")
FIELD_CLEARED("field_cleared")
FIELD_CONFIRMED("field_confirmed")
FIELD_CORRECTED("field_corrected")
FIELD_RESTORED("field_restored")
FIELD_UNDONE("field_undone")
FLAGS_SIGNED_OFF("flags_signed_off")
REJECTED("rejected")
REOPENED("reopened")
Optional<Detail> detail

The settings for created, the reason for rejected, and the fields for flags_signed_off; null for the rest.

One of the following:
class ExtractReviewCreatedDetail:

What a created entry records: where review was turned on, and its settings.

double confidenceThreshold

Fields read below this confidence are flagged.

List<String> fieldsInScope

JSON Pointers of the fields the threshold applies to; empty means all.

Origin origin

Turned on as the job ran, from History, by a first edit, or by the API.

One of the following:
API("api")
EDIT("edit")
HISTORY("history")
RUN("run")
List<String> requiredFields

JSON Pointers of fields flagged when empty.

class ExtractReviewRejectedDetail:

What a rejected entry records.

String reason

Why the result was rejected.

class ExtractReviewSignedOffDetail:

What a flags_signed_off entry records.

List<String> paths

JSON Pointers of the flagged fields confirmed as part of approving.

Optional<String> path

JSON Pointer of the field it changed.

Optional<JsonValue> valueAfter

The field’s value after the change.

Optional<JsonValue> valueBefore

The field’s value before the change.

List Extract Review Events

package ai.llamaindex.llamacloud.example;

import ai.llamaindex.llamacloud.client.LlamaCloudClient;
import ai.llamaindex.llamacloud.client.okhttp.LlamaCloudOkHttpClient;
import ai.llamaindex.llamacloud.models.extract.review.ReviewListEventsPage;
import ai.llamaindex.llamacloud.models.extract.review.ReviewListEventsParams;

public final class Main {
    private Main() {}

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

        ReviewListEventsPage page = client.extract().review().listEvents("job_id");
    }
}
{
  "items": [
    {
      "id": "id",
      "actor_id": "actor_id",
      "created_at": "2019-12-27T18:11:19.117Z",
      "kind": "approved",
      "detail": {
        "confidence_threshold": 0,
        "fields_in_scope": [
          "string"
        ],
        "origin": "api",
        "required_fields": [
          "string"
        ]
      },
      "path": "path",
      "value_after": {},
      "value_before": {}
    }
  ],
  "next_page_token": "next_page_token",
  "total_size": 0
}
Returns Examples
{
  "items": [
    {
      "id": "id",
      "actor_id": "actor_id",
      "created_at": "2019-12-27T18:11:19.117Z",
      "kind": "approved",
      "detail": {
        "confidence_threshold": 0,
        "fields_in_scope": [
          "string"
        ],
        "origin": "api",
        "required_fields": [
          "string"
        ]
      },
      "path": "path",
      "value_after": {},
      "value_before": {}
    }
  ],
  "next_page_token": "next_page_token",
  "total_size": 0
}
Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/for-agents/mcp/ - Other LlamaIndex tooling for agents — the LlamaParse Platform MCP server, agent skills and plugins, and the n8n node — is mapped at https://developers.llamaindex.ai/for-agents/