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/fmu and the three /v1/simulations/export/fmu/{job_id} addresses. They answer 404 with the code address_removed. The message says the export was removed, and tells you to run a simulation with POST /v1/simulations or a flight with POST /v1/flights and 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_cap and entitlements.weekly_cap of GET /v1/users/me.
  • credits_breakdown of a sweep. compute_units is the total, and nothing read the breakdown.
  • inputs.solver of a simulation and of a sweep.
  • result.All.solver_engine of a new result. The engine is result.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_v and motor_voltage_after_esc_v.
  • The four speed-controller timing numbers gamma_cmd_deg, beta_eff_deg, torque_per_amp_factor and max_rpm_shift. The API no longer fills them in, so they are no longer under a rotor's diagnostics.
  • The error codes solver_no_convergence and propeller_geometry_missing are 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:

Renamed
BeforeNow
/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-simulationsflights
The objects dynamic_simulation and dynamic_estimateflight and flight_estimate
The schemas Dynamic*FlightCreateBody, FlightEstimateBody, FlightResource, FlightListResponse, FlightPatch, FlightRotorGroupIn, FlightRotorIn and FlightEstimateResource
The stream frame dynamic.updatedflight.updated
Python client.dynamic_simulationsclient.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:

Renamed (table 2)
BeforeNow
dynamic_duration_s in the body of POST /v1/bench/estimateflight_duration_s
dynamic_budget in its answerflight_budget
limits.dynamic_twin_seconds of POST /v1/bench/estimate and GET /v1/simulation-limitsflight_twin_seconds

Error codes and messages:

Renamed (table 3)
BeforeNow
active_dynamic_simulationactive_flight
dynamic_budget_exceededflight_budget_exceeded
dynamic_limit_exceededflight_limit_exceeded
pack_too_large_for_dynamicpack_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):

Renamed (table 4)
BeforeNow
evaluation value steadybench
evaluation value dynamicover_time
The request block dynamicsover_time
The schemas PropellerDynamics, MotorDynamics and BatteryDynamicsPropellerOverTime, MotorOverTime and BatteryOverTime
The schemas DynamicProfile, DynamicProfileRow, DynamicPropellerInputs and DynamicOutputEventOverTimeProfile, 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:

Renamed (table 5)
BeforeNow
solver_engine on simulation, sweep and flight resourcesengine, with a value such as thrustlab-core/1.19.0
result.All.aero_modelresult.All.propeller_model
result.All.diagnostics.solver_versionresult.All.diagnostics.model_version
battery_charge_pct in simulation, sweep and flight bodies, and in the inputs of a resource and of a sweep pointstate_of_charge_pct
The sweep axis battery_charge, in a request and in sweep_configstate_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:

Renamed (table 6)
BeforeNow
analysis_type single_point of a simulationbench. A sweep stays sweep.
analysis_type of a flight on a shared or public resultflight
entitlements.sim_types value steady_singlebench
entitlements.sim_types value dynamicflight
details.gate: "dynamic" of a 402 with the code upgrade_requireddetails.gate: "flight"
The skip reason running_single_point of POST /v1/simulations/cancel-selectedrunning_bench

Compute units:

