Optimizely · Schema
InPageEvent
An Event that can occur only within the context of a specific Page (allowed in Web Projects only)
A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing
Properties
| Name | Type | Description |
|---|---|---|
| archived | boolean | Whether or not this Event is archived |
| category | object | |
| config | object | |
| created | string | Creation date for this Event |
| description | string | A description of this Event |
| event_type | string | The type of this Event |
| id | integer | The unique identifier of the Event |
| is_classic | boolean | Whether or not this Event is a classic Event. If true, the Event is read-only |
| is_editable | boolean | Whether or not this Event may be edited |
| key | string | Unique string identifier for this Event within the Project |
| name | string | A human readable name for this Event |
| page_id | integer | The Page ID associated with this Event |
| project_id | integer | The ID of this Event's parent Project |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-in-page-event-schema.json",
"title": "InPageEvent",
"description": "An Event that can occur only within the context of a specific Page (allowed in Web Projects only)",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/optimizely-events-api-openapi.yml#/components/schemas/InPageEvent",
"properties": {
"archived": {
"description": "Whether or not this Event is archived",
"type": "boolean"
},
"category": {
"$ref": "#/$defs/EventCategories"
},
"config": {
"$ref": "#/$defs/InPageEventConfig"
},
"created": {
"description": "Creation date for this Event",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"description": {
"description": "A description of this Event",
"type": "string"
},
"event_type": {
"description": "The type of this Event",
"enum": [
"click"
],
"type": "string"
},
"id": {
"description": "The unique identifier of the Event",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"is_classic": {
"default": false,
"description": "Whether or not this Event is a classic Event. If true, the Event is read-only",
"readOnly": true,
"type": "boolean"
},
"is_editable": {
"description": "Whether or not this Event may be edited",
"readOnly": true,
"type": "boolean"
},
"key": {
"description": "Unique string identifier for this Event within the Project",
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_\\-]+$",
"type": "string"
},
"name": {
"description": "A human readable name for this Event",
"type": "string"
},
"page_id": {
"description": "The Page ID associated with this Event",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"project_id": {
"description": "The ID of this Event's parent Project",
"format": "int64",
"readOnly": true,
"type": "integer"
}
},
"required": [
"name",
"event_type"
],
"type": "object",
"$defs": {
"EventCategories": {
"enum": [
"add_to_cart",
"save",
"search",
"share",
"purchase",
"convert",
"sign_up",
"subscribe",
"other"
],
"properties": {
"name": {
"type": "string"
}
},
"type": "string"
},
"InPageEventConfig": {
"properties": {
"selector": {
"description": "CSS selector for the page element(s) that trigger an Event",
"type": "string"
}
},
"required": [
"selector"
],
"type": "object"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/optimizely-in-page-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.