curl -X GET "https://your-domain.com/api/v1/usage" \
-H "Authorization: Bearer px_your_api_key_here"curl -X POST "https://your-domain.com/api/v1/projects/paygo" \
-H "Authorization: Bearer px_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "My Project",
"description": "Product detection",
"annotation_breakdown": {
"bounding_box": 10,
"classification": 5
},
"priority": "normal",
"instructions": "Draw boxes around all products"
}'curl -X POST "https://your-domain.com/api/v1/projects/PROJECT_ID/files" \
-H "Authorization: Bearer px_your_api_key_here" \
-F "files=@image1.jpg" \
-F "files=@image2.jpg" \
-F "files=@image3.jpg"curl -X GET "https://your-domain.com/api/v1/projects/PROJECT_ID" \
-H "Authorization: Bearer px_your_api_key_here"curl -X GET "https://your-domain.com/api/v1/projects/PROJECT_ID/results" \
-H "Authorization: Bearer px_your_api_key_here"curl -X GET "https://your-domain.com/api/v1/projects/PROJECT_ID/results/archive" \
-H "Authorization: Bearer px_your_api_key_here"{
"success": true,
"data": {
"project": {
"id": "proj_abc123",
"status": "completed",
"pricing": {
"total_cost": 0.26
}
}
}
}GET /api/v1/usage - Check authentication & usagePOST /api/v1/projects/paygo - Create pay-as-you-go projectPOST /api/v1/projects/quote - Request custom quoteGET /api/v1/projects/{id} - Get project statusPATCH /api/v1/projects/{id} - Update projectPOST /api/v1/projects/{id}/files - Upload filesGET /api/v1/projects/{id}/results - List completed filesGET /api/v1/projects/{id}/files/{fileId}/download - Download fileGET /api/v1/projects/{id}/results/archive - Download ZIP