Enterprise API Reference

Connect GSL Solver to Your TMS, ERP, WMS, or Fleet System

This page documents only what has been implemented and verified against the live system. Anything not yet available is labeled accordingly below.

Endpoint

POST https://gsl-solver.com/api/v1/solve
Content-Type: multipart/form-data

Authentication

Every request is validated against a registered API key before any processing begins.

FieldLocationDescription
api_keyform fieldIssued per client after an Integration Request is approved (see below). Checked against our records on every call.
No self-service key creation yet. API keys are currently provisioned manually by our team after reviewing an Integration Request — there is no automated signup endpoint.

Access Control & Credits

An API key does not grant unlimited solver access. Every call passes the same authorization and credit system used by the Web Portal.

CheckFailure Response
API key is valid and registered401 Invalid API Key
Requested module is enabled for this key403 Module Locked for this API Key
Remaining credit (node quota) covers the uploaded file402 API Key Quota Exceeded
Credits are deducted on every successful solve, using the exact same accounting as the Web Portal. There is no bypass — an API key only grants a connection method, not free/unlimited solving.

Request Parameters

FieldRequiredDescription
api_keyYesYour registered API key
modelTypeYesOne of: CVRP, VRPTW, MDVRP, MDVRPTW
fileYesDataset file — .csv, .xlsx, .vrp, .txt, .zip, or an extensionless benchmark instance inside a .zip
baseline_cost / baseline_distance / baseline_time / baseline_vehiclesNoManual baseline metrics for comparison output
baseline_fileNoAlternative to manual fields — only scalar metrics are extracted from this file, never a route sequence

Response Schema

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.

Implementation Status

CapabilityStatus
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

Ready to Connect Your System?

Submit an Integration Request and our team will review it and provision an API key.

Request API Access View Runtime Docs