Comprehensive guide to the Ace AI API endpoints
/auth/v1/signup
: Register a new user account./auth/v1/login
: Log in and receive a session token (returned as both an HttpOnly cookie and a Bearer token)./auth/v1/profile/{username}
: Update your user profile with expertise, bio, education, and experiences.Route | Method | Description |
---|---|---|
/ | GET | Default route. Returns “hello world!” as a simple health check. |
/auth/v1/signup | POST | Registers a new user account. |
/auth/v1/login | POST | Authenticates a user and returns a session token. |
/auth/v1/profile/{username} | PATCH | Updates a user profile. |
/synthetic/v1/uploadURL | POST | Generates a signed URL for securely uploading datasets. |
/synthetic/v1/downloadURL | POST | Generates a signed URL for securely downloading data. |
/synthetic/v1/generate | POST | Requests the creation of synthetic data based on an existing dataset. |
/genAI/v1/uploadURL | POST | Generates a signed URL for uploading data for GenAI tasks. |
/genAI/v1/downloadURL | POST | Generates a signed URL for downloading data used or produced by GenAI tasks. |
/genAI/v1/perform | POST | Submits a custom prompt for AI-based analysis of uploaded data. |
/evaluator/v1/evaluation-data | GET | Retrieves evaluation data with filtering options (username, status, etc.). |
/evaluator/v1/evaluation-data | POST | Creates a new evaluation data entry. |
/evaluator/v1/evaluation-data/random | GET | Retrieves a random evaluation data entry based on evaluator username. |
/evaluator/v1/evaluation-data/{id} | PATCH | Updates evaluation data fields (tags, status, data, rating) for an entry. |
/evaluator/v1/evaluation-data/comment | GET | Retrieves comments for a specific evaluation data entry. |
/evaluator/v1/evaluation-data/comment | POST | Adds a new comment to an evaluation data entry. |
/evaluator/v1/evaluation-data/comment/{id} | PATCH | Updates an existing comment on an evaluation data entry. |
/evaluator/v1/evaluation-data/comment/{id} | DELETE | Deletes a comment from an evaluation data entry. |
/editor/v1/tasks/random | GET | Retrieves a random editing task for a specified task type. |
/editor/v1/tasks/{taskType} | POST | Creates a new editing task of the specified type. |
/editor/v1/tasks/{taskType}/{id} | PATCH | Updates an existing editing task. |