Beta API. See the stability policy.
API changes
Changes to the public /v1/ API and the official Python library, the newest first. The stability policy says which changes can break your code and how a change shows up.
Version 1-beta, 2026-11-29
This release gives every kind of run the name the website uses: a test bench run, a flight and a run over time. An old address, field or value that was renamed answers with a refusal that names the new one. A run stored before keeps the names it was made with, unless a line below says otherwise.
Removed
POST /v1/simulations/{id}/export/fmuand the three/v1/simulations/export/fmu/{job_id}addresses. They answer404with the codeaddress_removed. The message says the export was removed, and tells you to run a simulation withPOST /v1/simulationsor a flight withPOST /v1/flightsand read the result. The export made a Functional Mock-up Unit file.- The error code
fmu_export_unavailable. entitlements.fmi_export,entitlements.component_specs,entitlements.daily_capandentitlements.weekly_capofGET /v1/users/me.credits_breakdownof a sweep.compute_unitsis the total, and nothing read the breakdown.inputs.solverof a simulation and of a sweep.result.All.solver_engineof a new result. The engine isresult.Bench.engine.PerRotorEscResultFields, a schema in the API reference that nothing used.- Keys that a new test bench result no longer has, because the engine doesn't make them:
static_torque,dynamic_torque,thermal_converged,thermal_iterations,thermal_converged_all,battery_thermal_converged,battery_thermal_iterations,controller_drop_vandmotor_voltage_after_esc_v. - The four speed-controller timing numbers
gamma_cmd_deg,beta_eff_deg,torque_per_amp_factorandmax_rpm_shift. The API no longer fills them in, so they are no longer under a rotor'sdiagnostics. - The error codes
solver_no_convergenceandpropeller_geometry_missingare retired. No new run returns them, so the error list no longer has them. A run made by an earlier engine can still carry one.
Renamed
Flights:
| Before | Now |
|---|---|
/v1/dynamic-simulations and every address under it: estimate, {id}, {id}/cancel, {id}/export.csv and {id}/stream | /v1/flights and the same addresses under it |
The tag dynamic-simulations | flights |
The objects dynamic_simulation and dynamic_estimate | flight and flight_estimate |
The schemas Dynamic* | FlightCreateBody, FlightEstimateBody, FlightResource, FlightListResponse, FlightPatch, FlightRotorGroupIn, FlightRotorIn and FlightEstimateResource |
The stream frame dynamic.updated | flight.updated |
Python client.dynamic_simulations | client.flights, with the argument flight_id |
An old address answers 404 with the code address_moved and a message such as "/v1/dynamic-simulations/x was renamed. Use /v1/flights/x. A flight keeps its id." Flight ids still start with dyn_. The public result payload of a flight still has kind: "dynamic".
The test bench estimate and the limits:
| Before | Now |
|---|---|
dynamic_duration_s in the body of POST /v1/bench/estimate | flight_duration_s |
dynamic_budget in its answer | flight_budget |
limits.dynamic_twin_seconds of POST /v1/bench/estimate and GET /v1/simulation-limits | flight_twin_seconds |
Error codes and messages:
| Before | Now |
|---|---|
active_dynamic_simulation | active_flight |
dynamic_budget_exceeded | flight_budget_exceeded |
dynamic_limit_exceeded | flight_limit_exceeded |
pack_too_large_for_dynamic | pack_too_large_for_flight |
| The messages about a dynamic simulation | "No flight with id ...", "The flight has already ended." and "The flight failed." |
Part tests (POST /v1/component_analyses):
| Before | Now |
|---|---|
evaluation value steady | bench |
evaluation value dynamic | over_time |
The request block dynamics | over_time |
The schemas PropellerDynamics, MotorDynamics and BatteryDynamics | PropellerOverTime, MotorOverTime and BatteryOverTime |
The schemas DynamicProfile, DynamicProfileRow, DynamicPropellerInputs and DynamicOutputEvent | OverTimeProfile, OverTimeProfileRow, OverTimePropellerInputs and OverTimeOutputEvent |
The old values are refused with the messages evaluation "steady" was renamed: send "bench" and dynamics was renamed: send over_time.
The engine's name and the result:
| Before | Now |
|---|---|
solver_engine on simulation, sweep and flight resources | engine, with a value such as thrustlab-core/1.19.0 |
result.All.aero_model | result.All.propeller_model |
result.All.diagnostics.solver_version | result.All.diagnostics.model_version |
battery_charge_pct in simulation, sweep and flight bodies, and in the inputs of a resource and of a sweep point | state_of_charge_pct |
The sweep axis battery_charge, in a request and in sweep_config | state_of_charge |
A result stored before keeps the old names. In a new test bench result, pe is the propeller efficiency.
Run kinds and plan values:
| Before | Now |
|---|---|
analysis_type single_point of a simulation | bench. A sweep stays sweep. |
analysis_type of a flight on a shared or public result | flight |
entitlements.sim_types value steady_single | bench |
entitlements.sim_types value dynamic | flight |
details.gate: "dynamic" of a 402 with the code upgrade_required | details.gate: "flight" |
The skip reason running_single_point of POST /v1/simulations/cancel-selected | running_bench |
Compute units:
| Before | Now |
|---|---|
credits_cost on simulation, sweep and flight resources | compute_units |
estimated_credits of a flight estimate | estimated_compute_units |
The webhook event credits.low_balance | compute_units.low_balance |
A launch_intent of queue reserves compute units. The compute-units addresses and their credit_* objects keep their names.
Changed
- A request that names a removed field is refused with
422and a message that names the new one.flight_durationis refused with "sendhold_s, the seconds each point is held".flight_regimeis refused with "sendcooling_source" and its four valuesstill_air,propeller_wash_mild,propeller_wash_strongandforced_air.dynamic_duration_sis refused with "sendflight_duration_s".battery_charge_pctis refused with "sendstate_of_charge_pct". The sweep axisbattery_chargeis refused with "sendstate_of_charge". - The
cooling_sourcevalues changed.staticis nowstill_air.airspeedandprop_slipstreamare nowpropeller_wash_mildorpropeller_wash_strong. The old values are refused with a message that names the new ones. - A new run has no
deprecationsnote, because a request that names a removed field is refused. The field stays, since a run stored before can hold notes, and it is still the API's only deprecation signal. NoDeprecationorSunsetheader is sent. - The codes a run fails with are
bench_refused(the engine refused the request, and the message names the input to change),solver_failureandsweep_points_persist_failed. A flight fails withengine_request_refusedorsolver_failure. A failed run returns its stored code and the engine's sentence. - A sweep point keeps its
rotors, and the short keysj,reynandthr_per_pwrkeep their names. The speed-controller inputsesc_timing,esc_pwm_frequency_khz,esc_sync_rectificationandesc_resistance_mohm, and the olderprogressfield besiderun_progress, are not renamed. - The engine is 1.20.0. A flight no longer ends when a cell dips while its rotors spin up from rest. The spin-up lasts until every speed controller has caught its rotor, and never longer than 2.5 seconds. During it, the lowest cell voltage of the pack,
cell_voltage_cutoff_vand a VESC battery cut-off do not end the flight. After it, every limit ends the flight as before. A flight of two battery packs at 30 % throttle and 0 m/s used to stop at 0.063 s. It now flies its whole schedule, and its cells fall to 2.39 V at 0.533 s, below its limit. The result has a newstart_dipwithlowest_cell_voltage_v,time_s,minimum_cell_voltage_v,spin_up_end_sandwarning.spin_up_end_sis null when the flight ended inside its spin-up, andwarningis a sentence when the lowest voltage was at or below the limit and null if not.start_dipis null on a fixed supply. Flights without such a dip and every test bench run give the same numbers as before, and a flight that 1.19.0 saved part-way cannot be resumed. - A part test (
POST /v1/component_analyses) whose every evaluation failed now endsfailed, with the codeevaluation_failedand the engine's sentence about the first evaluation, and its compute units are returned. Before, it endedcompletedwith no numbers. A propeller described by its printed size incustom_specneeds"model": "label". The Python library's two part-test examples lacked it, so every evaluation failed.
Version 1-beta, 2026-11-28
Added
- A bench unit that failed to start carries
failed_start: the run from rest that failed, with itstime_s, itstraceand, on a single run, itsswitching_record. A unit that started has none. A sweep's point list leaves it out, like the other traces. POST /v1/sweepsacceptsbattery_topology, a battery of several packs, asPOST /v1/simulationsdoes: every point of the sweep runs with it, and the sweep resource shows it.GET /v1/sweeps/{id}/points/{index}returns one sweep point withbench_detail: its traces (at most 100 rows each), its energy ledger and its two temperature curves. The list of points stays light and leavesbench_detailout. Sweeps made from now on keep it. A point stored before hasbench_detailset tonull.- The API reference describes
result.Benchof a simulation androtors.Benchof a sweep point: the test bench output, with the engine's names and units. - A run or sweep that fails from now on keeps the reason. Its
errorcarries the code, such asbench_refused, and the engine's sentence that names the input to change. Before, a read of a failed run always saidsolver_failureorsolver_no_convergence. result.Allof a test-bench result has snake_case keys for the battery values, beside their labels:current_draw_a,power_draw_w,remaining_capacity_mah,est_time_remaining_s,est_time_to_reserve_s,internal_resistance_ohm,configuration,cell_voltages_vandcharge_levels_pct.- Flights made from now on keep
energy(where the flight's energy went),esc_settings_used(the settings each rotor group's speed controller flew with, and the rule that gave each) andderived.air_density_kg_m3in theirresult. POST /v1/components/checktakeswire(awgandlength_cm) and answers with the resistance the wire holds. It takesmeasured_from_photowith a propeller, and answers withfast_labelfor a propeller: the printed size the Fast model runs it on.esc_on_resistance_mohmis filled for a motor withpack_voltage_v.- The station rows of
POST /v1/geometry/analyzecarryalpha_deg(angle of attack),inflow_angle_degandlift_to_drag. - A webhook can subscribe to
flight.running,flight.completed,flight.failedandflight.canceled. - The API reference lists the
created_at[gte]andcreated_at[lt]filters ofGET /v1/events.
Changed
- Flight events are named
flight.running,flight.completed,flight.failedandflight.canceled. Before, they weredynamic.running,dynamic.completed,dynamic.failedanddynamic.canceled, and only a webhook that subscribed to*received them. - The object of the
202answer ofPOST /v1/geometry/designis nowdesign_job. - The engine is 1.19.0. A test bench run of an AM32 speed controller is read only when the controller is in step with the rotor. When it loses track of the rotor while starting, the unit's
outcomeiscould_not_startand itsreadingis the motor already running, as before;startup_limit_hintthen says turning on demag compensation can let it start. One-pack, still-air and in-step runs give the same numbers as before. Flights are not changed.
Removed
- The
interpolationchoice"hold"of a flight's CSV schedule. The commands always change in a straight line between rows, so"hold"did nothing. A body with"hold"answers422with a sentence that says so."linear"is still accepted and changes nothing. The Simulate page no longer offers the choice. Ct_raw,Cp_raw,thrust_raw,torque_rawandpower_rawof the answer ofPOST /v1/geometry/analyze. They were always empty.- Two values in each rotor's
diagnosticsin the results of simulations and sweep points. The four speed-controller timing numbers stay.
Version 1-beta, 2026-11-27
Changed
POST /v1/simulations,POST /v1/dynamic-simulationsandPOST /v1/dynamic-simulations/estimateanswer422when a body hasbattery_topologyand also a battery-to-ESC wire (battery_esc_wire, or abattery_esc_wire_resistance_mohmabove 0). Before, that wire was dropped and the result had no wire loss. For a group of packs, give the wire from the packs to the ESC asbattery_topology.bus_wireorbattery_topology.bus_wire_resistance_mohm.- A pack's own wire in
battery_topology(branch_wire_resistance_mohm, orbranch_wire) now counts in simulations and flights. Before, it was accepted and had no effect. The wire sits in series with its pack, shares a parallel group's current with the pack's resistance, and its heat is in the wire loss. POST /v1/geometry/generateanswers400for anairfoilname longer than 64 characters, as the other airfoil fields already did.
Added
- Test-bench results made from now on carry three more series in each rotor trace:
power_w(shaft power),electrical_power_w(power into the speed controller) andefficiency. A group of packs also gives each pack's current,current_a, incell_groupsof a reading. - The stations of a propeller test carry
inflow_angle_degandlift_to_drag.
Version 1-beta, 2026-11-23
Removed
The speed-controller twins no longer have a series resistance between the battery bus and the controller. The fields that carried it are gone from every result made from now on. A result stored before keeps what it was made with.
fitted_drop_v(labelFitted Series Drop (V)) in the rotor results of simulations, sweep points and flights, and in each sample of a flight.series_loss_w(labelSeries Resistance Loss (W), andTotal Series Resistance Loss (W)for the whole drone) in the test-bench readings, the rotor rows and the system totals of a simulation, and as a flight channel.fitted_drop_vandcontroller_input_vinvoltage_chainof a test-bench result: the speed controller's input is now the bus voltage,bus_v.energy.series_resistance_jandshares.series_lossin a test-bench result and in a motor test (POST /v1/component_analyses).series_loss_wandfitted_drop_vas observables of a motor run over time (POST /v1/component_analyseswithevaluationset todynamic), with the metricspeak_,minimum_andmean_of each. A request that names one now answers422.
Changed
GET /v1/airfoilslists the engine's airfoil library: 2,149 airfoils, each with its family, largest thickness and camber (the values are the same as before). The 25 sectionsjwl029,jwl030,jwl031,jwl041tojwl046,jwl065tojwl069,jwl074tojwl082,jwl097andjwl106are no longer listed, because the engine refuses them.- The target search and the sensitivity of
POST /v1/component_analyses(modessolve_targetandsensitivity) are run by the engine. The points and the numbers are the same as before. A job can be cancelled only between the searches of its conditions and candidates, no longer between points, and its progress moves when a search ends. POST /v1/dynamic-simulations/estimateandPOST /v1/dynamic-simulationsanswer422with the codeengine_request_refusedand the engine's sentence when a motor, a propeller or the battery is missing or cannot be seen (for examplerotor group "one" (number 1) has no motor; the estimate needs the motor record). Before, the estimate answered with a number calculated on stand-in parts. A flight with a printed-label propeller is now refused when it is estimated or created (before, the worker refused it later).- A run that was queued or half done when the engine changed fails with the sentence "This run was made for an engine version that is retired ... Run it again", and its compute units are returned. A read of such a run shows the code
solver_failure.
Version 1-beta, 2026-11-22
Removed
GET /v1/public/motors/{component_id}/performanceandGET /v1/public/propellers/{component_id}/performance: the stored thrust, current and efficiency series of a motor or propeller pairing. Both routes now answer404. These series came from a generator that has been removed, and the engine never made them. Run a simulation or a part test (POST /v1/component_analyses) for these numbers.GET /v1/public/batteries/{component_id}/pairings: the stored pairings of a battery. The route now answers404.curve_pack_cellson public motor rows (GET /v1/public/motors,GET /v1/public/motors/{id}andGET /v1/public/motors/by-slug/{slug}): the cell count of the stand-in battery pack of the stored curves. The Python SDK models lose the same field.- The
curve_pack_cells[gte]andcurve_pack_cells[lte]filters ofGET /v1/public/motors, and thecurve_pack_cellsrange ofGET /v1/public/motors/facets. A request that names the filter now answers400with the codeunknown_filter. envelope_statusandenvelope_limiting_factorin the response ofPOST /v1/geometry/analyze.throttlein the motorinputsofPOST /v1/component_analyses(also in the rows of a profile and as a sweep or search variable name): it was a fraction from 0 to 1. A request that sends it now answers422and says to sendthrottle_pct. The Python SDK models lose the same field.target_modeandtarget_valuein the body ofPOST /v1/geometry/design:target_valuewas grams-force for a thrust target and watts for a power target. A request that sends either now answers422and says which fields to send.
Added
throttle_pctin the motorinputsofPOST /v1/component_analyses: the throttle in percent, from 0 to 100. It replacesthrottle(a fraction):0.6becomes60. The same name is used in profile rows and as a sweep or search variable. Send it and the number is passed to the engine as it is.target_thrust_n(newtons) andtarget_power_w(watts) in the body ofPOST /v1/geometry/design. Send one of them, never both. A thrust target of 500 gf becomes4.903325N.
Changed
- A reading window longer than half the hold (
window_sabove half ofhold_s) is now refused with the engine's own message, when the run's price is checked, before anything is reserved. The answer is still422; only the wording changes. This holds for simulations, sweeps and part tests (POST /v1/component_analyses).
Version 1-beta, 2026-11-20
Added
is_defaulton the project resource: true for the account's default project ("My simulations"), where a run with noproject_idis saved.project_public_idon simulation, sweep and dynamic-run resources: the public id (proj_...) of the run's project.project_idkeeps its value, the internal id.DELETE /v1/dynamic-simulations/{id}: deletes a flight. It followsDELETE /v1/simulations/{id}: another user's flight answers404, an active flight answers409, and no compute units change.
Changed
- Compute units are now seconds of solver time. The field
compute_units(andcredits_cost,estimated_creditsand the amounts ofGET /v1/compute-units/transactions) keep their names. Their number is the engine's expected solver seconds for the run, rounded up to a whole second, at least 1. Before this change it counted rotors and points. Runs made before it keep the number stored with them. - Every plan has a daily allowance of compute units: Free 600, Pro 10,800. The units come back at midnight UTC.
GET /v1/compute-units/balancereportsunlimited, which is alwaysfalse.GET /v1/compute-units/summaryreportswindow(day),cap,remainingandresets_at(the next midnight UTC). A run that needs more units than are left today fails with402and the codecredits_insufficient. A run that needs more than the whole allowance fails with422and the coderun_too_large.GET /v1/public/plansgivesdaily_unitsin place offull_model_runs_per_day.GET /v1/users/megivesentitlements.daily_units,units_used_todayandunits_resets_atin place ofentitlements.full_model_dailyandfull_model_used_today.GET /v1/simulation-limitsgivesdaily_unitsandmax_run_unitsin place ofmax_sweep_rotor_seconds, andPOST /v1/bench/estimateno longer givessweep_budget. - Pro runs two simulations at the same time (it was five). Free still runs one. A Free account no longer has a count of Full-model runs a day: the allowance of compute units covers every run.
- Part tests of a signed-in account (
POST /v1/component_analyses) cost compute units and are held to the allowance. A part test without an account is not charged. - The default project that a new account gets is now named "My first project" (it was "My simulations"). An account whose default project exists keeps the name stored with it; no project is renamed.
share_urlofPOST /v1/simulations/{id}/shareis now/s/<token>. Links given out before (/share/<token>) still open the result.
Version 1-beta, 2026-11-17
Changed
- The Python library is at version 1.0.0. It is an HTTP client only: every number comes from the ThrustLab engine through the API.
Removed
thrustlab.estimateandthrustlab.sitl, with the commandsthrustlab-estimateandthrustlab-sitl.- The Functional Mock-up Unit export. Every method of
client.fmuraisesRemovedFeatureErrorand sends nothing.
Version 1-beta, 2026-11-13
A simulation is now a short test bench run. It starts from rest or from a spinning rotor, holds the throttle, and reads the numbers over the last part of the hold.
Added
- The request fields
start(restorspinning),hold_s(the seconds the throttle is held),window_s(the reading window),state_of_charge_pctandresting_voltage_v_per_cell(the battery's start; send one of the two) onPOST /v1/simulationsandPOST /v1/sweeps. - The resource fields
bench(the inputs the run used),deprecations,compute_estimateandrun_progress. result.Bench, the engine's record of the run. The battery numbers moved toresult.All.- The error code
bench_refused, for a request the test bench refuses. The message names the input to change. POST /v1/bench/estimate, which prices a run before you submit it, andGET /v1/simulation-limits, which gives the limits of your plan.
Changed
flight_durationwas accepted and ignored, because the hold replaces it. The 2026-11-29 entry says it is now refused.
Removed
- The Functional Mock-up Unit export. It is refused from now on.
Version 1-beta, 2026-09-09
Added
started_aton simulation, sweep and dynamic-run resources: the instant the solver began, next tocreated_at,dispatched_atandcompleted_at. Queue wait isstarted_at - dispatched_at. See async resources.progresson a dynamic run resource and on everydynamic.updatedstream frame:{fraction, sim_time_s, sim_time_total_s, wall_s, updated_at}. See flight outputs.cancel_requested_aton sweep and dynamic-run resources, set while a cancel is accepted but not yet landed.credits_breakdownon a sweep resource:{points, rotors, cu_per_point_per_rotor, total}.concurrency: {limit, active, queued}onGET /v1/users/me, so the account-wide execution queue shared by the dashboard and every API key is readable. See rate limits.- Motor phase resistance
Rin component list rows and onGET /v1/components/{id}, for every tier that sees specs. filterson the component list response, echoing the bounds that were applied.X-Spec-Budget-RemainingandX-Spec-Budget-Resetheaders onGET /v1/components/{id}/specs. Retired on 2026-09-17: the catalog is open and that endpoint is no longer metered, so neither header is sent any more.- A new guide, Using the API from an AI coding agent, with a paste-able instruction block and a worked component-axis sweep.
https://thrustlab.com/llms-full.txt, every documentation page as one plain-text file, and a rewrittenhttps://thrustlab.com/llms.txtindex.- Python SDK 0.6.0:
client.simulations.run_queued()andclient.simulations.run_selected(simulation_ids)dispatch runs parked withlaunch_intent="queue". - Additive
snake_caseresult keys alongside the human-label spellings they mirror, on both steady-state and dynamic results. See test bench outputs.
Changed
- Cancelling a RUNNING dynamic run now behaves like cancelling a running sweep. The response keeps
status: "running"and setscancel_requested_at, and the run stops at its next integration window. Its partial result is kept (run_meta.partial,run_meta.canceled_at_t_s), compute units are refunded, and the execution slot frees.cancel-selectedlists running dynamic runs underrequested. - A sweep's
input_snapshotnow holds the request body as submitted when the caller omits it. It used to benull. sweep_config.component_axes[]now reports{axis, slot, slots, components: [{id, name}]}. Component references are ids and names only.- An unknown bracket filter key on
GET /v1/componentsnow returns400 unknown_filternaming the valid keys for that type, instead of being silently dropped. - Component filter and sort keys accept both spellings:
resistance[lte]isR[lte], andsort_by=resistanceissort_by=R, and likewise for every filterable field. ids_only=truereturns up to 5000 ids, raised from 2000, and setstruncatedwhen the cap bound the result.- Every 429 response carries a
Retry-Afterheader.create_rate_limitedis newly documented.spec_rate_limitedandfilter_rate_limitedwere documented here too and were retired on 2026-09-17 when the catalog opened; nothing returns them. See rate limits. - Per-account submission limits: 30 per minute to
POST /v1/sweeps, 30 per minute toPOST /v1/dynamic-simulations, 120 per minute toPOST /v1/simulations, each returning429 create_rate_limited. - An error's
doc_urlnow links to that code's own row,https://thrustlab.com/docs/guides/errors#<code>. The errors catalog is generated, so every code the API can return is on the page.
Notes
- The human-label result keys are deprecated in favour of the
snake_casespellings. Both are present; nothing has been removed. - The rate-limit change is additive. The flat 1000 requests per minute per credential, with a burst of 50, is unchanged.
- Python SDK 0.6.0 is a minor bump in
0.x, so read the SDK changelog before upgrading.
Version 1-beta, 2026-04-27
Added
- Public
/v1/API covering:users,projects,simulations,sweeps,dynamic-simulations,components,submissions,starred_components,compute-units,webhook_endpoints, andevents. - Official Python SDK
thrustlabv0.1.0 on PyPI. - Webhook deliveries with HMAC SHA256 signing and a 5-minute timestamp tolerance window. See the webhooks guide.
- Stripe-style error envelopes with deterministic machine-readable codes. See the errors guide.
- Cursor-based pagination on every list endpoint. See the pagination guide.
- Async-as-resource pattern for simulations and sweeps. Poll the resource or subscribe via webhook events. See the async resources guide.
Notes
- Stripe billing (subscriptions, billing portal) is managed from the
dashboard. The public
/v1/API has no billing requests. - The Python SDK was in
0.xuntil version 1.0.0, so minor-version bumps could include small breaking changes. Patch bumps are always backward-compatible.