API Overview
A REST API drives the entire ALCHEMI VASP microservice. When the service
is running, it also serves an interactive Swagger UI at /docs and the raw
OpenAPI document at /openapi.json.
The endpoints fall into four groups:
This reference documents the VASP backend. The request and reply schemas for
/infer, /submit, and /result depend on the backend you started the service
with (ALCHEMI_BACKEND).
Typical Workflow
- Optionally upload large input files with
POST /input/uploadand reference the returnedfile_idin your request. - Submit a calculation with
POST /infer(blocking) orPOST /submit(returns a request ID immediately). - For asynchronous submissions, poll
GET /status/{request_id}and then fetch the result withGET /result/{request_id}. - If you enable output retention, download the output archive with
GET /files/{request_id}/download.
Refer to the endpoints below for full request and response schemas.