Runn · Schema

Event

An event represents an action that occurred. Every event has a `type`, `actor`, and `timestamp` property. Use the `type` property to determine which event occurred.

CompanyResource ManagementCapacity-PlanningProject Management
View JSON Schema on GitHub

JSON Schema

runn-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/runn/json-schema/runn-event-schema.json",
  "title": "Event",
  "description": "An event represents an action that occurred.       Every event has a `type`, `actor`, and `timestamp` property.       Use the `type` property to determine which event occurred.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/runn-activity-log-api-openapi.yml#/components/schemas/Event",
  "anyOf": [
    {
      "$ref": "#/$defs/Event.ProjectDeleted"
    },
    {
      "$ref": "#/$defs/Event.PersonDeleted"
    },
    {
      "$ref": "#/$defs/Event.ContractDeleted"
    },
    {
      "$ref": "#/$defs/Event.ActualDeleted"
    },
    {
      "$ref": "#/$defs/Event.TimeOffDeleted"
    },
    {
      "$ref": "#/$defs/Event.AssignmentDeleted"
    }
  ],
  "$defs": {
    "Actor": {
      "title": "Actor",
      "description": "An actor represents an entity that can perform actions such as a user, api key, or system process. Each actor type has a unique set of properties. The `type` property is used to determine the actor type.",
      "anyOf": [
        {
          "$ref": "#/$defs/ActorRunnSupport"
        },
        {
          "$ref": "#/$defs/ActorUser"
        },
        {
          "$ref": "#/$defs/ActorApi"
        },
        {
          "$ref": "#/$defs/ActorCsv"
        },
        {
          "$ref": "#/$defs/ActorIntegration"
        },
        {
          "$ref": "#/$defs/ActorSystem"
        }
      ]
    },
    "ActorApi": {
      "title": "API Actor",
      "description": "The api actor represents an action performed by an api key.",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "api"
          ]
        },
        "tokenId": {
          "description": "The id of the api key.",
          "type": "number"
        },
        "tokenName": {
          "description": "The name of the api key.",
          "type": "string"
        },
        "apiVersion": {
          "description": "The api version.",
          "type": "string"
        }
      },
      "required": [
        "type",
        "tokenId",
        "tokenName",
        "apiVersion"
      ]
    },
    "ActorCsv": {
      "title": "CSV Actor",
      "description": "The csv actor represents an action performed by a csv file upload.",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "csv"
          ]
        },
        "userId": {
          "description": "The id of the user who uploaded the csv file.",
          "type": "number"
        },
        "userEmail": {
          "description": "The email of the user who uploaded the csv file.",
          "type": "string"
        }
      },
      "required": [
        "type"
      ]
    },
    "ActorIntegration": {
      "title": "Integration Actor",
      "description": "The integration actor represents an action performed by an integration with a third-party service.",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "integration"
          ]
        },
        "id": {
          "description": "The id of the integration.",
          "type": "number"
        },
        "name": {
          "description": "The name of the integration.",
          "type": "string"
        }
      },
      "required": [
        "type",
        "id",
        "name"
      ]
    },
    "ActorRunnSupport": {
      "title": "Runn Support Actor",
      "description": "The Runn Support actor represents an action performed by the Runn supprt team. If you have questions about actions performed by the Runn support team, please contact the Runn team.",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "runn_support"
          ]
        }
      },
      "required": [
        "type"
      ]
    },
    "ActorSystem": {
      "title": "System Actor",
      "description": "The system actor represents an action performed by the system, such as a scheduled task, migration, or other automated process. Some actions may not have a specific actor and will default to the system actor.",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "system"
          ]
        }
      },
      "required": [
        "type"
      ]
    },
    "ActorUser": {
      "title": "User Actor",
      "description": "The user actor represents a user. This usually means a user who interacted with the web application.",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "user"
          ]
        },
        "userId": {
          "type": "number"
        },
        "userEmail": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "userId"
      ]
    },
    "Event.ActualDeleted": {
      "title": "Actual Deleted Event",
      "description": "An actual was deleted.",
      "type": "object",
      "properties": {
        "eventId": {
          "type": "string"
        },
        "type": {
          "description": "The unique type of the event",
          "type": "string",
          "enum": [
            "actual_deleted"
          ]
        },
        "actor": {
          "$ref": "#/$defs/Actor"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time the event occurred in ISO8601 format."
        },
        "actual": {
          "description": "Details about the actual that was deleted.",
          "type": "object",
          "properties": {
            "id": {
              "description": "The id of the actual at the time it was deleted.",
              "type": "integer"
            },
            "date": {
              "description": "The date of the actual at the time it was deleted.",
              "type": "string"
            },
            "personId": {
              "description": "The id of the person associated with the actual.",
              "type": "integer"
            },
            "roleId": {
              "description": "The id of the role associated with the actual.",
              "type": "integer"
            },
            "projectId": {
              "description": "The id of the project associated with the actual.",
              "type": "integer"
            },
            "phaseId": {
              "description": "The id referencing the phase of the actual, if applicable.",
              "type": [
                "number",
                "null"
              ]
            },
            "workstreamId": {
              "description": "The id of the workstream associated with the actual.",
              "type": [
                "integer",
                "null"
              ]
            },
            "billableMinutes": {
              "description": "The number of billable minutes for the actual",
              "type": "number"
            },
            "nonbillableMinutes": {
              "description": "The number of nonbillable minutes for the actual",
              "type": "number"
            },
            "billableNote": {
              "description": "A note or comment related to the billable minutes, if any.",
              "type": [
                "string",
                "null"
              ]
            },
            "nonbillableNote": {
              "description": "A note or comment related to the nonbillable minutes, if any.",
              "type": [
                "string",
                "null"
              ]
            },
            "person": {
              "$ref": "#/$defs/Event.Subresource.Person",
              "nullable": true
            },
            "role": {
              "$ref": "#/$defs/Event.Subresource.Role",
              "nullable": true
            },
            "project": {
              "$ref": "#/$defs/Event.Subresource.Project",
              "nullable": true
            },
            "workstream": {
              "$ref": "#/$defs/Event.Subresource.Workstream",
              "nullable": true
            }
          },
          "required": [
            "id",
            "date",
            "personId",
            "roleId",
            "projectId",
            "phaseId",
            "workstreamId",
            "billableMinutes",
            "nonbillableMinutes",
            "billableNote",
            "nonbillableNote",
            "person",
            "role",
            "project",
            "workstream"
          ]
        }
      },
      "required": [
        "eventId",
        "type",
        "actor",
        "timestamp",
        "actual"
      ]
    },
    "Event.AssignmentDeleted": {
      "title": "Assignment Deleted Event",
      "description": "An assignment was deleted.",
      "type": "object",
      "properties": {
        "eventId": {
          "type": "string"
        },
        "type": {
          "description": "The unique type of the event",
          "type": "string",
          "enum": [
            "assignment_deleted"
          ]
        },
        "actor": {
          "$ref": "#/$defs/Actor"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time the event occurred in ISO8601 format."
        },
        "assignment": {
          "description": "Details about the assignment that was deleted.",
          "type": "object",
          "properties": {
            "id": {
              "description": "The unique identifier of the assignment.",
              "type": "integer"
            },
            "personId": {
              "description": "The unique identifier of the person associated with the assignment.",
              "type": "integer"
            },
            "startDate": {
              "format": "date",
              "description": "The start date of the assignment. Format: YYYY-MM-DD",
              "type": "string"
            },
            "endDate": {
              "format": "date",
              "description": "The end date of the assignment. Format: YYYY-MM-DD",
              "type": "string"
            },
            "projectId": {
              "description": "The ID referencing the project to which the assignment belongs.",
              "type": "integer"
            },
            "minutesPerDay": {
              "description": "The number of minutes allocated to the assignment per day.",
              "type": "integer"
            },
            "roleId": {
              "description": "The unique identifier of the role associated with the assignment.",
              "type": "integer"
            },
            "isActive": {
              "description": "A flag indicating whether the assignment is currently active.",
              "type": "boolean"
            },
            "note": {
              "type": [
                "string",
                "null"
              ]
            },
            "isBillable": {
              "description": "A flag indicating whether the assignment is billable.",
              "type": "boolean"
            },
            "phaseId": {
              "type": [
                "integer",
                "null"
              ]
            },
            "isNonWorkingDay": {
              "description": "A flag indicating if the assignment falls on a non-working day.",
              "type": "boolean"
            },
            "isTemplate": {
              "description": "A flag indicating if the assignment is a template.",
              "type": "boolean"
            },
            "workstreamId": {
              "type": [
                "number",
                "null"
              ]
            },
            "project": {
              "$ref": "#/$defs/Event.Subresource.Project",
              "nullable": true
            },
            "person": {
              "$ref": "#/$defs/Event.Subresource.Person",
              "nullable": true
            },
            "role": {
              "$ref": "#/$defs/Event.Subresource.Role",
              "nullable": true
            },
            "phase": {
              "$ref": "#/$defs/Event.Subresource.Phase",
              "nullable": true
            },
            "workstream": {
              "$ref": "#/$defs/Event.Subresource.Workstream",
              "nullable": true
            }
          },
          "required": [
            "id",
            "personId",
            "startDate",
            "endDate",
            "projectId",
            "minutesPerDay",
            "roleId",
            "isActive",
            "note",
            "isBillable",
            "phaseId",
            "isNonWorkingDay",
            "isTemplate",
            "workstreamId",
            "project",
            "person",
            "role",
            "phase",
            "workstream"
          ]
        }
      },
      "required": [
        "eventId",
        "type",
        "actor",
        "timestamp",
        "assignment"
      ]
    },
    "Event.ContractDeleted": {
      "title": "Contract Deleted Event",
      "description": "A contract was deleted.",
      "type": "object",
      "properties": {
        "eventId": {
          "type": "string"
        },
        "type": {
          "description": "The unique type of the event",
          "type": "string",
          "enum": [
            "contract_deleted"
          ]
        },
        "actor": {
          "$ref": "#/$defs/Actor"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time the event occurred in ISO8601 format."
        },
        "contract": {
          "type": "object",
          "properties": {
            "id": {
              "description": "The unique identifier of the contract.",
              "type": "integer"
            },
            "personId": {
              "description": "The unique identifier of the person associated with the contract.",
              "type": "integer"
            },
            "roleId": {
              "description": "The unique identifier of the role associated with the contract.",
              "type": "integer"
            },
            "startDate": {
              "description": "The start date of the contract.",
              "format": "date",
              "type": "string"
            },
            "endDate": {
              "format": "date",
              "description": "The end date of the contract. If the contract was ongoing, this field will be null.",
              "type": [
                "string",
                "null"
              ]
            },
            "person": {
              "$ref": "#/$defs/Event.Subresource.Person",
              "nullable": true
            },
            "role": {
              "$ref": "#/$defs/Event.Subresource.Role",
              "nullable": true
            }
          },
          "required": [
            "id",
            "personId",
            "roleId",
            "startDate",
            "endDate",
            "person",
            "role"
          ]
        }
      },
      "required": [
        "eventId",
        "type",
        "actor",
        "timestamp",
        "contract"
      ]
    },
    "Event.PersonDeleted": {
      "title": "Person Deleted Event",
      "description": "A person was deleted.",
      "type": "object",
      "properties": {
        "eventId": {
          "type": "string"
        },
        "type": {
          "description": "The unique type of the event",
          "type": "string",
          "enum": [
            "person_deleted"
          ]
        },
        "actor": {
          "$ref": "#/$defs/Actor"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time the event occurred in ISO8601 format."
        },
        "person": {
          "description": "Details about the person that was deleted.",
          "type": "object",
          "properties": {
            "id": {
              "description": "The id of the person at the time they were deleted.",
              "type": "integer"
            },
            "email": {
              "description": "The email of the person at the time they were deleted.",
              "type": [
                "string",
                "null"
              ]
            },
            "firstName": {
              "description": "The first name of the person at the time they were deleted.",
              "type": "string"
            },
            "lastName": {
              "description": "The last name of the person at the time they were deleted.",
              "type": "string"
            }
          },
          "required": [
            "id",
            "email",
            "firstName",
            "lastName"
          ]
        }
      },
      "required": [
        "eventId",
        "type",
        "actor",
        "timestamp",
        "person"
      ]
    },
    "Event.ProjectDeleted": {
      "title": "Project Deleted Event",
      "description": "A project was deleted.",
      "type": "object",
      "properties": {
        "eventId": {
          "type": "string"
        },
        "type": {
          "description": "The unique type of the event",
          "type": "string",
          "enum": [
            "project_deleted"
          ]
        },
        "actor": {
          "$ref": "#/$defs/Actor"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time the event occurred in ISO8601 format."
        },
        "project": {
          "description": "Details about the project that was deleted.",
          "type": "object",
          "properties": {
            "id": {
              "description": "The id of the project at the time it was deleted.",
              "type": "integer"
            },
            "name": {
              "description": "The name of the project at the time it was deleted.",
              "type": "string"
            }
          },
          "required": [
            "id",
            "name"
          ]
        }
      },
      "required": [
        "eventId",
        "type",
        "actor",
        "timestamp",
        "project"
      ]
    },
    "Event.Subresource.Person": {
      "title": "Person Event Subresource",
      "description": "A subset of details about the person used on an event",
      "type": "object",
      "properties": {
        "id": {
          "description": "The unique identifier of the person",
          "type": "integer"
        },
        "firstName": {
          "description": "The first name of the person",
          "type": "string"
        },
        "lastName": {
          "description": "The last name of the person",
          "type": "string"
        },
        "email": {
          "description": "The email address of the person",
          "type": [
            "string",
            "null"
          ]
        },
        "isPlaceholder": {
          "description": "A flag indicating if the person is a placeholder",
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "firstName",
        "lastName",
        "email",
        "isPlaceholder"
      ]
    },
    "Event.Subresource.Phase": {
      "title": "Phase Event Subresource",
      "description": "A subset of details about the phase used on an event",
      "type": "object",
      "properties": {
        "id": {
          "description": "The unique identifier of the phase",
          "type": "integer"
        },
        "name": {
          "description": "The name of the phase",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ]
    },
    "Event.Subresource.Project": {
      "title": "Project Event Subresource",
      "description": "A subset of details about the project used on an event",
      "type": "object",
      "properties": {
        "id": {
          "description": "The unique identifier of the project",
          "type": "integer"
        },
        "name": {
          "description": "The name of the project",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ]
    },
    "Event.Subresource.Role": {
      "title": "Role Event Subresource",
      "description": "A subset of details about the role used on an event",
      "type": "object",
      "properties": {
        "id": {
          "description": "The unique identifier of the role",
          "type": "integer"
        },
        "name": {
          "description": "The name of the role",
          "type": "string"
        },
        "active": {
          "description": "Whether the role is active",
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "name",
        "active"
      ]
    },
    "Event.Subresource.Workstream": {
      "title": "Workstream Event Subresource",
      "description": "A subset of details about the workstream used on an event",
      "type": "object",
      "properties": {
        "id": {
          "description": "The unique identifier of the workstream",
          "type": "integer"
        },
        "name": {
          "description": "The name of the workstream",
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ]
    },
    "Event.TimeOffDeleted": {
      "title": "Time Off Deleted Event",
      "description": "A time off was deleted.",
      "type": "object",
      "properties": {
        "eventId": {
          "type": "string"
        },
        "type": {
          "description": "The unique type of the event",
          "type": "string",
          "enum": [
            "time_off_deleted"
          ]
        },
        "actor": {
          "$ref": "#/$defs/Actor"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The time the event occurred in ISO8601 format."
        },
        "timeOff": {
          "type": "object",
          "properties": {
            "id": {
              "description": "The unique identifier for the time-off.",
              "type": "integer"
            },
            "personId": {
              "description": "The identifier referencing the person associated with the time-off.",
              "type": "integer"
            },
            "startDate": {
              "format": "date",
              "description": "The start date of the time-off.",
              "type": "string"
            },
            "endDate": {
              "format": "date",
              "description": "The end date of the time-off.",
              "type": "string"
            },
            "note": {
              "type": [
                "string",
                "null"
              ]
            },
            "minutesPerDay": {
              "type": [
                "integer",
                "null"
              ]
            },
            "person": {
              "$ref": "#/$defs/Event.Subresource.Person",
              "nullable": true
            }
          },
          "required": [
            "id",
            "personId",
            "startDate",
            "endDate",
            "note",
            "minutesPerDay",
            "person"
          ]
        }
      },
      "required": [
        "eventId",
        "type",
        "actor",
        "timestamp",
        "timeOff"
      ]
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/runn-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.