---
title: "Create an event"
method: POST
path: "/events"
tags: ["events"]
---

# Create an event

`POST /events`

## Headers

- `Authorization` string, required
- `X-Disable-Hooks` 'true', required

## Request body

- TypeEventsCreateEventConfig — Properties used to create a new event
  - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
  - `context` TypeEventsContext, required — The context of the event
    - `namespaces` string[] — The namespaces of the event
    - `slugs` TypeEventsEventContextSlugs
      - `space` string — The slug of the space
      - `workbook` string — The slug of the workbook
      - `sheet` string — The slug of the sheet
    - `actionName` string — Name of an action
    - `accountId` string, required — Account ID
    - `environmentId` string, required — Environment ID
    - `spaceId` string — Space ID
    - `workbookId` string — Workbook ID
    - `sheetId` string — Sheet ID
    - `sheetSlug` string — Sheet Slug
    - `snapshotId` string — Snapshot ID
    - `versionId` string — Version ID
    - `commitId` string — Commit ID
    - `jobId` string — Pipeline Job ID
    - `programId` string — Mapping Program ID
    - `fileId` string — File ID
    - `documentId` string — Document ID
    - `precedingEventId` string — Event ID
    - `actorId` string — Can be a UserId, GuestId, or AgentId
    - `appId` string — App ID
    - `actionId` string — Action ID
    - `dataClipId` string — Data Clip ID
    - `threadId` string — Thread ID
    - `filters` object
    - `entityId` string
  - `attributes` TypeEventsEventAttributes — The attributes of the event
    - `targetUpdatedAt` string, date-time — Date the related entity was last updated
    - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
      - `current` integer — The current progress of the event
      - `total` integer — The total number of events in this group
      - `percent` integer — The percent complete of the event group
  - `callbackUrl` string — The callback url to acknowledge the event
  - `dataUrl` string — The url to retrieve the data associated with the event
  - `target` string
  - `origin` TypeEventsOrigin — The origin resource of the event
    - `id` string
    - `slug` string
  - `namespaces` string[]
  - `topic` 'agent:created' | 'agent:updated' | 'agent:deleted' | 'space:created' | 'space:updated' | 'space:deleted' | 'space:archived' | 'space:unarchived' | 'space:expired' | 'space:guestAdded' | 'space:guestRemoved' | 'document:created' | 'document:updated' | 'document:deleted' | 'workbook:created' | 'workbook:updated' | 'workbook:deleted' | 'workbook:expired' | 'workbook:thawed' | 'flag:created' | 'flag:updated' | 'flag:deleted' | 'sheet:created' | 'sheet:updated' | 'sheet:deleted' | 'sheet:counts-updated' | 'sheet:calculation-updated' | 'snapshot:created' | 'records:created' | 'records:updated' | 'records:deleted' | 'file:created' | 'file:updated' | 'file:deleted' | 'file:expired' | 'job:created' | 'job:updated' | 'job:deleted' | 'job:completed' | 'job:ready' | 'job:scheduled' | 'job:outcome-acknowledged' | 'job:parts-completed' | 'job:failed' | 'program:created' | 'program:updated' | 'program:recomputing' | 'program:recomputed' | 'commit:created' | 'commit:updated' | 'commit:completed' | 'layer:created' | 'secret:created' | 'secret:updated' | 'secret:deleted' | 'cron:5-minutes' | 'cron:hourly' | 'cron:daily' | 'cron:weekly' | 'environment:created' | 'environment:updated' | 'environment:deleted' | 'environment:autobuild-created' | 'action:created' | 'action:updated' | 'action:deleted' | 'data-clip:created' | 'data-clip:updated' | 'data-clip:deleted' | 'data-clip:collaborator-updated' | 'data-clip:resolutions-created' | 'data-clip:resolutions-updated' | 'data-clip:resolutions-refreshed' | 'canvas:created' | 'canvas:updated' | 'canvas:deleted' | 'canvas-area:created' | 'canvas-area:updated' | 'canvas-area:deleted' | 'thread:created' | 'thread:updated' | 'thread:deleted', required — The topic of the event
  - `payload` object, required
  - `deletedAt` string, date-time — Date the event was deleted

## Response `200`

Response with status 200

- TypeEventsEventResponse
  - `data` union, required — An event that tracks an activity within an environment
    - object
      - `topic` 'agent:created', required — Discriminator value: agent:created
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'agent:updated', required — Discriminator value: agent:updated
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'agent:deleted', required — Discriminator value: agent:deleted
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'space:created', required — Discriminator value: space:created
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'space:updated', required — Discriminator value: space:updated
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'space:deleted', required — Discriminator value: space:deleted
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'space:archived', required — Discriminator value: space:archived
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'space:expired', required — Discriminator value: space:expired
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'space:guestAdded', required — Discriminator value: space:guestAdded
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'space:guestRemoved', required — Discriminator value: space:guestRemoved
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'document:created', required — Discriminator value: document:created
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'document:updated', required — Discriminator value: document:updated
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'document:deleted', required — Discriminator value: document:deleted
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'workbook:created', required — Discriminator value: workbook:created
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'workbook:updated', required — Discriminator value: workbook:updated
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'workbook:deleted', required — Discriminator value: workbook:deleted
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'workbook:expired', required — Discriminator value: workbook:expired
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'workbook:thawed', required — Discriminator value: workbook:thawed
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'flag:created', required — Discriminator value: flag:created
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'flag:updated', required — Discriminator value: flag:updated
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'flag:deleted', required — Discriminator value: flag:deleted
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'sheet:created', required — Discriminator value: sheet:created
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'sheet:updated', required — Discriminator value: sheet:updated
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'sheet:deleted', required — Discriminator value: sheet:deleted
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'sheet:counts-updated', required — Discriminator value: sheet:counts-updated
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'sheet:calculation-updated', required — Discriminator value: sheet:calculation-updated
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
        - `workbookId` string — Workbook ID
        - `sheetId` string — Sheet ID
        - `sheetSlug` string — Sheet Slug
        - `snapshotId` string — Snapshot ID
        - `versionId` string — Version ID
        - `commitId` string — Commit ID
        - `jobId` string — Pipeline Job ID
        - `programId` string — Mapping Program ID
        - `fileId` string — File ID
        - `documentId` string — Document ID
        - `precedingEventId` string — Event ID
        - `actorId` string — Can be a UserId, GuestId, or AgentId
        - `appId` string — App ID
        - `actionId` string — Action ID
        - `dataClipId` string — Data Clip ID
        - `threadId` string — Thread ID
        - `filters` object
        - `entityId` string
      - `attributes` TypeEventsEventAttributes — The attributes of the event
        - `targetUpdatedAt` string, date-time — Date the related entity was last updated
        - `progress` TypeEventsProgress — The progress of the event within a collection of iterable events
          - `current` integer — The current progress of the event
          - `total` integer — The total number of events in this group
          - `percent` integer — The percent complete of the event group
      - `callbackUrl` string — The callback url to acknowledge the event
      - `dataUrl` string — The url to retrieve the data associated with the event
      - `target` string
      - `origin` TypeEventsOrigin — The origin resource of the event
        - `id` string
        - `slug` string
      - `namespaces` string[]
      - `id` string, required — Event ID
      - `createdAt` string, date-time, required — Date the event was created
      - `deletedAt` string, date-time — Date the event was deleted
      - `acknowledgedAt` string, date-time — Date the event was acknowledged
      - `acknowledgedBy` string — The actor (user or system) who acknowledged the event
      - `payload` object, required
    - object
      - `topic` 'snapshot:created', required — Discriminator value: snapshot:created
      - `domain` 'file' | 'space' | 'workbook' | 'flag' | 'job' | 'document' | 'sheet' | 'program' | 'secret' | 'cron' | 'environment' | 'data-clip' | 'canvas' | 'canvas-area' | 'thread', required — The domain of the event
      - `context` TypeEventsContext, required — The context of the event
        - `namespaces` string[] — The namespaces of the event
        - `slugs` TypeEventsEventContextSlugs
          - `space` string — The slug of the space
          - `workbook` string — The slug of the workbook
          - `sheet` string — The slug of the sheet
        - `actionName` string — Name of an action
        - `accountId` string, required — Account ID
        - `environmentId` string, required — Environment ID
        - `spaceId` string — Space ID
- … truncated; see the full OpenAPI document linked below

## Other responses

- `400` — Error response with status 400
- `404` — Error response with status 404

---

[API](https://skmtc.net/flatfile/apis/api-reference.md) · [All operations](https://skmtc.net/flatfile/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flatfile/api-reference/revisions/9d3a9979cd96/schema)
