API Reference
OpenAPI Schema
The OpenAPI specification details the following endpoints:
/v1/inferInference endpoint for batched geometry relaxation/v1/health/liveHealth liveliness endpoint/v1/health/readyHealth readiness endpoint/v1/statusSystem status monitoring endpoint
For the full interactive schema, refer to the API Reference tab.
Endpoints
POST /v1/infer
Perform batched geometry relaxation on one or more atomic structures.
Request Body
The request body contains the following fields:
AtomicData Fields (atoms)
The following table lists the atoms field parameters (AtomicData):
Response
The response contains the following fields:
OptimizationResult Fields (atoms items)
The following table lists the atoms items (OptimizationResult):
Error Responses
The API returns the following error responses:
Error Response Schema (422)
Timeout and Memory Behavior
- Requests with structures exceeding
max_system_size(check by usingGET /v1/status) might return 500 with an OOM error. - There is no built-in server-side request timeout. Use client-side timeouts for large batches.
- Check the
convergedfield in each result structure. A 200 response does not guarantee that all structures converged.
GET /v1/health/ready
Check if the NIM is ready to accept inference requests.
Response
GET /v1/health/live
Check if the Triton server is live.
Response
GET /v1/status
Get detailed system status including worker metrics.
Response
Example Requests
The following sections show how to use the API to start an optimization request.
Single Structure Optimization
Start this request by running the following command:
Multiple Structures With Custom Tolerance
Start this request by running the following command: