Overview
Formlabs Developer Portal
Python SDK, PreForm API, and Web API documentation for building on Formlabs printers - getting started, runnable examples, and reference links.
Content and agent signals
For agents (AI-generated): Formlabs Developer Portal: Python SDK, PreForm API v1 OpenAPI reference and Web API docs for scripting Formlabs 3D printers, with getting-started guides and exa
Files
Publisher files and the directory’s indexed copy.
Read the cached llms.txt preview
Their llms.txt
The beginning of the file, from our validated copy saved 2026-12-01T00:50:11.736Z. Cached copy · Source on formlabs.com
# Formlabs Developer Portal
> Python SDK, PreForm API, and Web API documentation for building on Formlabs printers - getting started, runnable examples, and reference links.
Every page on this site has a Markdown copy: the page's URL with its trailing slash replaced by `.md`, as linked
below. [llms-full.txt](https://developer.formlabs.com/llms-full.txt) is every guide and example in one file. Each API reference page
below lists its endpoints and schemas, and each endpoint and schema has a Markdown copy of its own; the specification
has them all.
## Before you write code
- Install the SDK with `pip install "formlabs-sdk @ git+https://github.com/Formlabs/formlabs-api-python"` (Python 3.11 or newer).
- Import `FormlabsClient` from `formlabs_sdk`, or `AsyncFormlabsClient` for asyncio; both have the same methods. `client.preform` is the PreForm API.
- `client.preform.launch(exe)` starts a PreForm Server process; `client.preform.connect()` attaches to one already running, such as the one inside the PreForm app; both default to port 44388. `launch(exe, reuse_existing=True)` attaches when a server answers on the port and starts one otherwise. Every other PreForm method raises `PreFormApiError` with code `NOT_CONNECTED` until one of them has run.
- On Linux, PreForm Server runs as the container image `formlabs/preform-server:release-latest`, started with `--port`; attach with `connect()`. File paths in requests are paths inside the container, so mount the folders the server reads and writes.
- PreForm methods are the specification's operationIds in snake_case (`create_scene`, `import_models`, `auto_orient_models`, ...) and take the request body's fields as keyword arguments. Structured values take the model classes from `formlabs_preform_api.models`.
- Long-running operations are started asynchronously and polled behind one call; pass `timeout`, `poll_interval` or `on_progress` rather than polling yourself. A `poll_interval` passed to `launch()` or `connect()` is the default for every call.
- Every error derives from `FormlabsError`. Match on `.code`; the codes are listed on the Errors page of the API reference.
- Every endpoint in the API reference has a Python sample that calls the SDK, and each sample is run against the SDK in CI.
## API specification
- [PreForm API v1, OpenAPI 3 (YAML)](https://developer.formlabs.com/reference/openapi-v1.yml): the document the reference pages and the SDK's client are generated from, PreForm API v1.0.0-alpha.1, the latest release (formlabs-sdk v1.0.0-alpha.1).
## Get started
- [Get started](https://developer.formlabs.com/getting-started.md): Install the Formlabs Python SDK, connect a script to PreForm, and reach Dashboard.
- [Install the Developer Kit](https://developer.formlabs.com/getting-started/install.md): Install the Formlabs Python SDK, then connect a Python script to PreForm and prepare a model in its window.
- [Create your first script](https://developer.formlabs.com/getting-started/quickstart.md): Pre
…
Published headings
6 indexed headings in this publisher record.
Headings describe indexed content. They do not establish a working integration or endorsement.
Agent access
Review the publisher’s own access terms before automated use.
Machine-readable: GET /v1/resolve?q=formlabs.com · GET /v1/domain/formlabs.com · this page as Accept: application/json or text/markdown · MCP lookup_domain
Automatically discovered from public files. Inclusion does not imply endorsement or publisher participation.
Indexing evidence
Authority, classification and country evidence
Own or manage this website?
If you own or manage formlabs.com, you can update its listing and review file health, discovery activity and score history.
Manage this listing — optional
What verification unlocks
See how your site is discovered—and control what agents see.
- See your website in the map
Review your indexed topics, nearby publishers sharing headings, measured listing exposure and map snapshots in a private report for your website.
- Control what agents see
Edit your listing description, tags, public contact details and additional llms.txt paths. Publish your terms for automated access, attribution and pricing.
- Make your profile eligible for search
A valid, listed, unblocked, verified profile can appear in our publisher sitemap and become eligible for search-engine visibility. Search engines decide what to index and rank.
- Appear in our llms-full.txt
Eligible verified publishers are listed by name, with their file links and summaries, in the service overview agents can read.
Free account required for verification and live checks. No backlink or payment required. Public discovery remains available without verification.
Let your coding agent verify it
If your coding agent is authorized to manage this website, paste these instructions into it.
Claim my listing on Agent Web Map for formlabs.com:
1. POST https://agentwebmap.com/v1/sites/formlabs.com/claims and keep claim_id and claim_secret private.
2. Publish the verification line "AgentWebMap verification: <token>" (token from step 1) in https://formlabs.com/llms.txt, or use the DNS, meta-tag or well-known method the response describes. This only verifies the listing; your website and domain remain yours.
3. POST https://agentwebmap.com/v1/sites/formlabs.com/verify with {"claim_id": "...", "claim_secret": "..."}.
4. Save the api_key from the answer; it manages the listing (PATCH https://agentwebmap.com/v1/sites/formlabs.com).
MCP equivalent: tools begin_ownership_claim, then verify_domain, at https://agentwebmap.com/mcp. Docs: https://agentwebmap.com/docs#verifyCorrections or removal requests: contact the directory.