Formlabs Developers
Download PreForm Insider to start developing with the PreForm API.
Version v1.0.0-alpha (latest)

Server Info

Endpoint for checking that the server is up and reachable.

Get server version#

GET/v1/

Returns the version of the running PreFormServer instance. Does not require a request body or authentication. Use it to confirm the server is up and reachable before issuing other requests.

Returnsobject

  • versionstringRequired

    The running PreFormServer's version string.

The server responded successfully.

GET/v1/
Python
from formlabs_sdk import FormlabsClient

with FormlabsClient() as client:
    preform = client.preform.connect()
    result = preform.get_server_version()
Terminal
curl "http://localhost:44388/v1/"
Response
JSON
{
  "version": "1.0.0"
}
Feedback & Bug Reports