Find relevant passages in an existing Snapshot. Requires authentication and costs one Highlights credit. Does not fetch the page again.
In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
a non empty string
1 <= lengthapplication/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
{
"snapshotId": "string",
"response": {
"url": "https://stripe.com/docs/api",
"requestedUrl": "https://www.stripe.com/docs/api",
"originStatusCode": 200,
"
{
"issues": [
{
"_tag": "Pointer",
"path": [
"string"
],
"message": "string"
}
],
"
{
"reason": "InvalidApiKey",
"description": "string",
"_tag": "AuthFailed"
}{
"organizationId": "string",
"blockedUntil": "string",
"_tag": "AccessBlocked"
}{
"snapshotId": "string",
"_tag": "FetchSnapshotHighlightsNotFound"
}{
"_tag": "PayloadTooLarge"
}{
"retryable": true,
"retryAfterSeconds": 0,
"_tag": "TooManyRequests"
}{
"retryable": true,
"_tag": "InternalError"
}{
"message": "string",
"requestId": "string",
"dispatchOutcome": "cancelled_before_start",
"retryable": true,
"_tag":
Options for Highlights. When present, Fetch returns relevant passages.
Layers to highlight. Defaults to Main Markdown and State JSON.