ThrustLab Starred Components API

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

GitHub OpenAPI

Operations 3

GET /v1/starred_components List Starred Components #
POST /v1/starred_components Star Component #
DELETE /v1/starred_components/{star_id} Unstar Component #

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-starred-components-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-starred-components-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Electric UAV powertrain simulation platform
  title: ThrustLab Starred Components API
  version: v1-beta
servers:
- description: Production
  url: https://thrustlab.com
security:
- HTTPBearer: []
tags:
- name: starred_components
paths:
  /v1/starred_components:
    get:
      description: 'List the caller''s stars across all projects, newest first, cursor-paginated.


        Supports flat-filter narrowing by project and component type.


        Query parameters: project (optional, prefixed or UUID; cross-user → 404),

        component_type (optional; motor|battery|propeller), limit (1-100,

        default 25), cursor (pagination token).


        Returns a list response with data, has_more, and next_cursor fields.

        Each row carries its own star_ id, both parent prefixed identifiers,

        and created_at timestamp.'
      operationId: list_starred_components_v1_starred_components_get
      parameters:
      - in: query
        name: project
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Project
      - in: query
        name: component_type
        required: false
        schema:
          anyOf:
          - pattern: ^(motor|battery|propeller)$
            type: string
          - type: 'null'
          title: Component Type
      - 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/StarredComponentListResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: List Starred Components
      tags:
      - starred_components
    post:
      description: 'Star a component within a project.


        Body fields: project_id (required, prefixed or UUID), component_id

        (required, prefixed or UUID), component_type (motor|battery|propeller).


        Both project_id and component_id accept prefixed or UUID forms — useful

        during reference-app transition. Cross-user access returns 404s.


        Returns the new starred_component resource (201).


        Error 409 if the (project_id, component_id) pair is already starred.'
      operationId: star_component_v1_starred_components_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StarredComponentCreateBody'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StarredComponentResource'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Star Component
      tags:
      - starred_components
  /v1/starred_components/{star_id}:
    delete:
      description: 'Unstar a component.


        The path parameter is the star''s own star_ id, not the underlying

        component id. Also accepts the underlying UUID form for transition-period

        compatibility; new integrations should use the prefixed form.


        Returns 204 No Content on success.


        Error 404 if the star id is unknown or cross-user.'
      operationId: unstar_component_v1_starred_components__star_id__delete
      parameters:
      - in: path
        name: star_id
        required: true
        schema:
          title: Star Id
          type: string
      responses:
        '204':
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Unstar Component
      tags:
      - starred_components
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    StarredComponentCreateBody:
      description: 'Accepts either prefixed (``proj_<ksuid>`` / ``comp_<ksuid>``) or raw

        UUID strings — resolution happens in the handler so the same body shape

        works during the reference-app transition.'
      properties:
        component_id:
          maxLength: 64
          minLength: 1
          title: Component Id
          type: string
        component_type:
          pattern: ^(motor|battery|propeller)$
          title: Component Type
          type: string
        project_id:
          maxLength: 64
          minLength: 1
          title: Project Id
          type: string
      required:
      - project_id
      - component_id
      - component_type
      title: StarredComponentCreateBody
      type: object
    StarredComponentListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/StarredComponentResource'
          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: StarredComponentListResponse
      type: object
    StarredComponentResource:
      properties:
        component_id:
          title: Component Id
          type: string
        component_type:
          title: Component Type
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        id:
          title: Id
          type: string
        object:
          default: starred_component
          title: Object
          type: string
        project_id:
          title: Project Id
          type: string
      required:
      - id
      - project_id
      - component_id
      - component_type
      - created_at
      title: StarredComponentResource
      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
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http