Skip to navigation

Submit a calculation asynchronously

View as MarkdownOpen in Claude

Validate and submit a calculation, returning a request ID as soon as the input is accepted. Poll /status/{request_id} for progress and retrieve the result from /result/{request_id}.

Request

This endpoint expects an object.
configobjectRequired
Configuration settings that define how to launch VASP.
atomsobject or nullOptional

Atomic structure to evaluate. Supply either this field or a POSCAR entry in files, but not both.

infostring or nullOptional
Optional metadata string echoed back on the reply.
filesmap from strings to strings or objectsOptional

Input files to pass to the service. Keys are file names; values are either the file contents as plaintext or a reference to a previously uploaded file. An INCAR entry is required.

Response

The calculation was accepted for asynchronous execution.
request_idstring
Task ID for the request.
status_urlstring
URL to retrieve the status of the task.
result_urlstring
URL to retrieve the result of the task.

Errors

422
Unprocessable Entity Error
500
Internal Server Error