Skip to content

Storage and Scoping

Storage and scoping define which Octo records belong to the whole instance, which belong to a space, and how product pages map to backend models.

TermDefinition
InstanceThe top-level isolated Octo environment for an organization or tenant.
SpaceA working context inside an instance for product records such as workflows, tools, contacts, phone numbers, dashboards, and interactions.
System recordA record that affects platform administration, access, or configuration.
Space-scoped recordA record owned by the active space.
ModelBackend representation of a product record.
ActionDescription
Choose the right scopeDecide whether a record belongs to account administration or to a space.
Map UI pages to modelsUnderstand which records an integration is likely reading or writing.
Avoid data leaksKeep external integrations constrained to the intended instance and space.
Debug missing recordsCheck active space, permissions, and model ownership before assuming data is absent.
LevelExamplesNotes
InstanceSubscription, credits, usage rollups, spacesAccount-level boundary for billing and administration.
System settingsUsers, roles, permissions, API keys, audit logs, environment settingsAdministrative records that may affect the whole instance.
SpaceAI Workflows, Entry Points, Tools, Knowledge Sheets, Interactions, Contacts, Phone Numbers, Dashboards, WidgetsProduct work usually happens inside the active space.
Runtime recordWorkflow executions, interaction messages, tool calls, recordingsCreated as workflows and channels run.
Product areaLikely model scopeNotes
AI WorkflowsSpaceWorkflow containers and workflow versions execute in the active space.
Entry PointsSpaceChannel endpoints route to published workflow versions.
ToolsSpaceREST API and Script tools are configured for workflow use.
Knowledge SheetsSpaceSheet rows and headers are referenced by workflows.
InteractionsSpace and runtimeConversation records link back to entry points and workflow versions.
ContactsSpaceTransfer endpoints are available to workflows in the space.
Phone NumbersSpace and telephony providerPurchased numbers are assigned to voice entry points.
Dashboards and WidgetsSpaceDashboard layouts and scripted widgets display scoped data.
Users and RolesSystem settingsAccess-control records govern who can operate in the instance.
API Keys and Audit LogsSystem settingsAPI keys authenticate integrations; logs record administrative changes.
Credits and UsageInstance with space breakdownsBilling data is account-level but can be filtered by space and workflow.
  1. Resolve the target instance and space before reading or writing product records.
  2. Use API keys with the least access needed for the integration.
  3. Keep external IDs in context or metadata so records can be reconciled later.
  4. Avoid copying records between spaces unless the product workflow explicitly supports import/export.
  5. Review Audit Logs for system changes and Interactions for runtime behavior.
SymptomLikely causeCheck
Workflow is missingWrong active space or insufficient permissionSpace switcher, workflow list filters, assigned roles.
Entry point has no workflow versionsThe workflow has no published version in that spacePublish the workflow version first.
Tool works in test but not in workflowDifferent field values or runtime contextAI fields, template variables, interaction execution path.
Usage totals differ from page filtersAccount-level totals are being compared with space-level filtersDate range, space filter, workflow filter.

Are spaces the same as instances? No. An instance is the top-level tenant environment. Spaces are working contexts inside that instance.

Do API keys automatically limit access to one space? API key behavior follows the deployment’s authentication, authorization, and scope handling. Confirm the intended scope before using a key in production.