Renamed (table 7)
BeforeNow
credits_cost on simulation, sweep and flight resourcescompute_units
estimated_credits of a flight estimateestimated_compute_units
The webhook event credits.low_balancecompute_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 422 and a message that names the new one. flight_duration is refused with "send hold_s, the seconds each point is held". flight_regime is refused with "send cooling_source" and its four values still_air, propeller_wash_mild, propeller_wash_strong and forced_air. dynamic_duration_s is refused with "send flight_duration_s". battery_charge_pct is refused with "send state_of_charge_pct". The sweep axis battery_charge is refused with "send state_of_charge".
  • The cooling_source values changed. static is now still_air. airspeed and prop_slipstream are now propeller_wash_mild or propeller_wash_strong. The old values are refused with a message that names the new ones.
  • A new run has no deprecations note, 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. No Deprecation or Sunset header 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_failure and sweep_points_persist_failed. A flight fails with engine_request_refused or solver_failure. A failed run returns its stored code and the engine's sentence.
  • A sweep point keeps its rotors, and the short keys j, reyn and thr_per_pwr keep their names. The speed-controller inputs esc_timing, esc_pwm_frequency_khz, esc_sync_rectification and esc_resistance_mohm, and the older progress field beside run_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_v and 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 new start_dip with lowest_cell_voltage_v, time_s, minimum_cell_voltage_v, spin_up_end_s and warning. spin_up_end_s is null when the flight ended inside its spin-up, and warning is a sentence when the lowest voltage was at or below the limit and null if not. start_dip is 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 ends failed, with the code evaluation_failed and the engine's sentence about the first evaluation, and its compute units are returned. Before, it ended completed with no numbers. A propeller described by its printed size in custom_spec needs "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 its time_s, its trace and, on a single run, its switching_record. A unit that started has none. A sweep's point list leaves it out, like the other traces.
  • POST /v1/sweeps accepts battery_topology, a battery of several packs, as POST /v1/simulations does: every point of the sweep runs with it, and the sweep resource shows it.
  • GET /v1/sweeps/{id}/points/{index} returns one sweep point with bench_detail: its traces (at most 100 rows each), its energy ledger and its two temperature curves. The list of points stays light and leaves bench_detail out. Sweeps made from now on keep it. A point stored before has bench_detail set to null.
  • The API reference describes result.Bench of a simulation and rotors.Bench of 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 error carries the code, such as bench_refused, and the engine's sentence that names the input to change. Before, a read of a failed run always said solver_failure or solver_no_convergence.
  • result.All of 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_v and charge_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) and derived.air_density_kg_m3 in their result.
  • POST /v1/components/check takes wire (awg and length_cm) and answers with the resistance the wire holds. It takes measured_from_photo with a propeller, and answers with fast_label for a propeller: the printed size the Fast model runs it on. esc_on_resistance_mohm is filled for a motor with pack_voltage_v.
  • The station rows of POST /v1/geometry/analyze carry alpha_deg (angle of attack), inflow_angle_deg and lift_to_drag.
  • A webhook can subscribe to flight.running, flight.completed, flight.failed and flight.canceled.
  • The API reference lists the created_at[gte] and created_at[lt] filters of GET /v1/events.

Changed

  • Flight events are named flight.running, flight.completed, flight.failed and flight.canceled. Before, they were dynamic.running, dynamic.completed, dynamic.failed and dynamic.canceled, and only a webhook that subscribed to * received them.
  • The object of the 202 answer of POST /v1/geometry/design is now design_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 outcome is could_not_start and its reading is the motor already running, as before; startup_limit_hint then 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 interpolation choice "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" answers 422 with 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_raw and power_raw of the answer of POST /v1/geometry/analyze. They were always empty.
  • Two values in each rotor's diagnostics in 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-simulations and POST /v1/dynamic-simulations/estimate answer 422 when a body has battery_topology and also a battery-to-ESC wire (battery_esc_wire, or a battery_esc_wire_resistance_mohm above 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 as battery_topology.bus_wire or battery_topology.bus_wire_resistance_mohm.
  • A pack's own wire in battery_topology (branch_wire_resistance_mohm, or branch_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/generate answers 400 for an airfoil name 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) and efficiency. A group of packs also gives each pack's current, current_a, in cell_groups of a reading.
  • The stations of a propeller test carry inflow_angle_deg and lift_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 (label Fitted Series Drop (V)) in the rotor results of simulations, sweep points and flights, and in each sample of a flight.
  • series_loss_w (label Series Resistance Loss (W), and Total 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_v and controller_input_v in voltage_chain of a test-bench result: the speed controller's input is now the bus voltage, bus_v.
  • energy.series_resistance_j and shares.series_loss in a test-bench result and in a motor test (POST /v1/component_analyses).
  • series_loss_w and fitted_drop_v as observables of a motor run over time (POST /v1/component_analyses with evaluation set to dynamic), with the metrics peak_, minimum_ and mean_ of each. A request that names one now answers 422.

Changed

  • GET /v1/airfoils lists 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 sections jwl029, jwl030, jwl031, jwl041 to jwl046, jwl065 to jwl069, jwl074 to jwl082, jwl097 and jwl106 are no longer listed, because the engine refuses them.
  • The target search and the sensitivity of POST /v1/component_analyses (modes solve_target and sensitivity) 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/estimate and POST /v1/dynamic-simulations answer 422 with the code engine_request_refused and the engine's sentence when a motor, a propeller or the battery is missing or cannot be seen (for example rotor 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}/performance and GET /v1/public/propellers/{component_id}/performance: the stored thrust, current and efficiency series of a motor or propeller pairing. Both routes now answer 404. 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 answers 404.
  • curve_pack_cells on public motor rows (GET /v1/public/motors, GET /v1/public/motors/{id} and GET /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] and curve_pack_cells[lte] filters of GET /v1/public/motors, and the curve_pack_cells range of GET /v1/public/motors/facets. A request that names the filter now answers 400 with the code unknown_filter.
  • envelope_status and envelope_limiting_factor in the response of POST /v1/geometry/analyze.
  • throttle in the motor inputs of POST /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 answers 422 and says to send throttle_pct. The Python SDK models lose the same field.
  • target_mode and target_value in the body of POST /v1/geometry/design: target_value was grams-force for a thrust target and watts for a power target. A request that sends either now answers 422 and says which fields to send.

Added

  • throttle_pct in the motor inputs of POST /v1/component_analyses: the throttle in percent, from 0 to 100. It replaces throttle (a fraction): 0.6 becomes 60. 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) and target_power_w (watts) in the body of POST /v1/geometry/design. Send one of them, never both. A thrust target of 500 gf becomes 4.903325 N.

