REST API Overview
The Prometheux platform provides a comprehensive REST API that allows you to interact with all platform features programmatically. This API enables you to manage workspaces, projects, concepts, data sources, knowledge graphs, and more.
Base URL
All API endpoints are relative to your Prometheux platform instance:
https://platform.prometheux.ai/jarvispy/{organization}/{username}/api/v1/
Where:
{organization}
is your organization identifier (e.g., "my-org"){username}
is your username (e.g., "my-user")
Authentication
All API requests require authentication using a Bearer token in the Authorization header:
Authorization: Bearer YOUR_JWT_TOKEN
Response Format
All API responses follow a consistent format:
{
"data": {}, // Response data (varies by endpoint)
"message": "string", // Human-readable message
"status": "success" // Status: "success" or "error"
}
API Categories
The API is organized into the following categories:
- Users - User management and configuration
- Workspaces - Workspace operations
- Projects - Project management
- Concepts - Concept execution and management
- Data Sources - Data connection and management
- Knowledge Graphs - Virtual knowledge graph operations
- Notebooks - Notebook and cell management
- Vadalog - Vadalog program evaluation
- Python SDK - Python SDK for easier integration
Getting Started
- Obtain your JWT token from the Prometheux platform
- Choose an endpoint from the categories above
- Make your first API call using curl or your preferred HTTP client
- Use our Python SDK for easier integration (see Python examples in each section)
Rate Limits
API usage is subject to rate limits based on your subscription plan. Monitor your usage through the /users/usage-status
endpoint.
Error Handling
The API uses standard HTTP status codes:
200
- Success400
- Bad Request (invalid parameters)401
- Unauthorized (invalid or missing token)500
- Internal Server Error
Error responses include detailed messages in the response body to help with debugging.