API Reference
The MeshQA API allows you to validate 3D assets programmatically. All API endpoints are RESTful and return JSON responses.
Base URL
https://meshqa.vercel.app/api/v1Quick Start
Here's a quick example of how to validate a 3D asset using the API:
curl -X POST https://meshqa.vercel.app/api/v1/validate \
-H "Authorization: Bearer mqk_your_api_key" \
-F "file=@model.glb"Endpoints
POST
/v1/validateUpload and validate a 3D asset
GET
/v1/validate/{jobId}Get the status of a validation job
GET
/v1/report/{jobId}/{format}Get a validation report in various formats
See the Endpoints page for detailed documentation.
Authentication
All API requests require an API key. Include your key in the Authorization header:
Authorization: Bearer mqk_your_api_keySee Authentication for more details.
Response Format
All responses are JSON. Successful responses include a data field, while errors include an error field.
{
"job_id": "val_abc123",
"status": "completed",
"health_score": 87,
"grade": "excellent"
}{
"error": "Invalid API key",
"code": "INVALID_API_KEY"
}Rate Limits
Rate limits are based on your subscription tier:
| Tier | Requests/Month | Max File Size |
|---|---|---|
| Free | 10 | 50MB |
| Starter | 100 | 200MB |
| Pro | 500 | 500MB |
| Enterprise | 10,000 | 2GB |