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"
+ },
+ "sessions": {
+ "description": "Sessions on this page, newest first; may be short or empty under a `status` filter.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "context": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "properties": {
+ "bytes": {
+ "description": "Serialised size of the stored context.",
+ "type": "integer"
+ },
+ "cookies": {
+ "description": "Cookies stored.",
+ "type": "integer"
+ },
+ "origins": {
+ "description": "Distinct origins with stored web storage.",
+ "type": "integer"
+ },
+ "schema_version": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Size summary of the stored context (counts only, no secrets); null once the session is not active."
+ },
+ "created_at": {
+ "description": "Creation time, RFC 3339 UTC.",
+ "type": "string"
+ },
+ "domain_scores": {
+ "additionalProperties": {
+ "additionalProperties": true,
+ "properties": {
+ "bad": {
+ "description": "Failed requests counted.",
+ "type": "integer"
+ },
+ "good": {
+ "description": "Successful requests counted.",
+ "type": "integer"
+ },
+ "last_updated": {
+ "description": "Last update, Unix milliseconds.",
+ "type": "number"
+ },
+ "retired": {
+ "description": "Hard block for this domain; use a new session for it.",
+ "type": "boolean"
+ },
+ "score": {
+ "description": "Error score; rises on failures, decays on successes. Blocked at 3.",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "description": "Per-domain standing, keyed by domain. Omitted when empty.",
+ "type": "object"
+ },
+ "engine": {
+ "description": "Rendering tier the session is bound to: fetch, js or browser.",
+ "type": "string"
+ },
+ "expires_at": {
+ "description": "Current expiry (slides on use), RFC 3339 UTC.",
+ "type": "string"
+ },
+ "fingerprint": {
+ "additionalProperties": {},
+ "description": "Browser fingerprint, as stored.",
+ "type": "object"
+ },
+ "hard_expires_at": {
+ "description": "Fixed ceiling the expiry never passes, RFC 3339 UTC.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Session id; pass it as `session_id` to spicrawl_scrape.",
+ "type": "string"
+ },
+ "last_used_at": {
+ "description": "Last successful scrape, RFC 3339 UTC; null if never used.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "lease": {
+ "additionalProperties": true,
+ "description": "Present only while a scrape holds the session; release and delete are refused until it lapses unless `force`.",
+ "properties": {
+ "expires_at": {
+ "description": "When the lease lapses at the latest, RFC 3339 UTC.",
+ "type": "string"
+ },
+ "holder": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "project_id": {
+ "description": "Project the session belongs to.",
+ "type": "string"
+ },
+ "proxy": {
+ "additionalProperties": true,
+ "description": "The session's exit intent (never an IP or endpoint).",
+ "properties": {
+ "country": {
+ "description": "Lowercase alpha-2 exit country, when one was requested.",
+ "type": "string"
+ },
+ "region_pool": {
+ "description": "Regional pool requested at creation.",
+ "type": "string"
+ },
+ "tier": {
+ "description": "Exit tier: datacenter or residential.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "released_at": {
+ "description": "Release time, on released sessions, RFC 3339 UTC.",
+ "type": "string"
+ },
+ "retired": {
+ "description": "Why the session was taken out of service (expired, usage_exhausted, explicit); absent while usable.",
+ "type": "string"
+ },
+ "status": {
+ "description": "active, released or expired; derived from the clock, and only `active` sessions can be used.",
+ "type": "string"
+ },
+ "sticky_key": {
+ "description": "Exit pin in use (empty when rotate_ip was set).",
+ "type": "string"
+ },
+ "usage_count": {
+ "description": "Successful scrapes that used the session.",
+ "type": "integer"
+ },
+ "warnings": {
+ "description": "Decisions made on your behalf at creation, e.g. a TTL reduced to the organization maximum.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "sessions"
+ ],
+ "type": "object"
+}