Civimatica Developers

Sandbox

Test your own models and integrations against live street data before production.

The sandbox is how you validate against Civimatica data before going live. A cv_test_ key uses the same API as production and a live stream of measured street state you can record and replay.

What you test against

The same objects the production API serves. See the data model.

  • city zones — id, tariff, hours, and the streets around each area
  • free spots from the last 10 minutes — position, size, and shade
  • the event stream — spot_detected, spot_free, spot_occupied, spot_expired
  • the chance of finding a spot on a street, once per city zone
  • parking type at a coordinate

How to use it

  1. Request a cv_test_ key. It is scoped for development and evaluation.

  2. Attach to the event stream and record what the fleet emits:

    curl -H "X-API-Key: cv_test_..." \
      "https://api.civimatica.com/v1/events"

    The response gives you latest_seq. Poll ?after_seq=<seq> and append each batch to a jsonl file. That file is a replayable capture of street detections.

  3. Run your model or consumer against the capture. Replay it hour by hour, or drive a staging pipeline from the live cursor.

  4. Compare your model's reading of a street with the chance the API reports for that street (GET /v1/zones).

Example

A robotics team records an evening of detections along a patrol route, then replays it through their navigation model before a robot goes outside. They check how the model reads kerb occupancy on a measured street.

Limits

Sandbox access serves the same measured data, not imagery. It is free to use for evaluation. Do not redistribute captured data outside your organisation.

On this page