Svashasan Logo
Simulated data

Svashasan Developer Hub

API features

Everything on this page is live on api.svashasan.com today, not planned. Six products share one account, one key format, one response envelope, one set of rate limits and one interactive reference.

Vehicle API

Live

Read-only vehicle data for a simulated EV, one vehicle per developer, in a canonical signal model (Vehicle.* with unit, timestamp, source, quality, confidence).

  • GET /v1/vehicle/status
  • GET /v1/vehicle/telemetry
  • GET /v1/vehicle/battery
  • GET /v1/vehicle/charging
  • GET /v1/vehicle/diagnostics
  • GET /v1/vehicle/location
  • GET /v1/vehicle/odometer
  • GET /v1/vehicle/specifications
  • GET /v1/vehicle/history
  • GET/POST /v1/simulator/mode · POST /v1/simulator/reset
  • GET /v1/system/health · /v1/system/version

Playground · Simulator · Reference

ADAS Scenario API

Live

Driving scenarios as timestamped recordings: ego pose, ground-truth actors, camera detections with 2D boxes, radar objects, fused tracks, lanes, predicted trajectories, sensor health and events, plus computed metrics (recall, precision, ADE/FDE). Synthetic recordings today; the contract is what a ROS 2 adapter will populate.

  • GET /adas/v1/scenarios
  • GET /adas/v1/scenarios/{id}
  • GET /adas/v1/scenarios/{id}/recording
  • GET /adas/v1/scenarios/{id}/frames/{n}
  • GET /adas/v1/scenarios/{id}/metrics

Scenario Viewer · Reference

CAN Explorer API

Live

Upload CAN recordings (Vector ASC/BLF, PEAK TRC, candump, CSV; Classical CAN and CAN FD) and DBC databases; get canonical frames, a CAN ID table with timing statistics, DBC decoding with raw and physical values, signal catalogues and series, network statistics with a bus-load estimate, rule-based events and CSV/JSON exports. Uploads are private to you.

  • POST/GET /can/v1/recordings
  • GET /can/v1/recordings/{id}/frames · can-ids · statistics · events · export
  • POST /can/v1/recordings/{id}/decode
  • GET /can/v1/recordings/{id}/signals/{signal}
  • POST/GET /can/v1/databases · messages · signals
  • GET /can/v1/decode-frame

CAN Explorer · Reference

SDV Compatibility Matrix API

Live

A version-aware catalogue of automotive hardware, operating systems, middleware, sensors and protocols, each record linked to its manufacturer or standards documentation, and a deterministic rule engine that evaluates a configuration: one of six statuses (verified, qualified, conditional, experimental, unsupported, unknown), a weighted score, critical incompatibilities, missing dependencies, required actions, evidence coverage and a dependency graph, with every finding explained. Save and compare configurations, export reports and run validation.

  • GET /compatibility/v1/technologies · hardware · operating-systems · middleware · sensors · protocols
  • GET /compatibility/v1/technologies/{id} · relationships · evidence/{id} · graph
  • POST /compatibility/v1/evaluate · compare · report
  • POST/GET /compatibility/v1/configurations · results · validation
  • GET /compatibility/v1/info · stats · rules · presets

Compatibility Matrix · Reference

ADAS Benchmark API

Live

Reproducible benchmarking of perception and prediction models. Register models and versions (metadata and checksums; files stay with you), use the hosted synthetic tracking and prediction datasets or register your own ground truth privately, and submit outputs: Svashasan computes detection mAP, tracking MOTA / IDF1 / HOTA, trajectory ADE / FDE / miss rate, segmentation mIoU and lane IoU with versioned metric code. Hardware and pipeline runs record latency percentiles, FPS and stage timings measured on your own hardware by the SDK harness. Targets, acceptance gates, regression flags, comparisons and reports. Uploaded models are never executed on Svashasan servers.

  • GET /adas-benchmark/v1/info · hardware-profiles · baselines · datasets · datasets/{id}/inputs
  • POST/GET /adas-benchmark/v1/models · models/{id}/versions
  • POST/GET /adas-benchmark/v1/benchmarks · /{id}/metrics · /{id}/failures · /{id}/cancel
  • POST /adas-benchmark/v1/comparisons · GET reports/{id} · dashboard

ADAS Benchmark · Reference

Automotive Glossary API

Live

Source-backed definitions of automotive terms: entries with short and detailed definitions, how it works, applications, examples, related terms, relevant standards with edition and publication status, references and links to Svashasan tools. Ranked search over terms, acronyms, full forms and alternative names that tolerates small typos; categories, A–Z, acronym expansion, popular and recently updated entries. Reading is public. Signed-in developers can propose entries and corrections; drafts stay private until technical review and publication, and every change is kept as a revision.

  • GET /glossary/v1/entries · entries/{slug} · search?q= · related/{slug}
  • GET /glossary/v1/categories · categories/{slug} · alphabetical/{letter}
  • GET /glossary/v1/acronyms · acronyms/{acronym} · standards · popular · recently-updated · stats
  • POST/PATCH /glossary/v1/admin/entries (signed-in) · review · approve · reject · publish · status

Automotive Glossary · Reference

How every API behaves

Authentication

One Svashasan Account for the site and the hub. Keys are created on the Account page, look like svk_live_…, are shown once and sent as Authorization: Bearer. Up to 5 active keys; revoke or rotate any time. Documentation, system endpoints, scenario data, the CAN sample and the compatibility catalogue need no key.

Response envelope

Every response is { success, data, metadata, error }. metadata.source says where the data came from (SIMULATOR, SYNTHETIC, CAN_EXPLORER, COMPATIBILITY_MATRIX), and request_id identifies the call in our logs.

Rate limits

The same for everyone, on every service: 60 requests a minute per key and 120 per developer across all keys and the console, 10,000 a day; 20 heavy requests (exports, analyses, evaluations) a minute, 20 uploads an hour and 10 key changes an hour. Without a key: 60 a minute per IP address. Every response says which limit applies (X-RateLimit-*); a 429 adds Retry-After. Full policy: rate limits and GET /v1/system/limits. Storage: CAN uploads up to 50 MB / 1,000,000 frames, DBC files up to 5 MB, 20 recordings, 10 databases and 50 saved configurations per developer.

Errors

Standard HTTP status codes with stable error codes (INVALID_API_KEY, VALIDATION_FAILED, RATE_LIMIT_EXCEEDED, INVALID_RECORDING, INVALID_DBC…) and a human-readable message in the envelope.

Contract and examples

One OpenAPI 3.1 document for all six APIs at /v1/openapi.json. The reference and the playground generate cURL, Python and JavaScript examples from it for every operation.

Safety boundary

No API can act on a vehicle: there are no actuation endpoints, no live bus access and no CAN transmission. The simulator and scenario data are labelled as such in every response.

Your first request

Replace YOUR_API_KEY with a key from your Account page.

In development

Not available yet, so not listed above: SDK packages for Python and JavaScript, WebSocket streaming, recording comparison, live CAN monitoring, ISO-TP/UDS inspection, build and hardware-in-the-loop validation (levels L2 to L6) for the compatibility matrix, CARLA simulation benchmarking, shared OEM workspaces, webhooks and projects. See the tools portfolio.