blob: c2a128b730e810d524461f85f73eecc718196735 [file] [edit]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="deepreview_v1.html">Deep Review API</a> . <a href="deepreview_v1.documents.html">documents</a> . <a href="deepreview_v1.documents.reviews.html">reviews</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#create">create(parent, body=None, requestId=None, reviewId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Creates and initiates an asynchronous multi-agent review for a document. Returns a google.longrunning.Operation. When the operation completes, the `response` field contains a `Review` and the `metadata` field contains `CreateReviewMetadata`.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves a specific review execution result.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists all review execution runs for a document.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="create">create(parent, body=None, requestId=None, reviewId=None, x__xgafv=None)</code>
<pre>Creates and initiates an asynchronous multi-agent review for a document. Returns a google.longrunning.Operation. When the operation completes, the `response` field contains a `Review` and the `metadata` field contains `CreateReviewMetadata`.
Args:
parent: string, Required. The parent Document resource name where this review will be created. (required)
body: object, The request body.
The object takes the form of:
{ # An evaluation run of a document.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this review attempt was initiated.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the review reached a terminal state.
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name in format `documents/{document}/reviews/{review}`.
&quot;progressPercent&quot;: 42, # Output only. Estimated completion progress percentage of the review in [0, 100].
&quot;result&quot;: { # Encapsulates the synthesized output or failure details of a single review execution. # Output only. Review output (markdown, errors, and future modalities).
&quot;anchoredComments&quot;: [ # Output only. Structured review comments anchored to specific locations in the document. At most 300 anchored comments are returned per review.
{ # A structured review comment anchored to a specific location in the document.
&quot;bodyMarkdown&quot;: &quot;A String&quot;, # Output only. Detailed markdown explanation of the review comment.
&quot;citationReport&quot;: { # Structured citation verification report for a single bibliography reference. # Output only. Optional structured citation verification report when this comment corresponds to a bibliography reference.
&quot;citationKey&quot;: &quot;A String&quot;, # Output only. Generated BibTeX citation key (e.g., &quot;smith2023deep&quot;).
&quot;entryType&quot;: &quot;A String&quot;, # Output only. BibTeX entry type (e.g., &quot;article&quot;, &quot;inproceedings&quot;, &quot;misc&quot;).
&quot;extractedMetadata&quot;: { # Structured bibliographic metadata for an extracted or retrieved work. # Output only. Metadata parsed from the paper&#x27;s bibliography entry.
&quot;authors&quot;: [ # Output only. Ordered list of authors.
{ # Author name components.
&quot;familyName&quot;: &quot;A String&quot;, # Output only. Author family name / surname (or organization name).
&quot;givenName&quot;: &quot;A String&quot;, # Output only. Author given name / initials.
},
],
&quot;doi&quot;: &quot;A String&quot;, # Output only. Digital Object Identifier (DOI).
&quot;journal&quot;: &quot;A String&quot;, # Output only. Journal, conference, or venue name.
&quot;pages&quot;: &quot;A String&quot;, # Output only. Page range or article number.
&quot;publicationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Publication date (month and day left as 0 if just year).
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;source&quot;: &quot;A String&quot;, # Output only. Source database for retrieved metadata (e.g., &quot;openalex&quot;, &quot;crossref&quot;). Empty on `extracted_metadata`.
&quot;title&quot;: &quot;A String&quot;, # Output only. Work title.
&quot;urls&quot;: [ # Output only. URLs associated with the reference.
&quot;A String&quot;,
],
&quot;volume&quot;: &quot;A String&quot;, # Output only. Volume identifier.
},
&quot;fieldComparisons&quot;: [ # Output only. Per-field comparisons (populated only when `retrieved_metadata` is present).
{ # Per-field comparison result between extracted and retrieved metadata.
&quot;detail&quot;: &quot;A String&quot;, # Output only. Human-readable comparison detail (e.g., &quot;extracted=2023, found=2024 (diff=1)&quot;).
&quot;fieldKey&quot;: &quot;A String&quot;, # Output only. Field key (&quot;title&quot;, &quot;authors&quot;, &quot;year&quot;, &quot;journal&quot;, &quot;volume&quot;, &quot;pages&quot;, &quot;doi&quot;).
&quot;match&quot;: True or False, # Output only. Whether the extracted and retrieved values matched.
},
],
&quot;finalVerdict&quot;: &quot;A String&quot;, # Output only. Final combined verdict after database lookup and search grounding.
&quot;firstAuthorFamilyNameMatch&quot;: True or False, # Output only. Whether the first author&#x27;s family name matched between extracted and retrieved metadata.
&quot;groundingUrls&quot;: [ # Output only. Web sources surfaced during Google Search grounding.
{ # Web source URL surfaced during Google Search grounding verification.
&quot;title&quot;: &quot;A String&quot;, # Output only. Source page title or domain.
&quot;url&quot;: &quot;A String&quot;, # Output only. Source URL.
},
],
&quot;lookupVerdict&quot;: &quot;A String&quot;, # Output only. Verdict from scholarly database lookup (OpenAlex / Crossref) before search grounding.
&quot;rawReference&quot;: &quot;A String&quot;, # Output only. Verbatim reference string extracted from the paper&#x27;s bibliography.
&quot;refNum&quot;: 42, # Output only. 1-indexed bibliography reference number in the paper.
&quot;retrievedBibtex&quot;: &quot;A String&quot;, # Output only. Formatted BibTeX entry for the verified `retrieved_metadata` when present. Empty when `retrieved_metadata` is absent.
&quot;retrievedMetadata&quot;: { # Structured bibliographic metadata for an extracted or retrieved work. # Output only. Metadata retrieved from OpenAlex / Crossref. Populated only when the retrieved work&#x27;s title matches the extracted title. Omitted when no candidate matches the title so unrelated papers are never displayed as candidates.
&quot;authors&quot;: [ # Output only. Ordered list of authors.
{ # Author name components.
&quot;familyName&quot;: &quot;A String&quot;, # Output only. Author family name / surname (or organization name).
&quot;givenName&quot;: &quot;A String&quot;, # Output only. Author given name / initials.
},
],
&quot;doi&quot;: &quot;A String&quot;, # Output only. Digital Object Identifier (DOI).
&quot;journal&quot;: &quot;A String&quot;, # Output only. Journal, conference, or venue name.
&quot;pages&quot;: &quot;A String&quot;, # Output only. Page range or article number.
&quot;publicationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Publication date (month and day left as 0 if just year).
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;source&quot;: &quot;A String&quot;, # Output only. Source database for retrieved metadata (e.g., &quot;openalex&quot;, &quot;crossref&quot;). Empty on `extracted_metadata`.
&quot;title&quot;: &quot;A String&quot;, # Output only. Work title.
&quot;urls&quot;: [ # Output only. URLs associated with the reference.
&quot;A String&quot;,
],
&quot;volume&quot;: &quot;A String&quot;, # Output only. Volume identifier.
},
&quot;searchMethod&quot;: &quot;A String&quot;, # Output only. Strategy that produced the scholarly database match (e.g., &quot;doi&quot;, &quot;title&quot;, &quot;title_author&quot;, &quot;autocomplete&quot;). Empty when no title-matching candidate was found.
&quot;searchRationale&quot;: &quot;A String&quot;, # Output only. Explanation from the Google Search grounding verification step (when run).
&quot;searchVerdict&quot;: &quot;A String&quot;, # Output only. Verdict from Google Search grounding verification (when run).
},
&quot;commentId&quot;: &quot;A String&quot;, # Output only. Unique identifier for the comment within the review.
&quot;location&quot;: { # A location targeting either a PDF page region/quote or text lines in the document. # Output only. Polymorphic location in the document where this comment is anchored.
&quot;pdf&quot;: { # Location anchor within a PDF document. # Output only. Location within a rendered PDF document.
&quot;boundingBoxes&quot;: [ # Output only. Normalized bounding boxes [0.0, 1.0] relative to page width and height. At most 50 bounding boxes are returned per anchored span.
{ # Bounding box in normalized [0.0, 1.0] page coordinates (origin top-left).
&quot;bottom&quot;: 3.14, # Output only. Bottom coordinate in [0.0, 1.0].
&quot;left&quot;: 3.14, # Output only. Left coordinate in [0.0, 1.0].
&quot;right&quot;: 3.14, # Output only. Right coordinate in [0.0, 1.0].
&quot;top&quot;: 3.14, # Output only. Top coordinate in [0.0, 1.0].
},
],
&quot;pageNumber&quot;: 42, # Output only. 1-indexed page number within the PDF document.
&quot;quoteSelector&quot;: { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (see https://www.w3.org/TR/annotation-model/#text-quote-selector for details). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting.
&quot;exact&quot;: &quot;A String&quot;, # Output only. Verbatim substring extracted from the document character stream.
&quot;prefix&quot;: &quot;A String&quot;, # Output only. Characters immediately preceding `exact` for disambiguation.
&quot;suffix&quot;: &quot;A String&quot;, # Output only. Characters immediately following `exact` for disambiguation.
},
},
&quot;text&quot;: { # Location anchor within a plain-text, Markdown, or LaTeX source document. # Output only. Location within a plain-text, Markdown, or LaTeX source document.
&quot;firstColumn&quot;: 42, # Output only. Optional 1-indexed inclusive first column offset within `first_line`.
&quot;firstLine&quot;: 42, # Output only. 1-indexed inclusive first line number.
&quot;lastColumn&quot;: 42, # Output only. Optional 1-indexed inclusive last column offset within `last_line`.
&quot;lastLine&quot;: 42, # Output only. 1-indexed inclusive last line number.
&quot;quotedLinePreview&quot;: &quot;A String&quot;, # Output only. Verbatim snippet of the anchored source line(s).
},
},
&quot;severity&quot;: &quot;A String&quot;, # Output only. Severity classification of the comment.
&quot;suggestedEdit&quot;: &quot;A String&quot;, # Output only. Optional suggested replacement text or edit for the anchored span.
&quot;summary&quot;: &quot;A String&quot;, # Output only. Short one-line summary of the review comment.
},
],
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Failure status details if review execution failed.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
&quot;reviewMarkdown&quot;: &quot;A String&quot;, # Output only. Synthesized review report markdown.
},
&quot;runConfig&quot;: { # Configuration options for the multi-agent document review execution pipeline. # Optional. Run configuration parameters used for this review.
&quot;geminiApiKey&quot;: &quot;A String&quot;, # Optional. Input only. Developer Bring-Your-Own-Key Gemini API key. When provided, requests are billed to the caller&#x27;s Gemini API project. Input only; forwarded to the asynchronous review runner in the task payload and never persisted in database records or returned in review resources (see companion field `gemini_api_key_set`, AIP-147).
&quot;geminiApiKeySet&quot;: True or False, # Output only. Indicates whether a developer Bring-Your-Own-Key Gemini API key was provided for this review run.
&quot;model&quot;: &quot;A String&quot;, # Optional. The Gemini model identifier to use for the review. If omitted, the server uses its default model. Unsupported values return INVALID_ARGUMENT.
&quot;thinkingLevel&quot;: &quot;A String&quot;, # Optional. Reasoning effort level for model calls in the review pipeline. Defaults to `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`. Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`.
&quot;topology&quot;: &quot;A String&quot;, # Optional. Review execution topology profile to use.
&quot;userPrompt&quot;: &quot;A String&quot;, # Optional. User-provided guidance, focus areas, or custom evaluation instructions passed to the review agents.
},
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the worker started evaluation.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current review lifecycle state.
}
requestId: string, Optional. Idempotency identifier for network retry safety (AIP-155). Must be a valid UUID4 string.
reviewId: string, Optional. The ID to use for the review, which will become the final component of the review&#x27;s resource name. If not provided, a unique server-generated UUID will be assigned.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # This resource represents a long-running operation that is the result of a network API call.
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
}</pre>
</div>
<div class="method">
<code class="details" id="get">get(name, x__xgafv=None)</code>
<pre>Retrieves a specific review execution result.
Args:
name: string, Required. The resource name of the review to retrieve. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # An evaluation run of a document.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this review attempt was initiated.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the review reached a terminal state.
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name in format `documents/{document}/reviews/{review}`.
&quot;progressPercent&quot;: 42, # Output only. Estimated completion progress percentage of the review in [0, 100].
&quot;result&quot;: { # Encapsulates the synthesized output or failure details of a single review execution. # Output only. Review output (markdown, errors, and future modalities).
&quot;anchoredComments&quot;: [ # Output only. Structured review comments anchored to specific locations in the document. At most 300 anchored comments are returned per review.
{ # A structured review comment anchored to a specific location in the document.
&quot;bodyMarkdown&quot;: &quot;A String&quot;, # Output only. Detailed markdown explanation of the review comment.
&quot;citationReport&quot;: { # Structured citation verification report for a single bibliography reference. # Output only. Optional structured citation verification report when this comment corresponds to a bibliography reference.
&quot;citationKey&quot;: &quot;A String&quot;, # Output only. Generated BibTeX citation key (e.g., &quot;smith2023deep&quot;).
&quot;entryType&quot;: &quot;A String&quot;, # Output only. BibTeX entry type (e.g., &quot;article&quot;, &quot;inproceedings&quot;, &quot;misc&quot;).
&quot;extractedMetadata&quot;: { # Structured bibliographic metadata for an extracted or retrieved work. # Output only. Metadata parsed from the paper&#x27;s bibliography entry.
&quot;authors&quot;: [ # Output only. Ordered list of authors.
{ # Author name components.
&quot;familyName&quot;: &quot;A String&quot;, # Output only. Author family name / surname (or organization name).
&quot;givenName&quot;: &quot;A String&quot;, # Output only. Author given name / initials.
},
],
&quot;doi&quot;: &quot;A String&quot;, # Output only. Digital Object Identifier (DOI).
&quot;journal&quot;: &quot;A String&quot;, # Output only. Journal, conference, or venue name.
&quot;pages&quot;: &quot;A String&quot;, # Output only. Page range or article number.
&quot;publicationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Publication date (month and day left as 0 if just year).
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;source&quot;: &quot;A String&quot;, # Output only. Source database for retrieved metadata (e.g., &quot;openalex&quot;, &quot;crossref&quot;). Empty on `extracted_metadata`.
&quot;title&quot;: &quot;A String&quot;, # Output only. Work title.
&quot;urls&quot;: [ # Output only. URLs associated with the reference.
&quot;A String&quot;,
],
&quot;volume&quot;: &quot;A String&quot;, # Output only. Volume identifier.
},
&quot;fieldComparisons&quot;: [ # Output only. Per-field comparisons (populated only when `retrieved_metadata` is present).
{ # Per-field comparison result between extracted and retrieved metadata.
&quot;detail&quot;: &quot;A String&quot;, # Output only. Human-readable comparison detail (e.g., &quot;extracted=2023, found=2024 (diff=1)&quot;).
&quot;fieldKey&quot;: &quot;A String&quot;, # Output only. Field key (&quot;title&quot;, &quot;authors&quot;, &quot;year&quot;, &quot;journal&quot;, &quot;volume&quot;, &quot;pages&quot;, &quot;doi&quot;).
&quot;match&quot;: True or False, # Output only. Whether the extracted and retrieved values matched.
},
],
&quot;finalVerdict&quot;: &quot;A String&quot;, # Output only. Final combined verdict after database lookup and search grounding.
&quot;firstAuthorFamilyNameMatch&quot;: True or False, # Output only. Whether the first author&#x27;s family name matched between extracted and retrieved metadata.
&quot;groundingUrls&quot;: [ # Output only. Web sources surfaced during Google Search grounding.
{ # Web source URL surfaced during Google Search grounding verification.
&quot;title&quot;: &quot;A String&quot;, # Output only. Source page title or domain.
&quot;url&quot;: &quot;A String&quot;, # Output only. Source URL.
},
],
&quot;lookupVerdict&quot;: &quot;A String&quot;, # Output only. Verdict from scholarly database lookup (OpenAlex / Crossref) before search grounding.
&quot;rawReference&quot;: &quot;A String&quot;, # Output only. Verbatim reference string extracted from the paper&#x27;s bibliography.
&quot;refNum&quot;: 42, # Output only. 1-indexed bibliography reference number in the paper.
&quot;retrievedBibtex&quot;: &quot;A String&quot;, # Output only. Formatted BibTeX entry for the verified `retrieved_metadata` when present. Empty when `retrieved_metadata` is absent.
&quot;retrievedMetadata&quot;: { # Structured bibliographic metadata for an extracted or retrieved work. # Output only. Metadata retrieved from OpenAlex / Crossref. Populated only when the retrieved work&#x27;s title matches the extracted title. Omitted when no candidate matches the title so unrelated papers are never displayed as candidates.
&quot;authors&quot;: [ # Output only. Ordered list of authors.
{ # Author name components.
&quot;familyName&quot;: &quot;A String&quot;, # Output only. Author family name / surname (or organization name).
&quot;givenName&quot;: &quot;A String&quot;, # Output only. Author given name / initials.
},
],
&quot;doi&quot;: &quot;A String&quot;, # Output only. Digital Object Identifier (DOI).
&quot;journal&quot;: &quot;A String&quot;, # Output only. Journal, conference, or venue name.
&quot;pages&quot;: &quot;A String&quot;, # Output only. Page range or article number.
&quot;publicationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Publication date (month and day left as 0 if just year).
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;source&quot;: &quot;A String&quot;, # Output only. Source database for retrieved metadata (e.g., &quot;openalex&quot;, &quot;crossref&quot;). Empty on `extracted_metadata`.
&quot;title&quot;: &quot;A String&quot;, # Output only. Work title.
&quot;urls&quot;: [ # Output only. URLs associated with the reference.
&quot;A String&quot;,
],
&quot;volume&quot;: &quot;A String&quot;, # Output only. Volume identifier.
},
&quot;searchMethod&quot;: &quot;A String&quot;, # Output only. Strategy that produced the scholarly database match (e.g., &quot;doi&quot;, &quot;title&quot;, &quot;title_author&quot;, &quot;autocomplete&quot;). Empty when no title-matching candidate was found.
&quot;searchRationale&quot;: &quot;A String&quot;, # Output only. Explanation from the Google Search grounding verification step (when run).
&quot;searchVerdict&quot;: &quot;A String&quot;, # Output only. Verdict from Google Search grounding verification (when run).
},
&quot;commentId&quot;: &quot;A String&quot;, # Output only. Unique identifier for the comment within the review.
&quot;location&quot;: { # A location targeting either a PDF page region/quote or text lines in the document. # Output only. Polymorphic location in the document where this comment is anchored.
&quot;pdf&quot;: { # Location anchor within a PDF document. # Output only. Location within a rendered PDF document.
&quot;boundingBoxes&quot;: [ # Output only. Normalized bounding boxes [0.0, 1.0] relative to page width and height. At most 50 bounding boxes are returned per anchored span.
{ # Bounding box in normalized [0.0, 1.0] page coordinates (origin top-left).
&quot;bottom&quot;: 3.14, # Output only. Bottom coordinate in [0.0, 1.0].
&quot;left&quot;: 3.14, # Output only. Left coordinate in [0.0, 1.0].
&quot;right&quot;: 3.14, # Output only. Right coordinate in [0.0, 1.0].
&quot;top&quot;: 3.14, # Output only. Top coordinate in [0.0, 1.0].
},
],
&quot;pageNumber&quot;: 42, # Output only. 1-indexed page number within the PDF document.
&quot;quoteSelector&quot;: { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (see https://www.w3.org/TR/annotation-model/#text-quote-selector for details). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting.
&quot;exact&quot;: &quot;A String&quot;, # Output only. Verbatim substring extracted from the document character stream.
&quot;prefix&quot;: &quot;A String&quot;, # Output only. Characters immediately preceding `exact` for disambiguation.
&quot;suffix&quot;: &quot;A String&quot;, # Output only. Characters immediately following `exact` for disambiguation.
},
},
&quot;text&quot;: { # Location anchor within a plain-text, Markdown, or LaTeX source document. # Output only. Location within a plain-text, Markdown, or LaTeX source document.
&quot;firstColumn&quot;: 42, # Output only. Optional 1-indexed inclusive first column offset within `first_line`.
&quot;firstLine&quot;: 42, # Output only. 1-indexed inclusive first line number.
&quot;lastColumn&quot;: 42, # Output only. Optional 1-indexed inclusive last column offset within `last_line`.
&quot;lastLine&quot;: 42, # Output only. 1-indexed inclusive last line number.
&quot;quotedLinePreview&quot;: &quot;A String&quot;, # Output only. Verbatim snippet of the anchored source line(s).
},
},
&quot;severity&quot;: &quot;A String&quot;, # Output only. Severity classification of the comment.
&quot;suggestedEdit&quot;: &quot;A String&quot;, # Output only. Optional suggested replacement text or edit for the anchored span.
&quot;summary&quot;: &quot;A String&quot;, # Output only. Short one-line summary of the review comment.
},
],
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Failure status details if review execution failed.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
&quot;reviewMarkdown&quot;: &quot;A String&quot;, # Output only. Synthesized review report markdown.
},
&quot;runConfig&quot;: { # Configuration options for the multi-agent document review execution pipeline. # Optional. Run configuration parameters used for this review.
&quot;geminiApiKey&quot;: &quot;A String&quot;, # Optional. Input only. Developer Bring-Your-Own-Key Gemini API key. When provided, requests are billed to the caller&#x27;s Gemini API project. Input only; forwarded to the asynchronous review runner in the task payload and never persisted in database records or returned in review resources (see companion field `gemini_api_key_set`, AIP-147).
&quot;geminiApiKeySet&quot;: True or False, # Output only. Indicates whether a developer Bring-Your-Own-Key Gemini API key was provided for this review run.
&quot;model&quot;: &quot;A String&quot;, # Optional. The Gemini model identifier to use for the review. If omitted, the server uses its default model. Unsupported values return INVALID_ARGUMENT.
&quot;thinkingLevel&quot;: &quot;A String&quot;, # Optional. Reasoning effort level for model calls in the review pipeline. Defaults to `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`. Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`.
&quot;topology&quot;: &quot;A String&quot;, # Optional. Review execution topology profile to use.
&quot;userPrompt&quot;: &quot;A String&quot;, # Optional. User-provided guidance, focus areas, or custom evaluation instructions passed to the review agents.
},
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the worker started evaluation.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current review lifecycle state.
}</pre>
</div>
<div class="method">
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Lists all review execution runs for a document.
Args:
parent: string, Required. The parent Document resource name. (required)
filter: string, Optional. Custom filter expressions are not currently supported; non-empty values return INVALID_ARGUMENT.
orderBy: string, Optional. Custom order_by expressions are not currently supported; non-empty values return INVALID_ARGUMENT.
pageSize: integer, Optional. The maximum number of reviews to return in a single page. The server may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 100; values above 100 will be coerced to 100.
pageToken: string, Optional. A page token received from a previous `ListReviews` call.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for listing Review resources.
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results, or empty if no further pages exist.
&quot;reviews&quot;: [ # The list of Review resources.
{ # An evaluation run of a document.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this review attempt was initiated.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the review reached a terminal state.
&quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name in format `documents/{document}/reviews/{review}`.
&quot;progressPercent&quot;: 42, # Output only. Estimated completion progress percentage of the review in [0, 100].
&quot;result&quot;: { # Encapsulates the synthesized output or failure details of a single review execution. # Output only. Review output (markdown, errors, and future modalities).
&quot;anchoredComments&quot;: [ # Output only. Structured review comments anchored to specific locations in the document. At most 300 anchored comments are returned per review.
{ # A structured review comment anchored to a specific location in the document.
&quot;bodyMarkdown&quot;: &quot;A String&quot;, # Output only. Detailed markdown explanation of the review comment.
&quot;citationReport&quot;: { # Structured citation verification report for a single bibliography reference. # Output only. Optional structured citation verification report when this comment corresponds to a bibliography reference.
&quot;citationKey&quot;: &quot;A String&quot;, # Output only. Generated BibTeX citation key (e.g., &quot;smith2023deep&quot;).
&quot;entryType&quot;: &quot;A String&quot;, # Output only. BibTeX entry type (e.g., &quot;article&quot;, &quot;inproceedings&quot;, &quot;misc&quot;).
&quot;extractedMetadata&quot;: { # Structured bibliographic metadata for an extracted or retrieved work. # Output only. Metadata parsed from the paper&#x27;s bibliography entry.
&quot;authors&quot;: [ # Output only. Ordered list of authors.
{ # Author name components.
&quot;familyName&quot;: &quot;A String&quot;, # Output only. Author family name / surname (or organization name).
&quot;givenName&quot;: &quot;A String&quot;, # Output only. Author given name / initials.
},
],
&quot;doi&quot;: &quot;A String&quot;, # Output only. Digital Object Identifier (DOI).
&quot;journal&quot;: &quot;A String&quot;, # Output only. Journal, conference, or venue name.
&quot;pages&quot;: &quot;A String&quot;, # Output only. Page range or article number.
&quot;publicationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Publication date (month and day left as 0 if just year).
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;source&quot;: &quot;A String&quot;, # Output only. Source database for retrieved metadata (e.g., &quot;openalex&quot;, &quot;crossref&quot;). Empty on `extracted_metadata`.
&quot;title&quot;: &quot;A String&quot;, # Output only. Work title.
&quot;urls&quot;: [ # Output only. URLs associated with the reference.
&quot;A String&quot;,
],
&quot;volume&quot;: &quot;A String&quot;, # Output only. Volume identifier.
},
&quot;fieldComparisons&quot;: [ # Output only. Per-field comparisons (populated only when `retrieved_metadata` is present).
{ # Per-field comparison result between extracted and retrieved metadata.
&quot;detail&quot;: &quot;A String&quot;, # Output only. Human-readable comparison detail (e.g., &quot;extracted=2023, found=2024 (diff=1)&quot;).
&quot;fieldKey&quot;: &quot;A String&quot;, # Output only. Field key (&quot;title&quot;, &quot;authors&quot;, &quot;year&quot;, &quot;journal&quot;, &quot;volume&quot;, &quot;pages&quot;, &quot;doi&quot;).
&quot;match&quot;: True or False, # Output only. Whether the extracted and retrieved values matched.
},
],
&quot;finalVerdict&quot;: &quot;A String&quot;, # Output only. Final combined verdict after database lookup and search grounding.
&quot;firstAuthorFamilyNameMatch&quot;: True or False, # Output only. Whether the first author&#x27;s family name matched between extracted and retrieved metadata.
&quot;groundingUrls&quot;: [ # Output only. Web sources surfaced during Google Search grounding.
{ # Web source URL surfaced during Google Search grounding verification.
&quot;title&quot;: &quot;A String&quot;, # Output only. Source page title or domain.
&quot;url&quot;: &quot;A String&quot;, # Output only. Source URL.
},
],
&quot;lookupVerdict&quot;: &quot;A String&quot;, # Output only. Verdict from scholarly database lookup (OpenAlex / Crossref) before search grounding.
&quot;rawReference&quot;: &quot;A String&quot;, # Output only. Verbatim reference string extracted from the paper&#x27;s bibliography.
&quot;refNum&quot;: 42, # Output only. 1-indexed bibliography reference number in the paper.
&quot;retrievedBibtex&quot;: &quot;A String&quot;, # Output only. Formatted BibTeX entry for the verified `retrieved_metadata` when present. Empty when `retrieved_metadata` is absent.
&quot;retrievedMetadata&quot;: { # Structured bibliographic metadata for an extracted or retrieved work. # Output only. Metadata retrieved from OpenAlex / Crossref. Populated only when the retrieved work&#x27;s title matches the extracted title. Omitted when no candidate matches the title so unrelated papers are never displayed as candidates.
&quot;authors&quot;: [ # Output only. Ordered list of authors.
{ # Author name components.
&quot;familyName&quot;: &quot;A String&quot;, # Output only. Author family name / surname (or organization name).
&quot;givenName&quot;: &quot;A String&quot;, # Output only. Author given name / initials.
},
],
&quot;doi&quot;: &quot;A String&quot;, # Output only. Digital Object Identifier (DOI).
&quot;journal&quot;: &quot;A String&quot;, # Output only. Journal, conference, or venue name.
&quot;pages&quot;: &quot;A String&quot;, # Output only. Page range or article number.
&quot;publicationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Output only. Publication date (month and day left as 0 if just year).
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;source&quot;: &quot;A String&quot;, # Output only. Source database for retrieved metadata (e.g., &quot;openalex&quot;, &quot;crossref&quot;). Empty on `extracted_metadata`.
&quot;title&quot;: &quot;A String&quot;, # Output only. Work title.
&quot;urls&quot;: [ # Output only. URLs associated with the reference.
&quot;A String&quot;,
],
&quot;volume&quot;: &quot;A String&quot;, # Output only. Volume identifier.
},
&quot;searchMethod&quot;: &quot;A String&quot;, # Output only. Strategy that produced the scholarly database match (e.g., &quot;doi&quot;, &quot;title&quot;, &quot;title_author&quot;, &quot;autocomplete&quot;). Empty when no title-matching candidate was found.
&quot;searchRationale&quot;: &quot;A String&quot;, # Output only. Explanation from the Google Search grounding verification step (when run).
&quot;searchVerdict&quot;: &quot;A String&quot;, # Output only. Verdict from Google Search grounding verification (when run).
},
&quot;commentId&quot;: &quot;A String&quot;, # Output only. Unique identifier for the comment within the review.
&quot;location&quot;: { # A location targeting either a PDF page region/quote or text lines in the document. # Output only. Polymorphic location in the document where this comment is anchored.
&quot;pdf&quot;: { # Location anchor within a PDF document. # Output only. Location within a rendered PDF document.
&quot;boundingBoxes&quot;: [ # Output only. Normalized bounding boxes [0.0, 1.0] relative to page width and height. At most 50 bounding boxes are returned per anchored span.
{ # Bounding box in normalized [0.0, 1.0] page coordinates (origin top-left).
&quot;bottom&quot;: 3.14, # Output only. Bottom coordinate in [0.0, 1.0].
&quot;left&quot;: 3.14, # Output only. Left coordinate in [0.0, 1.0].
&quot;right&quot;: 3.14, # Output only. Right coordinate in [0.0, 1.0].
&quot;top&quot;: 3.14, # Output only. Top coordinate in [0.0, 1.0].
},
],
&quot;pageNumber&quot;: 42, # Output only. 1-indexed page number within the PDF document.
&quot;quoteSelector&quot;: { # W3C Web Annotation TextQuoteSelector for resilient text anchoring (see https://www.w3.org/TR/annotation-model/#text-quote-selector for details). # Output only. W3C Web Annotation TextQuoteSelector (https://www.w3.org/TR/annotation-model/#text-quote-selector) for exact text span highlighting.
&quot;exact&quot;: &quot;A String&quot;, # Output only. Verbatim substring extracted from the document character stream.
&quot;prefix&quot;: &quot;A String&quot;, # Output only. Characters immediately preceding `exact` for disambiguation.
&quot;suffix&quot;: &quot;A String&quot;, # Output only. Characters immediately following `exact` for disambiguation.
},
},
&quot;text&quot;: { # Location anchor within a plain-text, Markdown, or LaTeX source document. # Output only. Location within a plain-text, Markdown, or LaTeX source document.
&quot;firstColumn&quot;: 42, # Output only. Optional 1-indexed inclusive first column offset within `first_line`.
&quot;firstLine&quot;: 42, # Output only. 1-indexed inclusive first line number.
&quot;lastColumn&quot;: 42, # Output only. Optional 1-indexed inclusive last column offset within `last_line`.
&quot;lastLine&quot;: 42, # Output only. 1-indexed inclusive last line number.
&quot;quotedLinePreview&quot;: &quot;A String&quot;, # Output only. Verbatim snippet of the anchored source line(s).
},
},
&quot;severity&quot;: &quot;A String&quot;, # Output only. Severity classification of the comment.
&quot;suggestedEdit&quot;: &quot;A String&quot;, # Output only. Optional suggested replacement text or edit for the anchored span.
&quot;summary&quot;: &quot;A String&quot;, # Output only. Short one-line summary of the review comment.
},
],
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Failure status details if review execution failed.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
},
&quot;reviewMarkdown&quot;: &quot;A String&quot;, # Output only. Synthesized review report markdown.
},
&quot;runConfig&quot;: { # Configuration options for the multi-agent document review execution pipeline. # Optional. Run configuration parameters used for this review.
&quot;geminiApiKey&quot;: &quot;A String&quot;, # Optional. Input only. Developer Bring-Your-Own-Key Gemini API key. When provided, requests are billed to the caller&#x27;s Gemini API project. Input only; forwarded to the asynchronous review runner in the task payload and never persisted in database records or returned in review resources (see companion field `gemini_api_key_set`, AIP-147).
&quot;geminiApiKeySet&quot;: True or False, # Output only. Indicates whether a developer Bring-Your-Own-Key Gemini API key was provided for this review run.
&quot;model&quot;: &quot;A String&quot;, # Optional. The Gemini model identifier to use for the review. If omitted, the server uses its default model. Unsupported values return INVALID_ARGUMENT.
&quot;thinkingLevel&quot;: &quot;A String&quot;, # Optional. Reasoning effort level for model calls in the review pipeline. Defaults to `THINKING_LEVEL_MEDIUM` when omitted or `THINKING_LEVEL_UNSPECIFIED`. Non-`THINKING_LEVEL_MEDIUM` thinking levels require `gemini_api_key` when calling `CreateReview`; otherwise `CreateReview` returns `INVALID_ARGUMENT`.
&quot;topology&quot;: &quot;A String&quot;, # Optional. Review execution topology profile to use.
&quot;userPrompt&quot;: &quot;A String&quot;, # Optional. User-provided guidance, focus areas, or custom evaluation instructions passed to the review agents.
},
&quot;startTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the worker started evaluation.
&quot;state&quot;: &quot;A String&quot;, # Output only. Current review lifecycle state.
},
],
}</pre>
</div>
<div class="method">
<code class="details" id="list_next">list_next(previous_request, previous_response)</code>
<pre>Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
</body></html>