Skip to main content

Spaces as APIs

Turn any Space where you are a Space Editor into a dedicated HTTP chat endpoint. Published Spaces let you integrate your specialized Space agents and Space knowledge into internal portals, Slack bots, or customer-facing workflows.
Published Spaces requires activation for your organization (spaces-public-access). Contact support@omnifact.ai to enable Published Spaces in your Team Settings sidebar.
Once enabled, open Team Settings > Published Spaces (under the Developer section) to manage your endpoints.
The Published Spaces page in Team Settings showing active Space endpoints.

Publishing a Space

1

Open the Publish Dialog

Click Publish Space in the top-right corner of Published Spaces.
2

Select a Space and Model

In the Publish Space dialog:
  1. Select a Space from the dropdown (lists Spaces where you hold Editor / Admin permissions).
  2. Choose an enabled Model to power the endpoint. (Note: Responses-API-only tool models, specifically GPT-6.1 Sol on OpenAI and Azure OpenAI, are excluded from Published Spaces; choose models such as GPT-6.1 Terra, Claude Sonnet 5.5, Gemini 4 Argon, or Mistral Large 4.)
The Publish Space modal for selecting a Space and model.
3

Publish and Copy URL

Click Publish Space to create the endpoint, then copy its unique https://connect.omnifact.ai/v1/endpoints/{endpointId}/chat URL.

Managing Published Spaces

For each published Space in the table, open the ... menu to:
  • Edit: Switch the AI model assigned to the endpoint or view its endpoint URL.
  • Copy Endpoint URL: Copy the full endpoint URL to your clipboard.
  • Unpublish: Check I want to unpublish this Space and click Unpublish to permanently delete the endpoint and revoke external access. (Note: Republishing the same Space later generates a new endpoint URL rather than reusing the old one.)

Model Deprecation, Retirement & Availability Alerts

Omnifact proactively monitors the model assigned to each Published Space:
  • Disabled Model: Displays a warning icon if an administrator disables the assigned model in Model Management (requests return 400 invalid_endpoint_setup until updated).
  • Deprecation scheduled (within 30 days of provider retirement): Displays a yellow Deprecation scheduled badge in the table and a global admin warning banner across Omnifact so you can switch models ahead of time.
  • Retired: Displays a red Retired badge and a global danger banner when a provider retires the model (requests fail with 400 model_retired until you click Edit and select an active model).
Active Subscription & Usage Credits: Published Space endpoints require an active organization subscription (403 Forbidden if expired) and continue serving requests, logged for usage monitoring, even if monthly chat credits reach 100%.

Security and Inline Citations

Important Security Considerations:
  • Capability URL Authentication: POST /v1/endpoints/{endpointId}/chat authenticates via the {endpointId} UUID in the URL itself (not your Developer Tools API key). Never embed the endpoint URL in public browser code or commit it to source control, call it from your server backend.
  • Privacy Filter Disabled: The Omnifact Privacy Filter™ is disabled on Published Space endpoints so integrations receive raw completions.

Inline Sources in the Public API

Developers can request structured inline citations on any Published Space endpoint without extra Team Settings configuration. Passing the HTTP header omnifact-enable-inline-sources: true embeds :cite[<sourceId>] markers in content and returns detailed sources (JSON) or message_source events (SSE) instead of aggregate references. For complete request schemas, message sequence rules, SSE payloads, and code examples, see the Published Spaces Chat API and the interactive OpenAPI Specification.