Interactive OpenAPI Documentation
Access the interactive Swagger / OpenAPI specification for live endpoint testing and complete schema definitions at connect.omnifact.ai/docs.
Authentication
All requests to the Omnifact Public API require authentication using an API key passed in theX-API-Key HTTP header.
Keep your API key secure. Do not expose your API key in client-side code, public repositories, or frontend web applications.
Managing API Keys
Team administrators can generate and manage organization API keys directly from the Omnifact application:- Navigate to Team Settings in the main navigation bar.
- Click Developer Tools (requires administrator privileges).
- Enable API Access if it is not already active.
- Click Generate API Key to create a key for your team.
Base URL
All Public API requests should be sent to the base URL:Available API Resources
The Public API is organized into two primary functional areas:Documents API
Programmatically list, upload, inspect, rename, and delete documents in Space Uploaded Files.
Published Spaces Chat API
Send messages to published Space endpoints with support for JSON and real-time SSE streaming.
Error Handling
The API uses standard HTTP status codes to indicate request outcomes:
All error responses return a JSON object with error details:
Next Steps
- Explore the Documents API for document management
- Learn how to stream chat responses with the Published Spaces Chat API
- Configure API settings in Developer Tools