ThrustLab Projects API
The projects API from ThrustLab — 2 operation(s) for projects.
The projects API from ThrustLab — 2 operation(s) for projects.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/thrustlab-com:thrustlab-com-projects-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: Electric UAV powertrain simulation platform
title: ThrustLab Projects API
version: v1-beta
servers:
- description: Production
url: https://thrustlab.com
security:
- HTTPBearer: []
tags:
- name: Projects
paths:
/v1/projects:
get:
description: 'List projects owned by the authenticated user.
Results are newest-first and cursor-paginated. Query parameters:
`limit` (1-100, default 25), `cursor` (opaque pagination token).
Returns a list response with `data`, `has_more`, and `next_cursor` fields.'
operationId: list_projects_v1_projects_get
parameters:
- in: query
name: cursor
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Cursor
- in: query
name: limit
required: false
schema:
default: 25
maximum: 100
minimum: 1
title: Limit
type: integer
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/app__v1__serializers_projects__ProjectListResponse'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: List Projects
tags:
- Projects
post:
description: 'Create a new project owned by the authenticated user.
Body fields: `name` (required, 1-255 chars), `aircraft_type_tag` (optional,
up to 50 chars), `notes` (optional, no length cap).
Returns the new project resource (201).'
operationId: create_project_v1_projects_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectCreateBody'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectResource'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Create Project
tags:
- Projects
/v1/projects/{project_id}:
delete:
description: 'Delete the project and cascade-delete all child rows.
Cascade deletes all simulations, sweeps, and starred components
belonging to the project. This is destructive with no soft-delete or
undo at the /v1/ surface. If you need to retain historical results,
fetch them before deleting the parent project.
Returns 204 No Content on success.'
operationId: delete_project_v1_projects__project_id__delete
parameters:
- in: path
name: project_id
required: true
schema:
title: Project Id
type: string
responses:
'204':
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Delete Project
tags:
- Projects
get:
description: 'Retrieve a single project by prefixed id.
The path parameter accepts both `proj_` and UUID forms.
Cross-user access returns 404 (anti-enumeration).
Returns the project resource (200).'
operationId: get_project_v1_projects__project_id__get
parameters:
- in: path
name: project_id
required: true
schema:
title: Project Id
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectResource'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Get Project
tags:
- Projects
patch:
description: 'Update one or more editable fields.
Body fields are all optional: `name` (1-255 chars), `aircraft_type_tag`
(up to 50 chars), `notes` (no length cap). Only fields included in the
request body are updated; omitted fields preserve their current values.
Empty body is a 200 idempotent no-op.
Returns the updated project resource (200).'
operationId: patch_project_v1_projects__project_id__patch
parameters:
- in: path
name: project_id
required: true
schema:
title: Project Id
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectPatch'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectResource'
description: Successful Response
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: Validation Error
summary: Patch Project
tags:
- Projects
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
title: Detail
type: array
title: HTTPValidationError
type: object
app__v1__serializers_projects__ProjectListResponse:
properties:
data:
items:
$ref: '#/components/schemas/ProjectResource'
title: Data
type: array
has_more:
title: Has More
type: boolean
next_cursor:
anyOf:
- type: string
- type: 'null'
title: Next Cursor
object:
default: list
title: Object
type: string
required:
- data
- has_more
- next_cursor
title: ProjectListResponse
type: object
ProjectPatch:
properties:
aircraft_type_tag:
anyOf:
- maxLength: 50
type: string
- type: 'null'
title: Aircraft Type Tag
name:
anyOf:
- maxLength: 255
minLength: 1
type: string
- type: 'null'
title: Name
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
title: ProjectPatch
type: object
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
title: Location
type: array
msg:
title: Message
type: string
type:
title: Error Type
type: string
required:
- loc
- msg
- type
title: ValidationError
type: object
ProjectResource:
properties:
aircraft_type_tag:
anyOf:
- type: string
- type: 'null'
title: Aircraft Type Tag
completed_count:
default: 0
title: Completed Count
type: integer
created_at:
format: date-time
title: Created At
type: string
failed_count:
default: 0
title: Failed Count
type: integer
id:
title: Id
type: string
last_activity_at:
anyOf:
- format: date-time
type: string
- type: 'null'
title: Last Activity At
name:
title: Name
type: string
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
object:
default: project
title: Object
type: string
run_count:
default: 0
title: Run Count
type: integer
running_count:
default: 0
title: Running Count
type: integer
updated_at:
format: date-time
title: Updated At
type: string
required:
- id
- name
- aircraft_type_tag
- notes
- created_at
- updated_at
title: ProjectResource
type: object
ProjectCreateBody:
properties:
aircraft_type_tag:
anyOf:
- maxLength: 50
type: string
- type: 'null'
title: Aircraft Type Tag
name:
maxLength: 255
minLength: 1
title: Name
type: string
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
required:
- name
title: ProjectCreateBody
type: object
securitySchemes:
HTTPBearer:
scheme: bearer
type: http