Pandium · Schema

Pandium Run

A Run represents a single execution of a tenant's integration sync, tracking its status, mode, and timing information.

B2BHubsIntegrationsWorkflows

Properties

Name Type Description
id integer Unique identifier for the run.
tenant_id integer ID of the tenant this run belongs to.
trigger_id string The trigger ID associated with this run.
status string Current status of the run.
mode string The mode the run was triggered with.
created_date string Date and time the run was created.
modified_date string Date and time the run was last modified.
started_date string Date and time the run started executing.
completed_date string Date and time the run completed.
View JSON Schema on GitHub

JSON Schema

run.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/pandium/blob/main/json-schema/run.json",
  "title": "Pandium Run",
  "description": "A Run represents a single execution of a tenant's integration sync, tracking its status, mode, and timing information.",
  "type": "object",
  "required": ["id", "tenant_id"],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique identifier for the run."
    },
    "tenant_id": {
      "type": "integer",
      "description": "ID of the tenant this run belongs to."
    },
    "trigger_id": {
      "type": "string",
      "description": "The trigger ID associated with this run."
    },
    "status": {
      "type": "string",
      "description": "Current status of the run.",
      "enum": ["pending", "running", "completed", "failed"]
    },
    "mode": {
      "type": "string",
      "description": "The mode the run was triggered with.",
      "enum": ["cron", "manual", "webhook", "api"]
    },
    "created_date": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time the run was created."
    },
    "modified_date": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time the run was last modified."
    },
    "started_date": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time the run started executing."
    },
    "completed_date": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time the run completed."
    }
  }
}