Forge Backend API

AI-powered image analysis service documentation and testing interface

Quick Test Suite

Test common APIs with predefined data (excluding file upload and destructive endpoints)

Test User ID: 712020:7d7c92b6-e4a1-4a3d-b7c0-4feb30cf2ecc Test Image ID: d0b455ab-d8d4-4b85-b7e3-3e8e90edd9b8
GET /health
Health check endpoint to verify service status
GET /api/images/capabilities
Get AI analysis capabilities (supported models and prompt types)
POST /api/users
Create or check if user exists

Request Body:

{ "id": "string" }
GET /api/users/:userId/images
Get user's image analysis history

Path Parameters:

userId: User identifier
GET /api/images/:imageId
Get image analysis result by ID

Path Parameters:

imageId: Image analysis task identifier
DELETE /api/images/:imageId
Destructive operation - manual testing only
Delete image analysis record (including storage and database)

Path Parameters:

imageId: Image analysis task identifier
POST /api/images
File upload - manual testing required
Create image analysis task (upload image and queue for analysis)

Request Body (multipart/form-data):

imageFile: Image file to analyze
prompt: Analysis prompt text
model_name: AI model to use
prompt_type: Type of prompt
language: Response language