changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "next_cursor": {
+ "description": "Pass back as `cursor` for the next page; absent on the last page.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "results": {
+ "description": "Finished items of the job, in seq order.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "attempts": {
+ "description": "How many times the item was tried.",
+ "type": "number"
+ },
+ "bytes": {
+ "description": "Response size recorded for this item.",
+ "type": "number"
+ },
+ "credits_micro": {
+ "description": "Micro-credits charged for this item (0 unless succeeded).",
+ "type": "number"
+ },
+ "duration_ms": {
+ "description": "Time spent on the item's final attempt, in milliseconds.",
+ "type": "number"
+ },
+ "error": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "description": "Stable machine error code; switch on this, not on text.",
+ "type": "string"
+ },
+ "retryable": {
+ "description": "True when running the item again may succeed.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Why the item failed. Absent on success."
+ },
+ "external_id": {
+ "description": "The external_id supplied for this item, if any.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "finished_at": {
+ "description": "ISO-8601 time the item reached its terminal status.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "http_status": {
+ "description": "The target site's HTTP status (absent when no response was received).",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "request_id": {
+ "description": "Id of the underlying request, for request history.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "result": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "properties": {
+ "bytes": {
+ "description": "Full size of the stored payload in bytes.",
+ "type": "number"
+ },
+ "content": {
+ "description": "The item's document as raw JSON text (JSON-decode once to get the markdown, text or html). A prefix when truncated.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "omitted": {
+ "description": "True when no content was included because the page's size budget was spent; use a smaller `limit`.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "truncated": {
+ "description": "True when `content` is only a prefix.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "unavailable": {
+ "description": "Why the payload could not be read at all.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The payload inline. Absent while the job is running or when the item has none."
+ },
+ "result_url": {
+ "description": "API path to fetch this item's content on its own.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "seq": {
+ "description": "0-based position in submission order; use it with spicrawl_batch_task_content.",
+ "type": "number"
+ },
+ "status": {
+ "description": "Terminal item status: succeeded, failed, cancelled or skipped.",
+ "type": "string"
+ },
+ "url": {
+ "description": "The target URL as submitted.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "seq"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "results"
+ ],
+ "type": "object"
+}