Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.firstresonance.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Every run a specific part inventory has gone through, newest first. Use case group: Build Hardware

Query

query RunHistory($partInventoryId: Int!) {
  runs(
    filters: { partInventoryId: { eq: $partInventoryId } }
    orderBy: { _created: DESC }
    limit: 50
  ) {
    id
    title
    status
    _created
    completedAt
    procedure { id title revision }
  }
}

Variables

{ "partInventoryId": 9876 }

Sample response

{
  "data": {
    "runs": [
      { "id": 1234, "title": "Build #2026-04-26 Unit 1", "status": "complete", "_created": "2026-04-20T10:00:00Z", "completedAt": "2026-04-26T18:00:00Z", "procedure": { "id": 12, "title": "Bracket Assembly", "revision": "B" } }
    ]
  }
}

Notes

Useful for traceability reports and audits — the response is the full execution history of one physical unit.