API reference
SpatialDrive exposes an HTTP API described by OpenAPI.
Each running server serves an interactive API reference at /docs and its schema at
/swagger/openapi.json.
Use the reference on your deployment so its endpoints and types match the server version.
Append /docs to your SpatialDrive server URL to open its reference. For example, a server at
https://drive.example.com serves its reference at https://drive.example.com/docs.
The reference’s document picker includes the combined SpatialDrive API and separate documents for model storage, object storage, task execution, digital twins, and authorization.
Generate a client
Download /swagger/openapi.json from your deployment and pass it to your language’s OpenAPI client
generator.
The individual documents are available at these paths:
| API | Schema |
|---|---|
| SpatialDrive | /swagger/openapi.json |
| Model storage | /swagger/dagger.json |
| Object storage | /swagger/object-storage.json |
| Task execution | /swagger/lazy-dag.json |
| Digital twins | /swagger/digital-twin.json |
| Authorization | /swagger/authorization.json |
See Client integration to connect an engine application to SpatialDrive.