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

Start a new run by binding a procedure to a part inventory. Use case group: Build Hardware

Mutation

mutation CreateRun($input: RunCreateInput!) {
  createRun(input: $input) {
    run {
      id
      title
      status
      procedure { id title }
      partInventory { id serialNumber }
    }
  }
}

Variables

{
  "input": {
    "procedureId": 12,
    "partInventoryId": 9876,
    "title": "Build #2026-04-26 Unit 1"
  }
}

Sample response

{
  "data": {
    "createRun": {
      "run": { "id": 1234, "title": "Build #2026-04-26 Unit 1", "status": "pending", "procedure": { "id": 12, "title": "Bracket Assembly" }, "partInventory": { "id": 9876, "serialNumber": "SN-00001" } }
    }
  }
}

Notes

ION instantiates run steps from the procedure’s steps automatically — the new run starts in pending.