Langsung ke konten utama
GET
/
v3
/
chatgpt
/
pages
/
{page_id}
/
context
Get HTML Mode page context
curl --request GET \
  --url https://api.scalev.com/v3/chatgpt/pages/{page_id}/context \
  --header 'Authorization: Bearer <token>'
{
  "page": {
    "id": 123,
    "unique_id": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "is_published": true,
    "store_id": 123,
    "render_mode": "agent_html",
    "capabilities": {
      "can_read": true,
      "can_update_html_mode": true,
      "can_publish": false
    }
  },
  "page_display": {
    "id": 123,
    "version": 123,
    "render_mode": "agent_html",
    "is_published": true,
    "agent_html": "<string>",
    "agent_css": "<string>",
    "agent_js": "<string>",
    "agent_csp_policy": {
      "connect_src": [
        "<string>"
      ],
      "img_src": [
        "<string>"
      ],
      "script_src": [
        "<string>"
      ],
      "style_src": [
        "<string>"
      ],
      "frame_src": [
        "<string>"
      ]
    },
    "agent_store_id": 123,
    "agent_store": {},
    "agent_variant_ids": [
      123
    ],
    "agent_bundle_price_option_ids": [
      123
    ]
  },
  "draft_url": "<string>",
  "capabilities": {
    "max_payload_sizes": {
      "agent_html": 204800,
      "agent_css": 102400,
      "agent_js": 102400
    },
    "allowed_csp_keys": [
      "connect_src",
      "img_src",
      "script_src",
      "style_src",
      "frame_src"
    ],
    "current_csp": {
      "connect_src": [
        "<string>"
      ],
      "img_src": [
        "<string>"
      ],
      "script_src": [
        "<string>"
      ],
      "style_src": [
        "<string>"
      ],
      "frame_src": [
        "<string>"
      ]
    },
    "can_update": true,
    "publishing": "dashboard_only",
    "allowed_scalev_runtime_namespaces": [
      "<string>"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.scalev.com/llms.txt

Use this file to discover all available pages before exploring further.

Otorisasi

Authorization
string
header
wajib

OAuth access tokens are rate-limited per OAuth application and merchant installation.

Parameter Path

page_id
integer
wajib

Numeric Scalev page ID.

Respons

HTML Mode page context with selected store products and bundle options only

page
object
page_display
object
draft_url
string<uri>
capabilities
object