This page documents only what has been implemented and verified against the live system. Anything not yet available is labeled accordingly below.
POST https://gsl-solver.com/api/v1/solve Content-Type: multipart/form-data
Every request is validated against a registered API key before any processing begins.
| Field | Location | Description |
|---|---|---|
api_key | form field | Issued per client after an Integration Request is approved (see below). Checked against our records on every call. |
An API key does not grant unlimited solver access. Every call passes the same authorization and credit system used by the Web Portal.
| Check | Failure Response |
|---|---|
| API key is valid and registered | 401 Invalid API Key |
| Requested module is enabled for this key | 403 Module Locked for this API Key |
| Remaining credit (node quota) covers the uploaded file | 402 API Key Quota Exceeded |
| Field | Required | Description |
|---|---|---|
api_key | Yes | Your registered API key |
modelType | Yes | One of: CVRP, VRPTW, MDVRP, MDVRPTW |
file | Yes | Dataset file — .csv, .xlsx, .vrp, .txt, .zip, or an extensionless benchmark instance inside a .zip |
baseline_cost / baseline_distance / baseline_time / baseline_vehicles | No | Manual baseline metrics for comparison output |
baseline_file | No | Alternative to manual fields — only scalar metrics are extracted from this file, never a route sequence |
Identical structure to the Web Portal's Operational Output Layer.
{
"status": "success",
"report": "<original .sol text report>",
"remaining_nodes": 99490,
"outputs": {
"json": { "...": "Unified canonical solution object (module, status, summary, routes[])" },
"csv_text": "<structured CSV, one row per stop>",
"xlsx_base64": "<base64-encoded operational .xlsx workbook>"
},
"comparison": null
}
comparison is only populated when a baseline was supplied in the request; otherwise it is null.
| Capability | Status |
|---|---|
| Core solve + Unified JSON / .xlsx / .csv output | ✅ Verified (CVRP, VRPTW, MDVRP, MDVRPTW) |
| Quota deduction consistent with Web Portal | ✅ Verified |
| Baseline comparison via API | ✅ Verified |
| Self-service API key signup | ⏳ Not available — manual provisioning only |
| Rate limiting independent of credit quota | ⏳ Not implemented |
| Webhook / asynchronous job mode | ⏳ Not implemented — synchronous only |
Versioned API beyond the /v1/ path | ⏳ Not implemented |
Submit an Integration Request and our team will review it and provision an API key.
Request API Access View Runtime Docs