Overview of the Prisme.ai API and how to use it effectively
The Prisme.ai API provides a comprehensive set of endpoints that allow you to programmatically interact with all aspects of the Prisme.ai platform. This reference guide will help you understand how to authenticate, make requests, handle errors, and leverage the full capabilities of the API.
The Prisme.ai API is organized around RESTful principles. It accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
Base URL
All API requests should be made to:
Copy
Ask AI
https://api.studio.prisme.ai
Or your self-hosted instance URL.
API Versioning
API endpoints are versioned to ensure backward compatibility. Current version is v2.
The Prisme.ai API is built on a microservices architecture, with each product and major function having its own dedicated service. The api-gateway service handles authentication, routing, and load balancing across these services.Main core services include:
API Gateway: Handles authentication, session management, and request routing
Workspaces: Manages workspaces
Runtime: Executes automations and processes events
Events: Handles event management
Console: Console for the Prisme.ai platform
Pages: Renders end-user pages within workspaces
Events System
Prisme.ai uses an event-driven architecture for many operations. The API allows you to:
Subscribe to events via webhooks
Emit events to trigger automations
Process events in real-time
This event system enables complex workflows and integrations between Prisme.ai and external systems.