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>"
]
}
}Returns page metadata, latest Agent HTML display fields, current CSP policy, selected store context when present, selected products only, selected bundle price options only, draft URL when safe, and capabilities.
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.
OAuth access tokens are rate-limited per OAuth application and merchant installation.
Numeric Scalev page ID.
Apakah halaman ini membantu?