ThrustLab Submissions API

The submissions API from ThrustLab — 2 operation(s) for submissions.

GitHub OpenAPI

Operations 5

GET /v1/submissions List Submissions #
POST /v1/submissions Create Submission #
DELETE /v1/submissions/{submission_id} Delete Submission #
GET /v1/submissions/{submission_id} Get Submission #
PATCH /v1/submissions/{submission_id} Patch Submission #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thrustlab-com:thrustlab-com-submissions-api"
All apis
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.

Get an API 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 Specification

thrustlab-com-submissions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Electric UAV powertrain simulation platform
  title: ThrustLab Submissions API
  version: v1-beta
servers:
- description: Production
  url: https://thrustlab.com
security:
- HTTPBearer: []
tags:
- name: Submissions
paths:
  /v1/submissions:
    get:
      description: 'List the caller''s own submissions, newest first, cursor-paginated.


        Query parameters: status (optional filter by exact status), limit (1-100,

        default 25), cursor (pagination token).


        Returns a list response with data, has_more, and next_cursor fields.'
      operationId: list_submissions_v1_submissions_get
      parameters:
      - in: query
        name: status
        required: false
        schema:
          anyOf:
          - pattern: ^(submitted|under_review|approved|rejected)$
            type: string
          - type: 'null'
          title: Status
      - 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_submissions__SubmissionListResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: List Submissions
      tags:
      - Submissions
    post:
      description: 'Create a new community-contribution submission.


        Propose a motor or battery for inclusion in the public catalog.


        Body fields: component_type (motor|battery), name, manufacturer, data_json

        (type-specific spec map), source_url, notes (optional).


        Motor data_json.R is the PHASE-TO-PHASE winding resistance in ohms — the

        datasheet value, what a meter reads across two motor leads. This matches

        the component spec_json.R convention, so an approved submission''s

        data_json copies verbatim into a catalog spec (2026-07-16 unification;

        data_json was previously per-phase). Curation note: add_motor takes

        terminal milliohms, so a motortoolbox import is R x 1000.


        Returns the new submission resource (201) with status="submitted".


        A component.submitted webhook event fires for every successful create.'
      operationId: create_submission_v1_submissions_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmissionCreateBody'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionResource'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Create Submission
      tags:
      - Submissions
  /v1/submissions/{submission_id}:
    delete:
      description: 'Withdraw a submission. Only allowed while status=''submitted''.


        The row is hard-deleted. No deletion event is emitted — withdrawn

        submissions simply disappear from the user''s listing.


        Returns 204 No Content on success.


        Error 409 if status has moved past ''submitted'' (already under review).'
      operationId: delete_submission_v1_submissions__submission_id__delete
      parameters:
      - in: path
        name: submission_id
        required: true
        schema:
          title: Submission Id
          type: string
      responses:
        '204':
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Delete Submission
      tags:
      - Submissions
    get:
      description: 'Retrieve a single submission by prefixed id.


        Cross-user access returns 404 submission_not_found.


        Returns the submission resource (200).'
      operationId: get_submission_v1_submissions__submission_id__get
      parameters:
      - in: path
        name: submission_id
        required: true
        schema:
          title: Submission Id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionResource'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Get Submission
      tags:
      - Submissions
    patch:
      description: 'Edit a submission before review.


        Allowed fields: name, manufacturer, data_json, source_url, notes.

        component_type is not editable — it determines moderation routing.


        Empty body returns 200 with the unchanged resource (idempotent no-op).


        Returns the updated submission resource (200).


        Error 409 if status has moved past ''submitted'' (a moderator has reviewed).'
      operationId: patch_submission_v1_submissions__submission_id__patch
      parameters:
      - in: path
        name: submission_id
        required: true
        schema:
          title: Submission Id
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmissionPatch'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionResource'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Patch Submission
      tags:
      - Submissions
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    app__v1__serializers_submissions__SubmissionListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/SubmissionResource'
          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: SubmissionListResponse
      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
    SubmissionCreateBody:
      properties:
        component_type:
          pattern: ^(motor|battery)$
          title: Component Type
          type: string
        data_json:
          additionalProperties: true
          title: Data Json
          type: object
        manufacturer:
          maxLength: 255
          minLength: 1
          title: Manufacturer
          type: string
        name:
          maxLength: 255
          minLength: 1
          title: Name
          type: string
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        source_url:
          maxLength: 500
          title: Source Url
          type: string
      required:
      - component_type
      - name
      - manufacturer
      - data_json
      - source_url
      title: SubmissionCreateBody
      type: object
    SubmissionResource:
      properties:
        component_type:
          title: Component Type
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        credit_reward:
          title: Credit Reward
          type: integer
        data_json:
          additionalProperties: true
          title: Data Json
          type: object
        id:
          title: Id
          type: string
        manufacturer:
          title: Manufacturer
          type: string
        name:
          title: Name
          type: string
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        object:
          default: submission
          title: Object
          type: string
        reviewed_at:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          title: Reviewed At
        reviewer_notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Reviewer Notes
        source_url:
          title: Source Url
          type: string
        status:
          title: Status
          type: string
      required:
      - id
      - component_type
      - name
      - manufacturer
      - data_json
      - source_url
      - notes
      - status
      - reviewer_notes
      - credit_reward
      - reviewed_at
      - created_at
      title: SubmissionResource
      type: object
    SubmissionPatch:
      description: 'Withdraw/edit-before-review fields. component_type excluded —

        structural classifier; changing it would invalidate downstream

        review pipelines.'
      properties:
        data_json:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Data Json
        manufacturer:
          anyOf:
          - maxLength: 255
            minLength: 1
            type: string
          - type: 'null'
          title: Manufacturer
        name:
          anyOf:
          - maxLength: 255
            minLength: 1
            type: string
          - type: 'null'
          title: Name
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        source_url:
          anyOf:
          - maxLength: 500
            type: string
          - type: 'null'
          title: Source Url
      title: SubmissionPatch
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http