{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-workspace-schema.json",
  "title": "workspace",
  "description": "Contains workspace properties including the count of messages, people, and objects. Customer.io caches these counts, so your data may be up to two hours old.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customer-io-workspaces-api-openapi.yml#/components/schemas/workspace",
  "x-scalar-ignore": true,
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The id of the workspace."
    },
    "name": {
      "type": "string",
      "description": "The name of the workspace."
    },
    "messages_sent": {
      "type": "integer",
      "description": "The count of [messages sent](/journeys/channels/message-statuses/#sent) via any channel (email, SMS, in-app, push, slack) in the current billing period."
    },
    "billable_messages_sent": {
      "type": "integer",
      "description": "The count of [emails sent](/journeys/channels/message-statuses/#sent) that are considered for billing in your current billing period. Ultimately, we only bill for the overages on your plan."
    },
    "people": {
      "type": "integer",
      "description": "The current count of people profiles in the workspace. Updates roughly every hour."
    },
    "object_types": {
      "type": "integer",
      "description": "The current count of object types in the workspace. Updates roughly every hour."
    },
    "objects": {
      "type": "integer",
      "description": "The current count of object profiles in the workspace. Updates roughly every hour."
    }
  }
}