Source Parts Inc. Projects API

Project management

GitHub OpenAPI

Operations 21

GET /projects List projects #
POST /projects Create project #
GET /projects/{project_id}/ecns List all ECNs in a project #
POST /projects/{project_id}/ecns Create a new ECN file, commit, and optionally push/create PR #
GET /projects/{project_id}/ecns/{ecn_id} Get the full content of a specific ECN by ID #
PATCH /projects/{project_id}/ecns/{ecn_id} Update an existing ECN's metadata or body #
POST /projects/{project_id}/ecns/validate Validate all ECN files in the project for correct frontmatter schema #
GET /projects/{project_id} Get project details by ID #
PUT /projects/{project_id} Update project details #
DELETE /projects/{project_id} Delete a project #
POST /projects/{project_id}/eco DEPRECATED — use POST /v1/projects//ecos instead #
GET /projects/{project_id}/ecos List all ECOs in a project, optionally filtered by status #
POST /projects/{project_id}/ecos Create an ECO. Body: {id, title, revision, ecn_ids?, body?, author?, status?} #
GET /projects/{project_id}/ecos/{eco_id} Fetch full ECO details + nested ECN list #
PATCH /projects/{project_id}/ecos/{eco_id} Partial update — only fields present in the body are changed #
POST /projects/{project_id}/ecos/{eco_id}/approve Authorize the ECO and (optionally) batch-approve a list of its ECNs #
GET /projects/{project_id}/ecos/build-status Deprecated alias for GET /v1/projects//ecos/build/status #
GET /projects/{project_id}/ecos/build/status Aggregate build readiness — used by the locked/unlocked Build button #
GET /projects/{project_id}/status Get project status including part counts and cost summary #
POST /projects/{project_id}/transfer Transfer project ownership to another user #
POST /projects/skeleton Create a new project from a skeleton/template #

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/source-parts:source-parts-projects-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

source-parts-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Source Parts Projects API
  description: 'The Source Parts v1 API provides programmatic access to electronic parts data,

    inventory management, BOM processing, and manufacturing workflows.


    **Required headers:** every request must include a non-empty `User-Agent`

    header identifying your application (e.g. `User-Agent: your-app/1.0`).

    Requests without one are rejected with `403 Forbidden` before authentication.'
  version: 1.1.0
  contact:
    name: Source Parts Support
    email: support@source.parts
    url: https://source.parts
  license:
    name: Proprietary
    url: https://source.parts/terms
servers:
- url: https://api.source.parts/v1
  description: Production
- url: http://localhost:9900/v1
  description: Local development
security:
- ApiKeyAuth: []
tags:
- name: Projects
  description: Project management
