WorkOS · Schema
EventList
AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP
Properties
| Name | Type | Description |
|---|---|---|
| object | string | Indicates this is a list response. |
| data | array | The list of records for the current page. |
| list_metadata | object | Pagination cursor for navigating to the next page of results. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/EventList",
"title": "EventList",
"type": "object",
"properties": {
"object": {
"type": "string",
"description": "Indicates this is a list response.",
"const": "list"
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EventSchema"
},
"description": "The list of records for the current page."
},
"list_metadata": {
"type": "object",
"properties": {
"after": {
"type": [
"string",
"null"
],
"description": "An object ID that defines your place in the list. When the ID is not present, you are at the end of the list.",
"example": "event_01EHZNVPK3SFK441A1RGBFSHRT"
}
},
"required": [
"after"
],
"description": "Pagination cursor for navigating to the next page of results."
}
},
"required": [
"object",
"data",
"list_metadata"
],
"example": {
"object": "list",
"data": [
{
"object": "event",
"id": "event_01EHZNVPK3SFK441A1RGBFSHRT",
"event": "dsync.user.created",
"data": {
"id": "directory_user_01E1JG7J09H96KYP8HM9B0G5SJ",
"directory_id": "directory_01ECAZ4NV9QMV47GW873HDCX74",
"organization_id": "org_01EZTR6WYX1A0DSE2CYMGXQ24Y",
"state": "active",
"email": "[email protected]",
"emails": [
{
"primary": true,
"type": "work",
"value": "[email protected]"
}
],
"idp_id": "2836",
"object": "directory_user",
"username": "[email protected]",
"last_name": "Torp",
"first_name": "Veda",
"raw_attributes": {},
"custom_attributes": {},
"created_at": "2021-06-25T19:07:33.155Z",
"updated_at": "2021-06-25T19:07:33.155Z"
},
"created_at": "2021-06-25T19:07:33.155Z",
"context": {}
}
],
"list_metadata": {
"after": "event_01EHZNVPK3SFK441A1RGBFSHRT"
}
}
}