Skip to content
REST API

Parts Endpoint

Read indexed parts with optional team part number and note projection.
GET https://api.elexess.com/functions/v1/parts

Authentication

  • JWT or team API token (el_live_*)

Query Parameters

  • q (string, optional): MPN text filter (manufacturer_part_number)
  • manufacturer_id (number, optional): restrict to one manufacturer
  • risk_level (string, optional): low, medium, high, critical
  • limit (number, optional): page size (default 50, max 100)
  • offset (number, optional): pagination offset (default 0)

Response

{
  "count": 2,
  "limit": 50,
  "offset": 0,
  "rows": [
    {
      "id": 12345,
      "manufacturer_id": 19,
      "manufacturer_part_number": "LM358",
      "description": "Dual operational amplifier",
      "package_id": 112,
      "packaging": "Tube",
      "rohs": true,
      "life_cycle": "Active",
      "manufacturer": { "id": 19, "name": "Texas Instruments" },
      "risk": {
        "risk_level": "medium",
        "risk_score": 47,
        "global_stock": 190020,
        "trend_direction": "up",
        "trend_score_delta": 3
      },
      "team_items": [
        {
          "id": 31,
          "item_number": "ERP-4588",
          "description": null,
          "note": "Approved substitute available",
          "approval_status": "approved",
          "updated_at": "2026-10-08T09:12:44Z"
        }
      ]
    }
  ]
}

team_items lists the team's items that use this part, preferred first, and is empty without team context. Each item has an approval_status of approved, qualification or blocked.

The deprecated team_part field was removed on 2026-10-24; read team_items instead.

Error Responses

  • 400: invalid filters (for example bad manufacturer_id)
  • 401: missing or invalid auth token
  • 500: internal error