Changed

  • A reading window longer than half the hold (window_s above half of hold_s) is now refused with the engine's own message, when the run's price is checked, before anything is reserved. The answer is still 422; only the wording changes. This holds for simulations, sweeps and part tests (POST /v1/component_analyses).

Version 1-beta, 2026-11-20

Added

  • is_default on the project resource: true for the account's default project ("My simulations"), where a run with no project_id is saved.
  • project_public_id on simulation, sweep and dynamic-run resources: the public id (proj_...) of the run's project. project_id keeps its value, the internal id.
  • DELETE /v1/dynamic-simulations/{id}: deletes a flight. It follows DELETE /v1/simulations/{id}: another user's flight answers 404, an active flight answers 409, and no compute units change.

Changed

  • Compute units are now seconds of solver time. The field compute_units (and credits_cost, estimated_credits and the amounts of GET /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/balance reports unlimited, which is always false. GET /v1/compute-units/summary reports window (day), cap, remaining and resets_at (the next midnight UTC). A run that needs more units than are left today fails with 402 and the code credits_insufficient. A run that needs more than the whole allowance fails with 422 and the code run_too_large. GET /v1/public/plans gives daily_units in place of full_model_runs_per_day. GET /v1/users/me gives entitlements.daily_units, units_used_today and units_resets_at in place of entitlements.full_model_daily and full_model_used_today. GET /v1/simulation-limits gives daily_units and max_run_units in place of max_sweep_rotor_seconds, and POST /v1/bench/estimate no longer gives sweep_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_url of POST /v1/simulations/{id}/share is 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.estimate and thrustlab.sitl, with the commands thrustlab-estimate and thrustlab-sitl.
  • The Functional Mock-up Unit export. Every method of client.fmu raises RemovedFeatureError and 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 (rest or spinning), hold_s (the seconds the throttle is held), window_s (the reading window), state_of_charge_pct and resting_voltage_v_per_cell (the battery's start; send one of the two) on POST /v1/simulations and POST /v1/sweeps.
  • The resource fields bench (the inputs the run used), deprecations, compute_estimate and run_progress.
  • result.Bench, the engine's record of the run. The battery numbers moved to result.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, and GET /v1/simulation-limits, which gives the limits of your plan.

Changed

  • flight_duration was 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_at on simulation, sweep and dynamic-run resources: the instant the solver began, next to created_at, dispatched_at and completed_at. Queue wait is started_at - dispatched_at. See async resources.
  • progress on a dynamic run resource and on every dynamic.updated stream frame: {fraction, sim_time_s, sim_time_total_s, wall_s, updated_at}. See flight outputs.
  • cancel_requested_at on sweep and dynamic-run resources, set while a cancel is accepted but not yet landed.
  • credits_breakdown on a sweep resource: {points, rotors, cu_per_point_per_rotor, total}.
  • concurrency: {limit, active, queued} on GET /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 R in component list rows and on GET /v1/components/{id}, for every tier that sees specs.
  • filters on the component list response, echoing the bounds that were applied.
  • X-Spec-Budget-Remaining and X-Spec-Budget-Reset headers on GET /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 rewritten https://thrustlab.com/llms.txt index.
  • Python SDK 0.6.0: client.simulations.run_queued() and client.simulations.run_selected(simulation_ids) dispatch runs parked with launch_intent="queue".
  • Additive snake_case result 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 sets cancel_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-selected lists running dynamic runs under requested.
  • A sweep's input_snapshot now holds the request body as submitted when the caller omits it. It used to be null.
  • 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/components now returns 400 unknown_filter naming the valid keys for that type, instead of being silently dropped.
  • Component filter and sort keys accept both spellings: resistance[lte] is R[lte], and sort_by=resistance is sort_by=R, and likewise for every filterable field.
  • ids_only=true returns up to 5000 ids, raised from 2000, and sets truncated when the cap bound the result.
  • Every 429 response carries a Retry-After header. create_rate_limited is newly documented. spec_rate_limited and filter_rate_limited were 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 to POST /v1/dynamic-simulations, 120 per minute to POST /v1/simulations, each returning 429 create_rate_limited.
  • An error's doc_url now 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_case spellings. 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, and events.
  • Official Python SDK thrustlab v0.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.x until version 1.0.0, so minor-version bumps could include small breaking changes. Patch bumps are always backward-compatible.