paths:
  /projects:
    get:
      tags:
      - Projects
      summary: List projects
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          default: 50
      - name: offset
        in: query
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: Project list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsListResponse'
      operationId: getProjects
      x-operation-id-source: derived
    post:
      tags:
      - Projects
      summary: Create project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectCreateRequest'
      responses:
        '201':
          description: Project created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectResponse'
      operationId: postProjects
      x-operation-id-source: derived
  /projects/{project_id}/ecns:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Projects
      summary: List all ECNs in a project
      x-generated: true
      x-handler: ecns.list_ecns
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: getProjectsByProjectIdEcns
      x-operation-id-source: derived
    post:
      tags:
      - Projects
      summary: Create a new ECN file, commit, and optionally push/create PR
      x-generated: true
      x-handler: ecns.create_ecn
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: postProjectsByProjectIdEcns
      x-operation-id-source: derived
  /projects/{project_id}/ecns/{ecn_id}:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    - name: ecn_id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Projects
      summary: Get the full content of a specific ECN by ID
      x-generated: true
      x-handler: ecns.get_ecn
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: getProjectsByProjectIdEcnsByEcnId
      x-operation-id-source: derived
    patch:
      tags:
      - Projects
      summary: Update an existing ECN's metadata or body
      x-generated: true
      x-handler: ecns.update_ecn
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: patchProjectsByProjectIdEcnsByEcnId
      x-operation-id-source: derived
  /projects/{project_id}/ecns/validate:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    post:
      tags:
      - Projects
      summary: Validate all ECN files in the project for correct frontmatter schema
      x-generated: true
      x-handler: ecns.validate_ecns
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: postProjectsByProjectIdEcnsValidate
      x-operation-id-source: derived
  /projects/{project_id}:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Projects
      summary: Get project details by ID
      x-generated: true
      x-handler: projects.get_project
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: getProjectsByProjectId
      x-operation-id-source: derived
    put:
      tags:
      - Projects
      summary: Update project details
      x-generated: true
      x-handler: projects.update_project
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: putProjectsByProjectId
      x-operation-id-source: derived
    delete:
      tags:
      - Projects
      summary: Delete a project
      x-generated: true
      x-handler: projects.delete_project
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: deleteProjectsByProjectId
      x-operation-id-source: derived
  /projects/{project_id}/eco:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    post:
      tags:
      - Projects
      summary: DEPRECATED — use POST /v1/projects//ecos instead
      x-generated: true
      x-handler: projects.create_eco
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: postProjectsByProjectIdEco
      x-operation-id-source: derived
  /projects/{project_id}/ecos:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Projects
      summary: List all ECOs in a project, optionally filtered by status
      x-generated: true
      x-handler: projects.list_ecos
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: getProjectsByProjectIdEcos
      x-operation-id-source: derived
    post:
      tags:
      - Projects
      summary: 'Create an ECO. Body: {id, title, revision, ecn_ids?, body?, author?, status?}'
      x-generated: true
      x-handler: projects.create_eco_v2
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: postProjectsByProjectIdEcos
      x-operation-id-source: derived
  /projects/{project_id}/ecos/{eco_id}:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    - name: eco_id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Projects
      summary: Fetch full ECO details + nested ECN list
      x-generated: true
      x-handler: projects.get_eco
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: getProjectsByProjectIdEcosByEcoId
      x-operation-id-source: derived
    patch:
      tags:
      - Projects
      summary: Partial update — only fields present in the body are changed
      x-generated: true
      x-handler: projects.update_eco
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: patchProjectsByProjectIdEcosByEcoId
      x-operation-id-source: derived
  /projects/{project_id}/ecos/{eco_id}/approve:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    - name: eco_id
      in: path
      required: true
      schema:
        type: string
    post:
      tags:
      - Projects
      summary: Authorize the ECO and (optionally) batch-approve a list of its ECNs
      x-generated: true
      x-handler: projects.approve_eco
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: postProjectsByProjectIdEcosByEcoIdApprove
      x-operation-id-source: derived
  /projects/{project_id}/ecos/build-status:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Projects
      summary: Deprecated alias for GET /v1/projects//ecos/build/status
      deprecated: true
      x-successor-version: /v1/projects/{project_id}/ecos/build/status
      x-sunset: Wed, 28 Oct 2026 00:00:00 GMT
      x-generated: true
      x-handler: projects.eco_build_status_legacy
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: getProjectsByProjectIdEcosBuildStatus
      x-operation-id-source: derived
  /projects/{project_id}/ecos/build/status:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Projects
      summary: Aggregate build readiness — used by the locked/unlocked Build button
      x-generated: true
      x-handler: projects.eco_build_status
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: getProjectsByProjectIdEcosBuildStatus
      x-operation-id-source: derived
  /projects/{project_id}/status:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Projects
      summary: Get project status including part counts and cost summary
      x-generated: true
      x-handler: projects.get_project_status
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: getProjectsByProjectIdStatus
      x-operation-id-source: derived
  /projects/{project_id}/transfer:
    parameters:
    - name: project_id
      in: path
      required: true
      schema:
        type: string
    post:
      tags:
      - Projects
      summary: Transfer project ownership to another user
      x-generated: true
      x-handler: projects.transfer_project
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: postProjectsByProjectIdTransfer
      x-operation-id-source: derived
  /projects/skeleton:
    post:
      tags:
      - Projects
      summary: Create a new project from a skeleton/template
      x-generated: true
      x-handler: projects.create_from_skeleton
      responses:
        '200':
          description: Success
        '401':
          description: Authentication required
      operationId: postProjectsSkeleton
      x-operation-id-source: derived
components:
  schemas:
    ProjectResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
    ProjectsListResponse:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            projects:
              type: array
              items:
                type: object
            total:
              type: integer
    ProjectCreateRequest:
      type: object
      required:
      - name
      properties:
        name:
          type: string
        description:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: API key (sp_live_xxx or sp_test_xxx)