Download OpenAPI specification:Download
HTTP/WebSocket front door for the MetaForge platform
Your account's approval settings, and the deployment's limits above them.
{- "allow_human_authority": true,
- "allow_release": true,
- "deployment": {
- "allow_human_authority": true,
- "allow_release": true,
- "approval_ttl_seconds": 0,
- "approvals_off": false,
- "hourly_caps": [
- { }
], - "max_mode": "string",
- "set_in": "the deployment's environment (METAFORGE_AUTO_APPROVE_MAX, ...)"
}, - "max_mode": "string",
- "modes": [
- "string"
], - "policy": {
- "account": "string",
- "allow_human_authority": true,
- "allow_release": true,
- "max_mode": "off",
- "updated_at": "string",
- "updated_by": ""
}
}Set your account's approval settings. A person's decision only.
The ceiling cannot be above the deployment's; turning delegation on where the deployment has it off is refused, so the person sees why.
Allow Human Authority (boolean) or Allow Human Authority (null) (Allow Human Authority) | |
Allow Release (boolean) or Allow Release (null) (Allow Release) | |
Max Mode (string) or Max Mode (null) (Max Mode) |
{- "allow_human_authority": true,
- "allow_release": true,
- "max_mode": "off"
}{- "allow_human_authority": true,
- "allow_release": true,
- "deployment": {
- "allow_human_authority": true,
- "allow_release": true,
- "approval_ttl_seconds": 0,
- "approvals_off": false,
- "hourly_caps": [
- { }
], - "max_mode": "string",
- "set_in": "the deployment's environment (METAFORGE_AUTO_APPROVE_MAX, ...)"
}, - "max_mode": "string",
- "modes": [
- "string"
], - "policy": {
- "account": "string",
- "allow_human_authority": true,
- "allow_release": true,
- "max_mode": "off",
- "updated_at": "string",
- "updated_by": ""
}
}Every approval, normalized. status=decided and all are the audit views.
| status | string (Status) Default: "pending" Enum: "pending" "decided" "all" |
Project Id (string) or Project Id (null) (Project Id) | |
Kind (string) or Kind (null) (Kind) |
{- "items": [
- {
- "allowed_decisions": [
- "approve"
], - "base_revision": "string",
- "created_at": "string",
- "deadline": "string",
- "decidable": false,
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "string",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "dashboard"
}, - "detail": { },
- "findings": [
- {
- "kind": "missing_deliverable",
- "message": "string",
- "severity": "error"
}
], - "id": "string",
- "kind": "gate",
- "not_decidable_reason": "string",
- "project_id": "string",
- "reason_held": "string",
- "reason_required_for": [
- "string"
], - "requested_by": "string",
- "requester": "string",
- "review": {
- "applied": "string",
- "applied_note": "string",
- "attempt": 0,
- "concerns": [
- "string"
], - "confidence": 0,
- "created_at": "string",
- "error": "string",
- "gate": "",
- "model": "",
- "model_source": "",
- "phase": "string",
- "reasons": "",
- "recommendation": "approve",
- "reviewer": "",
- "same_client": false,
- "source": "server",
- "to_phase": ""
}, - "rework_targets": [
- "string"
], - "route": "dashboard",
- "status": "pending",
- "summary": "",
- "title": "string"
}
], - "unscoped_count": 0
}{- "allowed_decisions": [
- "approve"
], - "base_revision": "string",
- "created_at": "string",
- "deadline": "string",
- "decidable": false,
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "string",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "dashboard"
}, - "detail": { },
- "findings": [
- {
- "kind": "missing_deliverable",
- "message": "string",
- "severity": "error"
}
], - "id": "string",
- "kind": "gate",
- "not_decidable_reason": "string",
- "project_id": "string",
- "reason_held": "string",
- "reason_required_for": [
- "string"
], - "requested_by": "string",
- "requester": "string",
- "review": {
- "applied": "string",
- "applied_note": "string",
- "attempt": 0,
- "concerns": [
- "string"
], - "confidence": 0,
- "created_at": "string",
- "error": "string",
- "gate": "",
- "model": "",
- "model_source": "",
- "phase": "string",
- "reasons": "",
- "recommendation": "approve",
- "reviewer": "",
- "same_client": false,
- "source": "server",
- "to_phase": ""
}, - "rework_targets": [
- "string"
], - "route": "dashboard",
- "status": "pending",
- "summary": "",
- "title": "string"
}Decide an approval of any kind.
The deciding human is the authenticated principal for every kind. A
reviewer or approved_by in the body is ignored and logged.
| approval_id required | string (Approval Id) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| decision required | string (Decision) Enum: "approve" "reject" "retry" "rework" |
| reason | string (Reason) <= 2000 characters Default: "" |
| to_phase | string (To Phase) <= 200 characters Default: "" |
| property name* additional property | any |
{- "base_revision": "string",
- "decision": "approve",
- "reason": "",
- "to_phase": ""
}{- "allowed_decisions": [
- "approve"
], - "base_revision": "string",
- "created_at": "string",
- "deadline": "string",
- "decidable": false,
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "string",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "dashboard"
}, - "detail": { },
- "findings": [
- {
- "kind": "missing_deliverable",
- "message": "string",
- "severity": "error"
}
], - "id": "string",
- "kind": "gate",
- "not_decidable_reason": "string",
- "project_id": "string",
- "reason_held": "string",
- "reason_required_for": [
- "string"
], - "requested_by": "string",
- "requester": "string",
- "review": {
- "applied": "string",
- "applied_note": "string",
- "attempt": 0,
- "concerns": [
- "string"
], - "confidence": 0,
- "created_at": "string",
- "error": "string",
- "gate": "",
- "model": "",
- "model_source": "",
- "phase": "string",
- "reasons": "",
- "recommendation": "approve",
- "reviewer": "",
- "same_client": false,
- "source": "server",
- "to_phase": ""
}, - "rework_targets": [
- "string"
], - "route": "dashboard",
- "status": "pending",
- "summary": "",
- "title": "string"
}Record a decision a person gave in the MCP client's chat.
Gates from flow.await_gate, and any pending item from
approvals.decide. The decision goes through the same
service.decide as a dashboard click, so a gate that is not ready
still cannot be approved, and retry and rework caps still apply. A held
tool call is decidable here whichever route asked it; the first decision
on it wins.
| approval_id required | string (Approval Id) |
Approver (string) or Approver (null) (Approver) | |
| approver_verified | boolean (Approver Verified) Default: false |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| decision required | string (Decision) Enum: "approve" "reject" "retry" "rework" |
| reason | string (Reason) <= 2000 characters Default: "" |
| to_phase | string (To Phase) <= 200 characters Default: "" |
{- "approver": "string",
- "approver_verified": false,
- "base_revision": "string",
- "decision": "approve",
- "reason": "",
- "to_phase": ""
}{- "allowed_decisions": [
- "approve"
], - "base_revision": "string",
- "created_at": "string",
- "deadline": "string",
- "decidable": false,
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "string",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "dashboard"
}, - "detail": { },
- "findings": [
- {
- "kind": "missing_deliverable",
- "message": "string",
- "severity": "error"
}
], - "id": "string",
- "kind": "gate",
- "not_decidable_reason": "string",
- "project_id": "string",
- "reason_held": "string",
- "reason_required_for": [
- "string"
], - "requested_by": "string",
- "requester": "string",
- "review": {
- "applied": "string",
- "applied_note": "string",
- "attempt": 0,
- "concerns": [
- "string"
], - "confidence": 0,
- "created_at": "string",
- "error": "string",
- "gate": "",
- "model": "",
- "model_source": "",
- "phase": "string",
- "reasons": "",
- "recommendation": "approve",
- "reviewer": "",
- "same_client": false,
- "source": "server",
- "to_phase": ""
}, - "rework_targets": [
- "string"
], - "route": "dashboard",
- "status": "pending",
- "summary": "",
- "title": "string"
}Who decides this project's gates and held writes right now, and why.
| project_id required | string (Project Id) |
{- "account_max_mode": "string",
- "delegation": {
- "property1": { },
- "property2": { }
}, - "deployment": {
- "allow_human_authority": true,
- "allow_release": true,
- "approval_ttl_seconds": 0,
- "approvals_off": false,
- "hourly_caps": [
- { }
], - "max_mode": "string",
- "set_in": "the deployment's environment (METAFORGE_AUTO_APPROVE_MAX, ...)"
}, - "effective_mode": "string",
- "limited_by": "string",
- "max_mode": "string",
- "modes": [
- "string"
], - "policy": {
- "account": "string",
- "allow_human_authority": true,
- "allow_release": true,
- "expires_at": "string",
- "extra": { },
- "mode": "off",
- "project_id": "string",
- "reviewer": "server",
- "reviewer_model": "",
- "updated_at": "string",
- "updated_by": ""
}
}Set who decides this project's gates. A person's decision only.
| project_id required | string (Project Id) |
Allow Human Authority (boolean) or Allow Human Authority (null) (Allow Human Authority) | |
Allow Release (boolean) or Allow Release (null) (Allow Release) | |
Expires In Hours (number) or Expires In Hours (null) (Expires In Hours) | |
| mode required | string (Mode) Enum: "off" "advise" "auto_clean" "auto" |
| reviewer | string (Reviewer) Default: "server" Enum: "server" "client" "client_then_server" |
| reviewer_model | string (Reviewer Model) <= 200 characters Default: "" |
{- "allow_human_authority": true,
- "allow_release": true,
- "expires_in_hours": 1,
- "mode": "off",
- "reviewer": "server",
- "reviewer_model": ""
}{- "account_max_mode": "string",
- "delegation": {
- "property1": { },
- "property2": { }
}, - "deployment": {
- "allow_human_authority": true,
- "allow_release": true,
- "approval_ttl_seconds": 0,
- "approvals_off": false,
- "hourly_caps": [
- { }
], - "max_mode": "string",
- "set_in": "the deployment's environment (METAFORGE_AUTO_APPROVE_MAX, ...)"
}, - "effective_mode": "string",
- "limited_by": "string",
- "max_mode": "string",
- "modes": [
- "string"
], - "policy": {
- "account": "string",
- "allow_human_authority": true,
- "allow_release": true,
- "expires_at": "string",
- "extra": { },
- "mode": "off",
- "project_id": "string",
- "reviewer": "server",
- "reviewer_model": "",
- "updated_at": "string",
- "updated_by": ""
}
}Review tasks, open ones by default, optionally for one project.
Project Id (string) or Project Id (null) (Project Id) | |
Status (string) or Status (null) (Status) Default: "open" |
[- {
- "attempt": 0,
- "brief": { },
- "cancel_reason": "string",
- "claimed_at": "string",
- "claimed_by": "string",
- "created_at": "string",
- "gate": "",
- "id": "string",
- "phase": "string",
- "project_id": "string",
- "requested_model": "",
- "run_id": "string",
- "status": "open",
- "submitted_at": "string"
}
]Open a review task for a gate (the design-flow worker's review step).
Attempt (integer) or Attempt (null) (Attempt) | |
object (Brief) | |
| gate | string (Gate) Default: "" |
| phase required | string (Phase) non-empty |
Project Id (string) or Project Id (null) (Project Id) | |
| requested_model | string (Requested Model) Default: "" |
| run_id required | string (Run Id) non-empty |
{- "attempt": 0,
- "brief": { },
- "gate": "",
- "phase": "string",
- "project_id": "string",
- "requested_model": "",
- "run_id": "string"
}{- "attempt": 0,
- "brief": { },
- "cancel_reason": "string",
- "claimed_at": "string",
- "claimed_by": "string",
- "created_at": "string",
- "gate": "",
- "id": "string",
- "phase": "string",
- "project_id": "string",
- "requested_model": "",
- "run_id": "string",
- "status": "open",
- "submitted_at": "string"
}{- "attempt": 0,
- "brief": { },
- "cancel_reason": "string",
- "claimed_at": "string",
- "claimed_by": "string",
- "created_at": "string",
- "gate": "",
- "id": "string",
- "phase": "string",
- "project_id": "string",
- "requested_model": "",
- "run_id": "string",
- "status": "open",
- "submitted_at": "string"
}| task_id required | string (Task Id) |
| reason | string (Reason) Default: "" |
{- "reason": ""
}{- "attempt": 0,
- "brief": { },
- "cancel_reason": "string",
- "claimed_at": "string",
- "claimed_by": "string",
- "created_at": "string",
- "gate": "",
- "id": "string",
- "phase": "string",
- "project_id": "string",
- "requested_model": "",
- "run_id": "string",
- "status": "open",
- "submitted_at": "string"
}Take a review task. Returns it with its brief.
| task_id required | string (Task Id) |
| client | string (Client) <= 200 characters Default: "client" |
{- "client": "client"
}{- "attempt": 0,
- "brief": { },
- "cancel_reason": "string",
- "claimed_at": "string",
- "claimed_by": "string",
- "created_at": "string",
- "gate": "",
- "id": "string",
- "phase": "string",
- "project_id": "string",
- "requested_model": "",
- "run_id": "string",
- "status": "open",
- "submitted_at": "string"
}Record the client reviewer's review on the gate, then close the task.
| task_id required | string (Task Id) |
| client | string (Client) <= 200 characters Default: "client" |
| concerns | Array of strings (Concerns) |
| confidence | number (Confidence) [ 0 .. 1 ] Default: 0 |
| model | string (Model) <= 200 characters Default: "" |
| reasons | string (Reasons) <= 4000 characters Default: "" |
| recommendation required | string (Recommendation) Enum: "approve" "retry" "rework" "reject" |
| to_phase | string (To Phase) Default: "" |
{- "client": "client",
- "concerns": [
- "string"
], - "confidence": 0,
- "model": "",
- "reasons": "",
- "recommendation": "approve",
- "to_phase": ""
}{ }Record a reviewer agent's note on the run's open gate.
Called by the design-flow worker's review step (or on behalf of a client
reviewer). The note is stored on the run and shown with the gate; the
project's approval policy then decides what, if anything, it does: in
off and advise nothing, in auto_clean and auto it may decide
the gate as reviewer:<source>:<model>, never as a person.
| run_id required | string (Run Id) |
Applied (string) or Applied (null) (Applied) | |
Applied Note (string) or Applied Note (null) (Applied Note) | |
Attempt (integer) or Attempt (null) (Attempt) | |
| concerns | Array of strings (Concerns) |
| confidence | number (Confidence) [ 0 .. 1 ] Default: 0 |
Created At (string) or Created At (null) (Created At) | |
Error (string) or Error (null) (Error) | |
| gate | string (Gate) Default: "" |
| model | string (Model) Default: "" |
| model_source | string (Model Source) Default: "" |
| phase required | string (Phase) |
| reasons | string (Reasons) Default: "" |
| recommendation required | string (Recommendation) Enum: "approve" "retry" "rework" "reject" "none" |
| reviewer | string (Reviewer) Default: "" |
| same_client | boolean (Same Client) Default: false |
| source | string (Source) Default: "server" Enum: "server" "client" |
| to_phase | string (To Phase) Default: "" |
{- "applied": "string",
- "applied_note": "string",
- "attempt": 0,
- "concerns": [
- "string"
], - "confidence": 0,
- "created_at": "string",
- "error": "string",
- "gate": "",
- "model": "",
- "model_source": "",
- "phase": "string",
- "reasons": "",
- "recommendation": "approve",
- "reviewer": "",
- "same_client": false,
- "source": "server",
- "to_phase": ""
}{- "applied": "string",
- "applied_note": "string",
- "attempt": 0,
- "concerns": [
- "string"
], - "confidence": 0,
- "created_at": "string",
- "error": "string",
- "gate": "",
- "model": "",
- "model_source": "",
- "phase": "string",
- "reasons": "",
- "recommendation": "approve",
- "reviewer": "",
- "same_client": false,
- "source": "server",
- "to_phase": ""
}List pending design-change proposals, optionally filtered by session/project.
Session Id (string) or Session Id (null) (Session Id) | |
Project Id (string) or Project Id (null) (Project Id) |
{- "proposals": [
- {
- "agent_code": "string",
- "change_id": "53a22efb-209d-4639-a6e7-7072a755c213",
- "created_at": "2019-08-24T14:15:22Z",
- "decided_at": "2019-08-24T14:15:22Z",
- "decision_agent": "string",
- "decision_on_behalf_of": "string",
- "decision_reason": "string",
- "decision_surface": "string",
- "description": "string",
- "diff": { },
- "project_id": "string",
- "requires_approval": true,
- "reviewer": "string",
- "reviewer_verified": false,
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "status": "pending",
- "work_products_affected": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
], - "total": 0
}Create a design-change proposal directly from a human.
Same underlying ApprovalWorkflow.propose_change an agent's
twin.propose_change MCP call uses — a human (e.g. via a dashboard
parameter panel) can submit one just as well, and it goes through the
identical review/apply pipeline (decide → apply executor).
| agent_code | string (Agent Code) non-empty Default: "human" Code identifying who/what is proposing the change |
| description required | string (Description) non-empty What the change does |
object (Diff) Structured diff (e.g. {'action': 'regenerate_geometry'}) | |
Project Id (string) or Project Id (null) (Project Id) | |
Session Id (string) or Session Id (null) (Session Id) | |
| work_products_affected | Array of strings <uuid> (Work Products Affected) [ items <uuid > ] |
{- "agent_code": "human",
- "description": "string",
- "diff": { },
- "project_id": "string",
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "work_products_affected": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "agent_code": "string",
- "change_id": "53a22efb-209d-4639-a6e7-7072a755c213",
- "created_at": "2019-08-24T14:15:22Z",
- "decided_at": "2019-08-24T14:15:22Z",
- "decision_agent": "string",
- "decision_on_behalf_of": "string",
- "decision_reason": "string",
- "decision_surface": "string",
- "description": "string",
- "diff": { },
- "project_id": "string",
- "requires_approval": true,
- "reviewer": "string",
- "reviewer_verified": false,
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "status": "pending",
- "work_products_affected": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Return a single design-change proposal.
| change_id required | string <uuid> (Change Id) |
{- "agent_code": "string",
- "change_id": "53a22efb-209d-4639-a6e7-7072a755c213",
- "created_at": "2019-08-24T14:15:22Z",
- "decided_at": "2019-08-24T14:15:22Z",
- "decision_agent": "string",
- "decision_on_behalf_of": "string",
- "decision_reason": "string",
- "decision_surface": "string",
- "description": "string",
- "diff": { },
- "project_id": "string",
- "requires_approval": true,
- "reviewer": "string",
- "reviewer_verified": false,
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "status": "pending",
- "work_products_affected": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Approve or reject a pending design-change proposal.
On approval, run the proposal's diff via the apply executor (if wired) so the change is actually applied to the twin (HITL: propose → approve → apply).
| change_id required | string <uuid> (Change Id) |
| change_id required | string <uuid> (Change Id) UUID of the proposal to decide on |
| decision required | string (ApprovalDecisionType) Enum: "approve" "reject" Approve or reject |
| reason required | string (Reason) non-empty Human-written justification for the decision |
| reviewer required | string (Reviewer) non-empty Identifier of the human reviewer |
{- "change_id": "53a22efb-209d-4639-a6e7-7072a755c213",
- "decision": "approve",
- "reason": "string",
- "reviewer": "string"
}{- "agent_code": "string",
- "change_id": "53a22efb-209d-4639-a6e7-7072a755c213",
- "created_at": "2019-08-24T14:15:22Z",
- "decided_at": "2019-08-24T14:15:22Z",
- "decision_agent": "string",
- "decision_on_behalf_of": "string",
- "decision_reason": "string",
- "decision_surface": "string",
- "description": "string",
- "diff": { },
- "project_id": "string",
- "requires_approval": true,
- "reviewer": "string",
- "reviewer_verified": false,
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "status": "pending",
- "work_products_affected": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Submit a request to an agent via the orchestrator.
Looks up the workflow definition for body.action, creates a
WorkflowRun, and dispatches it through the Scheduler.
| action required | string (Action) non-empty Agent action to perform (e.g. 'validate_stress', 'run_drc') |
object (Parameters) Action-specific parameters | |
| project_id required | string (Project Id) non-empty Project this request belongs to |
| prompt | string (Prompt) Default: "" Free-text prompt or description for generative actions (e.g. generate_cad) |
| session_id | string <uuid> (Session Id) Session ID for grouping related requests |
Target Id (string) or Target Id (null) (Target Id) UUID of the target work_product (optional for generative actions) |
{- "action": "string",
- "parameters": { },
- "project_id": "string",
- "prompt": "",
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9"
}{- "errors": [
- "string"
], - "request_id": "266ea41d-adf5-480b-af50-15b940c2b846",
- "result": { },
- "status": "string"
}List BOM components, optionally scoped to a project and/or filtered
by category (case-insensitive exact match against
BOMItem.specifications.category, e.g. category=fastener for a
fastener list, gap G-H2).
Empty ({components: [], total: 0}) when the project has no BOM — not a
404, so the dashboard renders a clean empty state.
Project Id (string) or Project Id (null) (Project Id) | |
Category (string) or Category (null) (Category) |
{- "components": [
- {
- "cadModelUrl": "string",
- "category": "string",
- "datasheetUrl": "string",
- "description": "string",
- "designator": "string",
- "footprint": "string",
- "id": "string",
- "imageUrl": "string",
- "manufacturer": "string",
- "partNumber": "string",
- "priceCurrency": "string",
- "projectId": "string",
- "purchaseUrl": "string",
- "quantity": 0,
- "selection": "candidate",
- "status": "available",
- "unitPrice": 0
}
], - "total": 0
}Derive the hierarchical BOM (EBOM) from every "product"-kind HierarchyNode's CONTAINS tree in a project.
Empty (not an error) when the project has no product hierarchy yet (the hierarchy tools haven't been used for it) -- matches the flat BOM's own convention.
Project Id (string) or Project Id (null) (Project Id) |
{- "lines": [
- {
- "componentId": "string",
- "description": "string",
- "hierarchyNodeId": "string",
- "manufacturer": "string",
- "partNumber": "string",
- "path": [
- "string"
], - "quantity": 0,
- "source": "string",
- "unitCost": 0
}
], - "total": 0
}{- "entries": [
- {
- "created_at": "string",
- "node_id": "string",
- "statement": "string",
- "steps": [
- {
- "base": "string",
- "follower": "string",
- "instruction": "string",
- "joint_name": "string",
- "joint_type": "string",
- "step_number": 0
}
], - "title": "string"
}
]
}Project Id (string) or Project Id (null) (Project Id) | |
| work_product_id required | string (Work Product Id) |
{- "project_id": "string",
- "work_product_id": "string"
}{- "node_id": "string",
- "statement": "string",
- "steps": [
- {
- "base": "string",
- "follower": "string",
- "instruction": "string",
- "joint_name": "string",
- "joint_type": "string",
- "step_number": 0
}
]
}| default_urdf_path required | string (Default Urdf Path) non-empty Default 'urdf_path' launch argument — e.g. a just-exported URDF's download_url. |
| include_joint_state_publisher_gui | boolean (Include Joint State Publisher Gui) Default: true |
| include_rviz | boolean (Include Rviz) Default: true |
| robot_name required | string (Robot Name) non-empty |
{- "default_urdf_path": "string",
- "include_joint_state_publisher_gui": true,
- "include_rviz": true,
- "robot_name": "string"
}{- "default_urdf_path": "string",
- "output_file": {
- "download_url": "string",
- "filename": "string"
}, - "robot_name": "string"
}Density Kg M3 (number) or Density Kg M3 (null) (Density Kg M3) | |
| link_name | string (Link Name) Default: "link" |
Material (string) or Material (null) (Material) | |
| mesh_format | string (Mesh Format) Default: "stl" Enum: "stl" "obj" |
| model_name | string (Model Name) Default: "model" |
| node_id required | string (Node Id) non-empty Twin work-product node id (STEP file). |
| static | boolean (Static) Default: false |
World Name (string) or World Name (null) (World Name) |
{- "density_kg_m3": 0,
- "link_name": "link",
- "material": "string",
- "mesh_format": "stl",
- "model_name": "model",
- "node_id": "string",
- "static": false,
- "world_name": "string"
}{- "center_of_mass_m": {
- "property1": 0,
- "property2": 0
}, - "density_kg_m3": 0,
- "inertia_kgm2": {
- "property1": 0,
- "property2": 0
}, - "link_name": "string",
- "mass_kg": 0,
- "mesh_file": {
- "download_url": "string",
- "filename": "string"
}, - "model_name": "string",
- "output_file": {
- "download_url": "string",
- "filename": "string"
}
}Array of objects (Joints) | |
| mesh_format | string (Mesh Format) Default: "stl" Enum: "stl" "obj" |
| model_name | string (Model Name) Default: "model" |
required | Array of objects (Parts) non-empty |
| persist | boolean (Persist) Default: true Commit this export as a robot_description Twin work product (default on). Set false to keep the earlier throwaway-only behavior. |
Persist Name (string) or Persist Name (null) (Persist Name) Work-product display name (default: ' | |
Project Id (string) or Project Id (null) (Project Id) Project to link the persisted work product to. | |
| static | boolean (Static) Default: false |
Update Node Id (string) or Update Node Id (null) (Update Node Id) An existing robot_description node's id — when given, this export replaces that node's content and records a new version instead of creating a new node. | |
World Name (string) or World Name (null) (World Name) |
{- "joints": [
- {
- "anchor": [
- 0,
- 0,
- 0
], - "axis": [
- 0,
- 0,
- 0
], - "base": "string",
- "follower": "string",
- "limits": {
- "property1": 0,
- "property2": 0
}, - "name": "string",
- "type": "fixed"
}
], - "mesh_format": "stl",
- "model_name": "model",
- "parts": [
- {
- "color_rgba": [
- 0,
- 0,
- 0,
- 0
], - "density_kg_m3": 0,
- "link_name": "string",
- "material": "string",
- "node_id": "string"
}
], - "persist": true,
- "persist_name": "string",
- "project_id": "string",
- "static": false,
- "update_node_id": "string",
- "world_name": "string"
}{- "joint_names": [
- "string"
], - "joints": [ ],
- "link_names": [
- "string"
], - "mesh_files": [
- {
- "download_url": "string",
- "filename": "string"
}
], - "model_name": "string",
- "output_file": {
- "download_url": "string",
- "filename": "string"
}, - "robot_description_node_id": "string"
}Density Kg M3 (number) or Density Kg M3 (null) (Density Kg M3) | |
| link_name | string (Link Name) Default: "base_link" |
Material (string) or Material (null) (Material) | |
| mesh_format | string (Mesh Format) Default: "stl" Enum: "stl" "obj" |
| mesh_uri_prefix | string (Mesh Uri Prefix) Default: "" |
| node_id required | string (Node Id) non-empty Twin work-product node id (STEP file). |
| xacro | boolean (Xacro) Default: false |
{- "density_kg_m3": 0,
- "link_name": "base_link",
- "material": "string",
- "mesh_format": "stl",
- "mesh_uri_prefix": "",
- "node_id": "string",
- "xacro": false
}{- "center_of_mass_m": {
- "property1": 0,
- "property2": 0
}, - "density_kg_m3": 0,
- "inertia_kgm2": {
- "property1": 0,
- "property2": 0
}, - "link_name": "string",
- "mass_kg": 0,
- "mesh_file": {
- "download_url": "string",
- "filename": "string"
}, - "output_file": {
- "download_url": "string",
- "filename": "string"
}
}Array of objects (Joints) | |
Mesh Angular Tolerance (number) or Mesh Angular Tolerance (null) (Mesh Angular Tolerance) Max angle (radians) between adjacent facet normals. Omit for OCCT's default. | |
| mesh_format | string (Mesh Format) Default: "stl" Enum: "stl" "obj" |
Mesh Tolerance (number) or Mesh Tolerance (null) (Mesh Tolerance) Max linear deviation (mm) between the tessellated mesh and the true CAD surface, applied to every part — smaller means more triangles on curves/fillets and less visible faceting. Omit to keep OCCT's default. | |
| mesh_uri_prefix | string (Mesh Uri Prefix) Default: "" |
required | Array of objects (Parts) non-empty |
| persist | boolean (Persist) Default: true Commit this export as a robot_description Twin work product (default on). Set false to keep the earlier throwaway-only behavior. |
Persist Name (string) or Persist Name (null) (Persist Name) Work-product display name (default: ' | |
Project Id (string) or Project Id (null) (Project Id) Project to link the persisted work product to. | |
| robot_name | string (Robot Name) Default: "robot" |
Update Node Id (string) or Update Node Id (null) (Update Node Id) An existing robot_description node's id — when given, this export replaces that node's content and records a new version instead of creating a new node. | |
| xacro | boolean (Xacro) Default: false |
{- "joints": [
- {
- "anchor": [
- 0,
- 0,
- 0
], - "axis": [
- 0,
- 0,
- 0
], - "base": "string",
- "follower": "string",
- "limits": {
- "property1": 0,
- "property2": 0
}, - "name": "string",
- "type": "fixed"
}
], - "mesh_angular_tolerance": 1,
- "mesh_format": "stl",
- "mesh_tolerance": 1,
- "mesh_uri_prefix": "",
- "parts": [
- {
- "color_rgba": [
- 0,
- 0,
- 0,
- 0
], - "density_kg_m3": 0,
- "link_name": "string",
- "material": "string",
- "node_id": "string"
}
], - "persist": true,
- "persist_name": "string",
- "project_id": "string",
- "robot_name": "robot",
- "update_node_id": "string",
- "xacro": false
}{- "joint_names": [
- "string"
], - "joints": [ ],
- "link_names": [
- "string"
], - "mesh_files": [
- {
- "download_url": "string",
- "filename": "string"
}
], - "output_file": {
- "download_url": "string",
- "filename": "string"
}, - "robot_description_node_id": "string",
- "robot_name": "string"
}Density Kg M3 (number) or Density Kg M3 (null) (Density Kg M3) | |
Material (string) or Material (null) (Material) | |
| node_id required | string (Node Id) non-empty Twin work-product node id (STEP file). |
| prim_name | string (Prim Name) Default: "model" |
{- "density_kg_m3": 0,
- "material": "string",
- "node_id": "string",
- "prim_name": "model"
}{- "center_of_mass_m": {
- "property1": 0,
- "property2": 0
}, - "density_kg_m3": 0,
- "inertia_kgm2": {
- "property1": 0,
- "property2": 0
}, - "mass_kg": 0,
- "mesh_file": {
- "download_url": "string",
- "filename": "string"
}, - "output_file": {
- "download_url": "string",
- "filename": "string"
}, - "prim_name": "string",
- "triangle_count": 0
}Array of objects (Joints) | |
required | Array of objects (Parts) non-empty |
| persist | boolean (Persist) Default: true Commit this export as a robot_description Twin work product (default on). Set false to keep the earlier throwaway-only behavior. |
Persist Name (string) or Persist Name (null) (Persist Name) Work-product display name (default: ' | |
Project Id (string) or Project Id (null) (Project Id) Project to link the persisted work product to. | |
| robot_name | string (Robot Name) Default: "robot" |
Update Node Id (string) or Update Node Id (null) (Update Node Id) An existing robot_description node's id — when given, this export replaces that node's content and records a new version instead of creating a new node. |
{- "joints": [
- {
- "anchor": [
- 0,
- 0,
- 0
], - "axis": [
- 0,
- 0,
- 0
], - "base": "string",
- "follower": "string",
- "limits": {
- "property1": 0,
- "property2": 0
}, - "name": "string",
- "type": "fixed"
}
], - "parts": [
- {
- "color_rgba": [
- 0,
- 0,
- 0,
- 0
], - "density_kg_m3": 0,
- "link_name": "string",
- "material": "string",
- "node_id": "string"
}
], - "persist": true,
- "persist_name": "string",
- "project_id": "string",
- "robot_name": "robot",
- "update_node_id": "string"
}{- "joint_names": [
- "string"
], - "joints": [ ],
- "link_names": [
- "string"
], - "mesh_files": [
- {
- "download_url": "string",
- "filename": "string"
}
], - "output_file": {
- "download_url": "string",
- "filename": "string"
}, - "robot_description_node_id": "string",
- "robot_name": "string"
}Author + commit a multi-part assembly from a declarative spec.
| name required | string (Name) non-empty Assembly name. |
required | Array of objects (Parts) non-empty Parts to author + assemble. |
Project Id (string) or Project Id (null) (Project Id) Project to scope the cad_model to. |
{- "name": "string",
- "parts": [
- {
- "chamfer": 1,
- "fillet": 1,
- "holes": [
- {
- "depth": 0,
- "diameter": 1,
- "x": 0,
- "y": 0
}
], - "kind": "box",
- "name": "string",
- "parameters": {
- "property1": 0,
- "property2": 0
}, - "position": [
- 0
]
}
], - "project_id": "string"
}{- "content_hash": "string",
- "minio_object_key": "string",
- "model_url": "string",
- "node_id": "string",
- "part_count": 0
}Compile a description into a spec and check it — but do NOT build (dry run).
Returns the spec for review plus any geometric-feasibility warnings, so the
caller can tweak it (or save it and run /assembly) before committing.
| description required | string (Description) non-empty Plain-English description. |
Model (string) or Model (null) (Model) LLM model override. | |
Name (string) or Name (null) (Name) Override the assembly name. | |
Provider (string) or Provider (null) (Provider) LLM provider override. |
{- "description": "string",
- "model": "string",
- "name": "string",
- "provider": "string"
}{- "buildable": true,
- "errors": [
- "string"
], - "spec": {
- "name": "string",
- "parts": [
- {
- "chamfer": 1,
- "fillet": 1,
- "holes": [
- {
- "depth": 0,
- "diameter": 1,
- "x": 0,
- "y": 0
}
], - "kind": "box",
- "name": "string",
- "parameters": {
- "property1": 0,
- "property2": 0
}, - "position": [
- 0
]
}
], - "project_id": "string"
}
}Compile a plain-English description into a spec (LLM), then build it.
The LLM only produces the small declarative spec — the geometry itself is
authored deterministically by the same builder as /assembly, so the
output is reproducible and the spec is returned for review.
| description required | string (Description) non-empty Plain-English description of the part/assembly. |
Model (string) or Model (null) (Model) LLM model override for translation. | |
Name (string) or Name (null) (Name) Override the assembly name (else the model chooses one). | |
Project Id (string) or Project Id (null) (Project Id) Project to scope the cad_model to. | |
Provider (string) or Provider (null) (Provider) LLM provider override for translation. |
{- "description": "string",
- "model": "string",
- "name": "string",
- "project_id": "string",
- "provider": "string"
}{- "content_hash": "string",
- "minio_object_key": "string",
- "model_url": "string",
- "node_id": "string",
- "part_count": 0,
- "spec": {
- "name": "string",
- "parts": [
- {
- "chamfer": 1,
- "fillet": 1,
- "holes": [
- {
- "depth": 0,
- "diameter": 1,
- "x": 0,
- "y": 0
}
], - "kind": "box",
- "name": "string",
- "parameters": {
- "property1": 0,
- "property2": 0
}, - "position": [
- 0
]
}
], - "project_id": "string"
}
}List threads with optional filtering and pagination.
Channel Id (string) or Channel Id (null) (Channel Id) Filter by channel ID | |
Scope Kind (string) or Scope Kind (null) (Scope Kind) Filter by scope kind | |
Entity Id (string) or Entity Id (null) (Entity Id) Filter by scope entity ID | |
| include_archived | boolean (Include Archived) Default: false Include archived threads |
| page | integer (Page) >= 1 Default: 1 Page number (1-indexed) |
| per_page | integer (Per Page) [ 1 .. 100 ] Default: 20 Results per page |
{- "page": 0,
- "per_page": 0,
- "threads": [
- {
- "archived": true,
- "channel_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "last_message_at": "2019-08-24T14:15:22Z",
- "message_count": 0,
- "scope_entity_id": "string",
- "scope_kind": "string",
- "title": "string"
}
], - "total": 0
}Create a new thread, optionally with an initial message.
Initial Message (string) or Initial Message (null) (Initial Message) If provided, a first message is created automatically | |
| scope_entity_id required | string (Scope Entity Id) ID of the scoped entity |
| scope_kind required | string (Scope Kind) Scope type (session, approval, bom-entry, ...) |
Title (string) or Title (null) (Title) Optional thread title |
{- "initial_message": "string",
- "scope_entity_id": "string",
- "scope_kind": "string",
- "title": "string"
}{- "archived": true,
- "channel_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "last_message_at": "2019-08-24T14:15:22Z",
- "messages": [
- {
- "actor_id": "string",
- "actor_kind": "string",
- "blocks": [
- {
- "multiple": false,
- "options": [
- {
- "description": "string",
- "label": "string",
- "value": "string"
}, - {
- "description": "string",
- "label": "string",
- "value": "string"
}
], - "prompt": "string",
- "type": "choice"
}
], - "classification": {
- "also": [
- "appearance"
], - "appearance": {
- "colour": "string",
- "colour_name": "string",
- "finish": "string",
- "render_material": "string",
- "texture_refs": [
- "string"
]
}, - "change_class": "appearance",
- "choices": [
- "string"
], - "confidence": 0,
- "handling": "string",
- "message": "string",
- "proposed_context_update": { },
- "signals": [
- "string"
], - "stage": "rules",
- "stated_dimensions": [
- "string"
], - "target_component": "string",
- "target_component_id": "string",
- "target_feature": "string"
}, - "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "graph_ref_label": "string",
- "graph_ref_node": "string",
- "graph_ref_type": "string",
- "id": "string",
- "operation_id": "string",
- "status": "string",
- "thread_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "scope_entity_id": "string",
- "scope_kind": "string",
- "title": "string"
}Return a single thread with all its messages.
| thread_id required | string (Thread Id) |
{- "archived": true,
- "channel_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "last_message_at": "2019-08-24T14:15:22Z",
- "messages": [
- {
- "actor_id": "string",
- "actor_kind": "string",
- "blocks": [
- {
- "multiple": false,
- "options": [
- {
- "description": "string",
- "label": "string",
- "value": "string"
}, - {
- "description": "string",
- "label": "string",
- "value": "string"
}
], - "prompt": "string",
- "type": "choice"
}
], - "classification": {
- "also": [
- "appearance"
], - "appearance": {
- "colour": "string",
- "colour_name": "string",
- "finish": "string",
- "render_material": "string",
- "texture_refs": [
- "string"
]
}, - "change_class": "appearance",
- "choices": [
- "string"
], - "confidence": 0,
- "handling": "string",
- "message": "string",
- "proposed_context_update": { },
- "signals": [
- "string"
], - "stage": "rules",
- "stated_dimensions": [
- "string"
], - "target_component": "string",
- "target_component_id": "string",
- "target_feature": "string"
}, - "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "graph_ref_label": "string",
- "graph_ref_node": "string",
- "graph_ref_type": "string",
- "id": "string",
- "operation_id": "string",
- "status": "string",
- "thread_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "scope_entity_id": "string",
- "scope_kind": "string",
- "title": "string"
}Append a message to an existing thread.
After persisting the user message, the handler routes it to the appropriate domain agent (when an LLM is configured). The agent's response is inserted into the thread automatically.
| thread_id required | string (Thread Id) |
| actor_id required | string (Actor Id) ID of the actor sending the message |
| actor_kind required | string (Actor Kind) Actor type: user | agent | system |
Client Turn Id (string) or Client Turn Id (null) (Client Turn Id) Client-chosen turn id; the turn's operation is chat: | |
| content required | string (Content) non-empty Message content |
Create Stage (string) or Create Stage (null) (Create Stage) Create view stage of a design turn. When set, the gateway uses that stage's tool set and ignores | |
Graph Ref Label (string) or Graph Ref Label (null) (Graph Ref Label) Digital-twin ref label | |
Graph Ref Node (string) or Graph Ref Node (null) (Graph Ref Node) Digital-twin node reference | |
Graph Ref Type (string) or Graph Ref Type (null) (Graph Ref Type) Digital-twin ref type | |
Model (string) or Model (null) (Model) Override model for this turn | |
Provider (string) or Provider (null) (Provider) Override provider id for this turn | |
Array of Tools (strings) or Tools (null) (Tools) Enabled MCP tool ids for this turn (None = all available) |
{- "actor_id": "string",
- "actor_kind": "string",
- "client_turn_id": "string",
- "content": "string",
- "create_stage": "imagine",
- "graph_ref_label": "string",
- "graph_ref_node": "string",
- "graph_ref_type": "string",
- "model": "string",
- "provider": "string",
- "tools": [
- "string"
]
}{- "actor_id": "string",
- "actor_kind": "string",
- "blocks": [
- {
- "multiple": false,
- "options": [
- {
- "description": "string",
- "label": "string",
- "value": "string"
}, - {
- "description": "string",
- "label": "string",
- "value": "string"
}
], - "prompt": "string",
- "type": "choice"
}
], - "classification": {
- "also": [
- "appearance"
], - "appearance": {
- "colour": "string",
- "colour_name": "string",
- "finish": "string",
- "render_material": "string",
- "texture_refs": [
- "string"
]
}, - "change_class": "appearance",
- "choices": [
- "string"
], - "confidence": 0,
- "handling": "string",
- "message": "string",
- "proposed_context_update": { },
- "signals": [
- "string"
], - "stage": "rules",
- "stated_dimensions": [
- "string"
], - "target_component": "string",
- "target_component_id": "string",
- "target_feature": "string"
}, - "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "graph_ref_label": "string",
- "graph_ref_node": "string",
- "graph_ref_type": "string",
- "id": "string",
- "operation_id": "string",
- "status": "string",
- "thread_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}Rescope an EXISTING thread in place.
Unlike POST /threads, this preserves the conversation — the same
thread continues, and its next turn's project brief (if scoped to a
project) reflects the new scope. The agent-callable chat.set_project_scope
native tool goes through the same apply_thread_scope helper, so a human
hitting this endpoint and the agent switching scope mid-turn behave
identically and both broadcast the same scope.changed SSE event.
| thread_id required | string (Thread Id) |
| scope_entity_id required | string (Scope Entity Id) ID of the scoped entity |
| scope_kind required | string (Scope Kind) Scope type (session, approval, project, ...) |
{- "scope_entity_id": "string",
- "scope_kind": "string"
}{- "archived": true,
- "channel_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "last_message_at": "2019-08-24T14:15:22Z",
- "messages": [
- {
- "actor_id": "string",
- "actor_kind": "string",
- "blocks": [
- {
- "multiple": false,
- "options": [
- {
- "description": "string",
- "label": "string",
- "value": "string"
}, - {
- "description": "string",
- "label": "string",
- "value": "string"
}
], - "prompt": "string",
- "type": "choice"
}
], - "classification": {
- "also": [
- "appearance"
], - "appearance": {
- "colour": "string",
- "colour_name": "string",
- "finish": "string",
- "render_material": "string",
- "texture_refs": [
- "string"
]
}, - "change_class": "appearance",
- "choices": [
- "string"
], - "confidence": 0,
- "handling": "string",
- "message": "string",
- "proposed_context_update": { },
- "signals": [
- "string"
], - "stage": "rules",
- "stated_dimensions": [
- "string"
], - "target_component": "string",
- "target_component_id": "string",
- "target_feature": "string"
}, - "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "graph_ref_label": "string",
- "graph_ref_node": "string",
- "graph_ref_type": "string",
- "id": "string",
- "operation_id": "string",
- "status": "string",
- "thread_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "scope_entity_id": "string",
- "scope_kind": "string",
- "title": "string"
}Stream real-time events for a chat thread via Server-Sent Events.
The client receives events as they occur:
message.created -- a new message was addedagent.typing -- an agent is processingcontext.stats -- the turn's context-window snapshot: tokens used vs.
the model's window, broken down by system prompt / project brief / history /
tool schemas / message, with included-vs-available counts (harness turns)agent.step -- one reasoning/tool-call step in the agent's tracemessage.delta -- one token/chunk of the streaming answeragent.done -- an agent finishederror -- an error occurredThe connection stays open until the client disconnects or the server closes the stream.
| thread_id required | string (Thread Id) |
nullTool-call approvals: the ones awaiting a decision, or every one.
Overdue holds are expired first, so nothing listed as pending is a call
whose waiter has already given up. status=all is the audit
view: every entry whichever route answered it, each carrying
its route, outcome and approver.
project_id scopes the queue. Unscoped before, so a reviewer working
on one project saw every project's held writes in one list -- and a held
write names a tool and a caller, not a product, so there was no way to
tell from the row which one it belonged to. Approvals whose tool call
carried no project are counted rather than dropped: an approval that
quietly disappears is the one nobody answers.
| status | string (Status) Default: "pending" Enum: "pending" "all" |
Project Id (string) or Project Id (null) (Project Id) |
{- "runs": [
- {
- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}
], - "unscoped_count": 0
}Create a held approval and return it.
This exists because the approval store is process-level (an
InMemoryRunStore in this process), and the MCP sidecar is a
different process. A sidecar used to hold calls only in
its own memory, where the dashboard — served from here — would never see
them. So the sidecar parks them here instead, and there is exactly one
ledger rather than one per process.
A second store would have been the more obvious fix and the wrong one: two queues means a reviewer clearing one while the other fills, and no page that shows both.
With an approval_key the hold is a durable approval: a
live one with the same key is returned rather than a second opened.
requested_by follows :func:~api_gateway.auth.approver.requester_from_request.
Approval Key (string) or Approval Key (null) (Approval Key) | |
object (Arguments) | |
Arguments Hash (string) or Arguments Hash (null) (Arguments Hash) | |
| caller | string (Caller) Default: "untrusted" |
Client (string) or Client (null) (Client) | |
Project (string) or Project (null) (Project) | |
| reason required | string (Reason) |
Requested By (string) or Requested By (null) (Requested By) | |
| route | string (Route) Default: "dashboard" Enum: "dashboard" "elicitation" |
Session Id (string) or Session Id (null) (Session Id) | |
| source | string (Source) Default: "mcp" |
Timeout Seconds (number) or Timeout Seconds (null) (Timeout Seconds) | |
| tool required | string (Tool) |
{- "approval_key": "string",
- "arguments": { },
- "arguments_hash": "string",
- "caller": "untrusted",
- "client": "string",
- "project": "string",
- "reason": "string",
- "requested_by": "string",
- "route": "dashboard",
- "session_id": "string",
- "source": "mcp",
- "timeout_seconds": 1,
- "tool": "string"
}{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}The live durable hold for a key: pending, or decided and not yet used.
| approval_key required | string (Approval Key) |
{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}Record a human-authority call an agent decided for a person.
The MCP server calls this instead of holding the call on a client prompt
when the owner delegates human authority and the agent named itself and
the person. A claim of approver_verified stands only when this request
is authenticated, as for an inline answer.
| agent required | string (Agent) [ 1 .. 100 ] characters |
Approval Key (string) or Approval Key (null) (Approval Key) | |
| approver required | string (Approver) [ 1 .. 200 ] characters |
| approver_verified | boolean (Approver Verified) Default: false |
object (Arguments) | |
Arguments Hash (string) or Arguments Hash (null) (Arguments Hash) | |
| caller | string (Caller) Default: "untrusted" |
Client (string) or Client (null) (Client) | |
| on_behalf_of required | string (On Behalf Of) [ 1 .. 200 ] characters |
Project (string) or Project (null) (Project) | |
Requested By (string) or Requested By (null) (Requested By) | |
Session Id (string) or Session Id (null) (Session Id) | |
| tool required | string (Tool) |
{- "agent": "string",
- "approval_key": "string",
- "approver": "string",
- "approver_verified": false,
- "arguments": { },
- "arguments_hash": "string",
- "caller": "untrusted",
- "client": "string",
- "on_behalf_of": "string",
- "project": "string",
- "requested_by": "string",
- "session_id": "string",
- "tool": "string"
}{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}Approve a held call the project's policy covers, or say it does not.
A phase.claim on an open task of the project's own client-mode run
under an auto policy is covered (see
:mod:api_gateway.approvals.claim_policy), approved by
policy:auto:<who set it>. Any other held write is decided by
:mod:api_gateway.approvals.tool_write_policy, approved by
policy:<mode>:<project>. A covered call is written to the ledger like
any other, on route policy; anything else records nothing and the
caller holds it for a person as before.
requested_by follows :func:~api_gateway.auth.approver.requester_from_request.
Approval Key (string) or Approval Key (null) (Approval Key) | |
object (Arguments) | |
Arguments Hash (string) or Arguments Hash (null) (Arguments Hash) | |
| caller | string (Caller) Default: "untrusted" |
Client (string) or Client (null) (Client) | |
Project (string) or Project (null) (Project) | |
Requested By (string) or Requested By (null) (Requested By) | |
Session Id (string) or Session Id (null) (Session Id) | |
| tool required | string (Tool) |
{- "approval_key": "string",
- "arguments": { },
- "arguments_hash": "string",
- "caller": "untrusted",
- "client": "string",
- "project": "string",
- "requested_by": "string",
- "session_id": "string",
- "tool": "string"
}{- "approved": true,
- "approved_by": "string",
- "cap_held": false,
- "id": "string",
- "mode": "string",
- "reason": "string"
}{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}Record the decision, attributed to whoever made this request.
The identity comes from the request, not the body. A client cannot nominate the approver, which is the whole point: some tools write the approver's name down as their result.
| run_id required | string (Run Id) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| decision required | string (Decision) Enum: "approve" "reject" "retry" "rework" |
| reason | string (Reason) <= 2000 characters Default: "" |
| to_phase | string (To Phase) <= 200 characters Default: "" |
{- "base_revision": "string",
- "decision": "approve",
- "reason": "",
- "to_phase": ""
}{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}Mark a decided durable hold used: one approval runs one call.
| run_id required | string (Run Id) |
| retry | boolean (Retry) Default: false |
{- "retry": false
}{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}The waiting side stopped waiting: close the hold so nobody answers it.
Idempotent. A hold already timed_out or canceled comes back as it
is with 200, so a retry after a lost response is harmless. A hold a human
already decided is 409: the waiter must read the decision back rather
than overwrite it, because an approval that landed in the last instant is
still an approval.
| run_id required | string (Run Id) |
Approver (string) or Approver (null) (Approver) | |
| approver_verified | boolean (Approver Verified) Default: false |
| outcome required | string (Outcome) Enum: "timed_out" "canceled" "approved" "rejected" |
Reason (string) or Reason (null) (Reason) |
{- "approver": "string",
- "approver_verified": false,
- "outcome": "timed_out",
- "reason": "string"
}{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}Tasks, open ones by default. status=all lists every state.
Status (string) or Status (null) (Status) Default: "open" | |
Project Id (string) or Project Id (null) (Project Id) | |
Run Id (string) or Run Id (null) (Run Id) |
{ }Post a phase for the client. Idempotent on run:phase:attempt[.r<cycle>].
| attempt | integer (Attempt) Default: 1 |
object (Brief) | |
| phaseId required | string (Phaseid) |
Projectid (string) or Projectid (null) (Projectid) | |
| reworkCycle | integer (Reworkcycle) >= 0 Default: 0 |
| runId required | string (Runid) |
{- "attempt": 1,
- "brief": { },
- "phaseId": "string",
- "projectId": "string",
- "reworkCycle": 0,
- "runId": "string"
}{ }Withdraw a task nobody will wait on any more (the worker's activity ended).
| task_id required | string (Task Id) |
| reason | string (Reason) Default: "" |
{- "reason": ""
}{ }Take a task and get its full brief.
| task_id required | string (Task Id) |
| client | string (Client) Default: "" |
{- "client": ""
}{ }Hand the phase back. The run's gate then checks the twin as usual.
| task_id required | string (Task Id) |
| artifacts | Array of strings (Artifacts) |
| client | string (Client) Default: "" |
| outcome | string (Outcome) Default: "complete" Enum: "complete" "incomplete" |
| summary required | string (Summary) |
{- "artifacts": [
- "string"
], - "client": "",
- "outcome": "complete",
- "summary": "string"
}{ }Generate a compliance checklist for the given project and markets.
Markets are provided as a comma-separated query parameter, e.g.
?markets=UKCA,CE,FCC.
| project_id required | string (Project Id) |
| markets | string (Markets) Default: "UKCA,CE" Comma-separated regime codes |
{- "coverage_percent": 0,
- "evidenced_items": 0,
- "items": [
- { }
], - "project_id": "string",
- "target_markets": [
- "string"
], - "total_items": 0
}Link a piece of evidence to a compliance checklist item.
| project_id required | string (Project Id) |
| checklist_item_id required | string (Checklist Item Id) Checklist item ID to link to |
| description | string (Description) Default: "" Evidence description |
| evidence_type required | string (EvidenceType) Enum: "TEST_REPORT" "DECLARATION" "CERTIFICATE" "TECHNICAL_FILE" "RISK_ASSESSMENT" Type of evidence |
| title required | string (Title) Evidence title |
Work Product Id (string) or Work Product Id (null) (Work Product Id) WorkProduct UUID |
{- "checklist_item_id": "string",
- "description": "",
- "evidence_type": "TEST_REPORT",
- "title": "string",
- "work_product_id": "224aa6cf-be77-49ce-9c79-b3b38dfd40f4"
}{- "checklist_item_id": "string",
- "description": "string",
- "evidence_type": "string",
- "id": "string",
- "status": "string",
- "title": "string",
- "uploaded_at": "string"
}Retrieve all evidence records for a checklist item.
| project_id required | string (Project Id) |
| item_id required | string (Item Id) |
[- {
- "checklist_item_id": "string",
- "description": "string",
- "evidence_type": "string",
- "id": "string",
- "status": "string",
- "title": "string",
- "uploaded_at": "string"
}
]required | Array of objects (Candidates) |
| category required | string (Category) |
Projectid (string) or Projectid (null) (Projectid) | |
| purchaseUnit required | string (Purchaseunit) |
| quantity | integer (Quantity) Default: 1 |
| rationale required | string (Rationale) |
required | object (Requiredspecs) |
Array of Requirementids (strings) or Requirementids (null) (Requirementids) | |
| selectedMpn required | string (Selectedmpn) |
| title required | string (Title) |
{- "candidates": [
- {
- "manufacturer": "string",
- "mpn": "string",
- "specs": { }
}
], - "category": "string",
- "projectId": "string",
- "purchaseUnit": "string",
- "quantity": 1,
- "rationale": "string",
- "requiredSpecs": {
- "property1": {
- "op": "string",
- "value": 0
}, - "property2": {
- "op": "string",
- "value": 0
}
}, - "requirementIds": [
- "string"
], - "selectedMpn": "string",
- "title": "string"
}{ }Turn a drag delta into a parametric constraint, and — when the dragged
group maps to a live FreeCAD session object (session_id + obj_id) —
bind it into the model so Apply re-parameterizes and re-solves.
Without a session/object it stays a suggestion-only stub. Binding
is best-effort: an adapter error leaves the suggestion intact with
bound=False and a binding_error.
required | object (DeltaTransform) Delta of a dragged group: translation (mm), or, additively, a single-axis rotation or scale. Exactly one kind is populated per request, matching whichever gizmo mode produced it on the client. |
| group_name required | string (Group Name) non-empty |
Obj Id (string) or Obj Id (null) (Obj Id) | |
Property Path (string) or Property Path (null) (Property Path) | |
Session Id (string) or Session Id (null) (Session Id) |
{- "delta": {
- "dx": 0,
- "dy": 0,
- "dz": 0,
- "rotation": {
- "angle_deg": 0,
- "axis": "x"
}, - "scale": {
- "axis": "x",
- "factor": 0
}
}, - "group_name": "string",
- "obj_id": "string",
- "property_path": "string",
- "session_id": "string"
}{- "binding_error": "string",
- "bound": false,
- "conflict_reason": "string",
- "constraint": {
- "parameter": "string",
- "unit": "mm",
- "value": 0
}, - "expression": "string",
- "status": "ok",
- "suggestion": "string"
}| work_product_id required | string (Work Product Id) |
| requirement_mm | number (Requirement Mm) Default: 0.5 |
End Effector Part (string) or End Effector Part (null) (End Effector Part) |
{- "contributions": [
- {
- "actuator": "string",
- "contribution_mm": 0,
- "jacobian_mm_per_rad": 0,
- "joint_name": "string",
- "resolution_rad": 0,
- "source": "string"
}
], - "passes": true,
- "requirement_mm": 0,
- "target_part": "string",
- "warnings": [
- "string"
], - "work_product_id": "string",
- "worst_case_repeatability_mm": 0
}Upload a STEP/IGES file and convert to GLB.
Returns the conversion result with a URL to the GLB file and metadata. Results are cached by content hash — re-uploading the same file is instant.
| quality | string (Quality) ^(preview|standard|fine)$ Default: "standard" |
| file required | string <application/octet-stream> (File) STEP or IGES CAD file |
{- "cached": true,
- "glb_url": "string",
- "hash": "string",
- "metadata": { }
}Retrieve a cached conversion result by content hash.
| file_hash required | string (File Hash) |
| quality | string (Quality) ^(preview|standard|fine)$ Default: "standard" |
{- "cached": true,
- "glb_url": "string",
- "hash": "string",
- "metadata": { }
}The creation's records and where it stands.
| project_id required | string (Project Id) |
{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}Replace the brief: items, measurements, assumptions and references.
| project_id required | string (Project Id) |
required | object (Brief) |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "expected_version": 0,
- "summary": ""
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}Prepare a manufacturing attempt of one exact revision.
| project_id required | string (Project Id) |
object (Estimates) | |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
Machine Id (string) or Machine Id (null) (Machine Id) | |
Material (string) or Material (null) (Material) | |
Process (string) or Process (null) (Process) | |
required | object (Revision) The exact design a build makes: a work product and, when known, its version. |
object (Settings) | |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "expected_version": 0,
- "machine_id": "string",
- "material": "string",
- "process": "string",
- "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "settings": {
- "property1": "string",
- "property2": "string"
}, - "summary": ""
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}Change a prepared build. A released one keeps its instructions: prepare a new one.
| project_id required | string (Project Id) |
| build_id required | string (Build Id) |
Estimates (object) or Estimates (null) (Estimates) | |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
Machine Id (string) or Machine Id (null) (Machine Id) | |
Material (string) or Material (null) (Material) | |
Process (string) or Process (null) (Process) | |
Revision (object) or null | |
Settings (object) or Settings (null) (Settings) | |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "expected_version": 0,
- "machine_id": "string",
- "material": "string",
- "process": "string",
- "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "settings": {
- "property1": "string",
- "property2": "string"
}, - "summary": ""
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}A person accepts or rejects a finished build. Completion is not acceptance.
| project_id required | string (Project Id) |
| build_id required | string (Build Id) |
| decision required | string (Decision) ^(accept|reject)$ |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
| limitations | Array of strings (Limitations) |
| reason | string (Reason) <= 2000 characters Default: "" |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "decision": "string",
- "expected_version": 0,
- "limitations": [
- "string"
], - "reason": "",
- "summary": ""
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}Attach a photo, measurement, telemetry reading or note to a build.
| project_id required | string (Project Id) |
| build_id required | string (Build Id) |
Check Id (string) or Check Id (null) (Check Id) | |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
| kind required | string (Kind) Enum: "photo" "measurement" "telemetry" "note" |
| note | string (Note) <= 2000 characters Default: "" |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
Unit (string) or Unit (null) (Unit) | |
Upload Id (string) or Upload Id (null) (Upload Id) | |
Value (number) or Value (null) (Value) | |
Work Product Id (string) or Work Product Id (null) (Work Product Id) |
{- "check_id": "string",
- "expected_version": 0,
- "kind": "photo",
- "note": "",
- "summary": "",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}A person releases this exact revision for making; starting a machine is separate.
| project_id required | string (Project Id) |
| build_id required | string (Build Id) |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "expected_version": 0,
- "summary": ""
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}Record one check's outcome. A check a person reviews cannot be passed by an agent.
| project_id required | string (Project Id) |
| build_id required | string (Build Id) |
| check_id required | string (Check Id) |
Confidence (number) or Confidence (null) (Confidence) | |
| evidence_ids | Array of strings (Evidence Ids) |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
| note | string (Note) <= 2000 characters Default: "" |
| status required | string (Status) Enum: "passed" "failed" "inconclusive" "awaiting_review" |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "confidence": 0,
- "evidence_ids": [
- "string"
], - "expected_version": 0,
- "note": "",
- "status": "passed",
- "summary": ""
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}Record that a released build started, finished, failed or was cancelled.
| project_id required | string (Project Id) |
| build_id required | string (Build Id) |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
| note | string (Note) <= 1000 characters Default: "" |
| status required | string (Status) Enum: "preparing" "released" "making" "completed" "failed" "cancelled" |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "expected_version": 0,
- "note": "",
- "status": "preparing",
- "summary": ""
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}A new project with this creation's brief, route and inspection plan; no builds.
| project_id required | string (Project Id) |
| name required | string (Name) [ 1 .. 200 ] characters |
{- "name": "string"
}{- "name": "string",
- "project_id": "string"
}Replace the inspection plan. A released build keeps the checks it was released with.
| project_id required | string (Project Id) |
Array of objects (Checks) <= 100 items | |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "expected_version": 0,
- "summary": ""
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}Set a reference's role, associations, inclusion or protected features.
Each change is a version in the reference's history. Two authoritative references that now state different values are raised for review.
| project_id required | string (Project Id) |
| wp_id required | string (Wp Id) |
Active (boolean) or Active (null) (Active) Include it in the next instruction | |
Array of Associations (objects) or Associations (null) (Associations) | |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
Array of Protected Features (strings) or Protected Features (null) (Protected Features) | |
Role (string) or Role (null) (Role) | |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "expected_version": 0,
- "protected_features": [
- "string"
], - "role": "inspiration",
- "summary": ""
}{- "brief_keys": [
- "string"
], - "conflicts": [
- { }
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}, - "reference": {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
}Extract candidate facts from a reference, each with a citation (REF-005).
A specification or manufacturing rule's explicit values are stated;
everything read off an image, or from a non-authoritative text, is
estimated. Nothing is ever measured. Conflicts between
authoritative references are raised for review (REF-006).
| project_id required | string (Project Id) |
| wp_id required | string (Wp Id) |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
| note | string (Note) <= 500 characters Default: "" What the person says the reference shows |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "expected_version": 0,
- "note": "",
- "summary": ""
}{- "brief_keys": [
- "string"
], - "conflicts": [
- { }
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}, - "reference": {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
}Choose how it will be made: at home, in a workshop or by a manufacturer.
| project_id required | string (Project Id) |
Expected Version (integer) or Expected Version (null) (Expected Version) The version this edit was made against; 409 if it has moved on | |
required | object (RouteChoice) |
| summary | string (Summary) <= 500 characters Default: "" One line for the history |
{- "expected_version": 0,
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "summary": ""
}{- "brief_keys": [
- "string"
], - "creation": {
- "brief": {
- "assumptions": [
- {
- "id": "string",
- "status": "open",
- "text": "string"
}
], - "items": {
- "property1": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}, - "property2": {
- "source": "user",
- "status": "confirmed",
- "updated_at": "string",
- "value": ""
}
}, - "measurements": [
- {
- "critical": false,
- "id": "string",
- "label": "string",
- "note": "",
- "reference_id": "string",
- "scale_reference": "string",
- "source": "typed",
- "status": "user_confirmed",
- "unit": "mm",
- "value": 0
}
], - "reference_details": [
- {
- "active": true,
- "associations": [
- {
- "id": "string",
- "kind": "project",
- "label": ""
}
], - "disclosures": [
- {
- "model": "",
- "operation_id": "",
- "provider": "string",
- "purpose": "",
- "sent_at": "string",
- "source_hash": ""
}
], - "facts": [
- {
- "basis": "stated",
- "citation": {
- "excerpt": "",
- "reference_id": "string",
- "region": "string",
- "source_hash": ""
}, - "extracted_at": "string",
- "extracted_by": "",
- "id": "string",
- "parameter": "string",
- "text": "",
- "uncertainty": "low",
- "unit": "",
- "value": 0
}
], - "mime": "",
- "name": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "size": 0,
- "source_hash": "",
- "versions": [
- {
- "active": true,
- "actor": "",
- "changed_at": "string",
- "note": "",
- "protected_features": [
- "string"
], - "role": "inspiration",
- "source_hash": "",
- "version": 1
}
], - "work_product_id": "string"
}
], - "references": [
- "string"
]
}, - "builds": [
- {
- "acceptance": {
- "approver": "",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "accept",
- "limitations": [
- "string"
], - "reason": "",
- "surface": "unknown"
}, - "checks": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "created_at": "string",
- "estimates": {
- "property1": {
- "basis": "",
- "value": ""
}, - "property2": {
- "basis": "",
- "value": ""
}
}, - "evidence": [
- {
- "check_id": "string",
- "created_at": "string",
- "id": "string",
- "kind": "photo",
- "note": "",
- "recorded_by": "",
- "surface": "unknown",
- "unit": "string",
- "upload_id": "string",
- "value": 0,
- "work_product_id": "string"
}
], - "id": "string",
- "machine_id": "string",
- "material": "",
- "number": 0,
- "process": "",
- "release": {
- "approver": "string",
- "approver_verified": false,
- "released_at": "string",
- "surface": "unknown"
}, - "results": {
- "property1": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}, - "property2": {
- "confidence": 0,
- "decided_by": "",
- "evidence_ids": [
- "string"
], - "note": "",
- "status": "passed",
- "surface": "unknown",
- "updated_at": "string"
}
}, - "revision": {
- "label": "",
- "version": 0,
- "work_product_id": "string"
}, - "route": "home",
- "settings": {
- "property1": "string",
- "property2": "string"
}, - "status": "preparing",
- "status_note": "",
- "updated_at": "string"
}
], - "history": [
- {
- "actor": "",
- "at": "string",
- "change": "string",
- "summary": "",
- "surface": "unknown"
}
], - "inspection_plan": [
- {
- "blocking": true,
- "condition": "",
- "evidence": "",
- "feature": "string",
- "id": "string",
- "method": "camera",
- "reviewer": "person"
}
], - "project_id": "string",
- "route": {
- "machine_id": "string",
- "material": "",
- "note": "",
- "process": "",
- "route": "home",
- "supplier": ""
}, - "updated_at": "string",
- "version": 0
}, - "readiness": {
- "blockers": [
- {
- "action": "string",
- "id": "string",
- "message": "string"
}
], - "has_concept": true,
- "has_engineering_model": true,
- "next_action": "string",
- "stage": "concept",
- "stage_index": 0
}
}{- "defaultFlowId": "string",
- "flows": [
- {
- "contentHash": "",
- "description": "string",
- "graph": { },
- "id": "string",
- "isDefault": false,
- "label": "string",
- "name": "string",
- "phases": [
- {
- "capabilities": [
- "string"
], - "checks": [
- "string"
], - "condition": "string",
- "coupling": { },
- "dependsOn": [
- "string"
], - "disciplines": [
- "string"
], - "enforceDeliverables": true,
- "expectedArtifacts": [
- "string"
], - "fragment": "",
- "gate": {
- "autoApprove": false,
- "criteria": [
- "string"
], - "enforceConstraints": false,
- "gateId": "string",
- "name": "string"
}, - "id": "string",
- "inputs": [
- "string"
], - "model": "string",
- "objective": "string",
- "outcome": "",
- "requiredDeliverables": [
- "string"
], - "slots": [
- {
- "derived": false,
- "itemKey": "string",
- "itemType": "string",
- "name": "string"
}
], - "stage": "",
- "title": "string"
}
], - "valid": true,
- "version": "string",
- "violations": [
- "string"
]
}
]
}Every domain fragment a proposal can compose in with add_fragment.
Registered before /{flow_id} so it is not read as a flow id.
{- "fragments": [
- {
- "blocks": [
- {
- "id": "string",
- "maxIterations": 0,
- "members": [
- "string"
], - "solvesFor": [
- "string"
], - "stage": "string",
- "tolerance": 0
}
], - "description": "string",
- "domain": "string",
- "id": "string",
- "keywords": [
- "string"
], - "label": "string",
- "requires": [
- "string"
], - "spine": "string",
- "tasks": [
- {
- "capabilities": [
- "string"
], - "checks": [
- "string"
], - "id": "string",
- "inputs": [
- "string"
], - "outputs": [
- "string"
], - "stage": "string",
- "title": "string"
}
], - "version": "string"
}
]
}Compile an intent into its structured model. Stores nothing, starts nothing.
Deterministic: no model call, and no value the person did not state. Use it before proposing to see what was understood and what is still unknown.
Budget (string) or Budget (null) (Budget) | |
CallerBody (object) or null | |
| intent required | string (Intent) |
Loadsanduse (string) or Loadsanduse (null) (Loadsanduse) | |
ManufacturingContextBody (object) or null | |
Model (string) or Model (null) (Model) | |
Array of Operations (objects) or Operations (null) (Operations) | |
Projectid (string) or Projectid (null) (Projectid) | |
Provider (string) or Provider (null) (Provider) | |
| requirements | Array of strings (Requirements) |
TargetMaturity (string) or null | |
Template (string) or Template (null) (Template) |
{- "budget": "string",
- "caller": {
- "client": "string",
- "model": "string"
}, - "intent": "string",
- "loadsAndUse": "string",
- "manufacturingContext": {
- "machineIds": [
- "string"
], - "machines": [
- "string"
], - "materialIds": [
- "string"
], - "processIds": [
- "string"
], - "processes": [
- "string"
], - "productionQuantity": 1,
- "route": "in_house",
- "stockMaterials": [
- "string"
]
}, - "model": "string",
- "operations": [
- {
- "op": "string",
- "phase": "string",
- "rationale": "",
- "value": { }
}
], - "projectId": "string",
- "provider": "string",
- "requirements": [
- "string"
], - "targetMaturity": "concept",
- "template": "string"
}{- "intent": { },
- "missingInputs": [
- {
- "answerType": "string",
- "field": "",
- "id": "string",
- "options": [
- "string"
], - "question": "string",
- "required": true,
- "source": "metaforge",
- "why": "string"
}
]
}Tailor a template to a project's intent, and hold it for a human.
The response carries an approvalId, not a run. The rule is
that nothing starts before approval, and the way to make that true is for
the endpoint that generates a flow to have no ability to start one.
If the manufacturing route, target maturity or loads are missing, the
answer is 200 with status: "needs_input" and the questions to
answer -- no flow, no stored version, no held approval. A
generator that guesses those produces a flow that reads as tailored and
is not.
Budget (string) or Budget (null) (Budget) | |
CallerBody (object) or null | |
| intent required | string (Intent) |
Loadsanduse (string) or Loadsanduse (null) (Loadsanduse) | |
ManufacturingContextBody (object) or null | |
Model (string) or Model (null) (Model) | |
Array of Operations (objects) or Operations (null) (Operations) | |
Projectid (string) or Projectid (null) (Projectid) | |
Provider (string) or Provider (null) (Provider) | |
| requirements | Array of strings (Requirements) |
TargetMaturity (string) or null | |
Template (string) or Template (null) (Template) |
{- "budget": "string",
- "caller": {
- "client": "string",
- "model": "string"
}, - "intent": "string",
- "loadsAndUse": "string",
- "manufacturingContext": {
- "machineIds": [
- "string"
], - "machines": [
- "string"
], - "materialIds": [
- "string"
], - "processIds": [
- "string"
], - "processes": [
- "string"
], - "productionQuantity": 1,
- "route": "in_house",
- "stockMaterials": [
- "string"
]
}, - "model": "string",
- "operations": [
- {
- "op": "string",
- "phase": "string",
- "rationale": "",
- "value": { }
}
], - "projectId": "string",
- "provider": "string",
- "requirements": [
- "string"
], - "targetMaturity": "concept",
- "template": "string"
}{- "intent": "string",
- "message": "string",
- "notes": [
- "string"
], - "questions": [
- {
- "answerType": "string",
- "field": "",
- "id": "string",
- "options": [
- "string"
], - "question": "string",
- "required": true,
- "source": "metaforge",
- "why": "string"
}
], - "status": "needs_input"
}Check an edit without saving it.
The editor calls this as the canvas changes, so a person sees a rule break while they are looking at the thing that broke it -- rather than at save, by which point they have made five more changes and have to work out which one the message is about.
| baseTemplateId required | string (Basetemplateid) |
Name (string) or Name (null) (Name) | |
required | Array of objects (Phases) |
{- "baseTemplateId": "string",
- "name": "string",
- "phases": [
- {
- "condition": "string",
- "dependsOn": [
- "string"
], - "disciplines": [
- "string"
], - "enforceDeliverables": true,
- "expectedArtifacts": [
- "string"
], - "gate": {
- "autoApprove": false,
- "criteria": [
- "string"
], - "enforceConstraints": false,
- "gateId": "string",
- "name": "string"
}, - "id": "string",
- "model": "string",
- "objective": "string",
- "outcome": "",
- "requiredDeliverables": [
- "string"
], - "slots": [
- {
- "derived": false,
- "itemKey": "",
- "itemType": "string",
- "name": "string"
}
], - "title": "string"
}
]
}{- "valid": true,
- "violations": [
- "string"
]
}Save an edit as a new version, held for approval.
Never mutates an existing version. A run pins the version it started on, so a version changing underneath would make a completed run's provenance a lie -- and an approval that can be edited afterwards is not an approval.
| baseTemplateId required | string (Basetemplateid) |
Name (string) or Name (null) (Name) | |
required | Array of objects (Phases) |
{- "baseTemplateId": "string",
- "name": "string",
- "phases": [
- {
- "condition": "string",
- "dependsOn": [
- "string"
], - "disciplines": [
- "string"
], - "enforceDeliverables": true,
- "expectedArtifacts": [
- "string"
], - "gate": {
- "autoApprove": false,
- "criteria": [
- "string"
], - "enforceConstraints": false,
- "gateId": "string",
- "name": "string"
}, - "id": "string",
- "model": "string",
- "objective": "string",
- "outcome": "",
- "requiredDeliverables": [
- "string"
], - "slots": [
- {
- "derived": false,
- "itemKey": "",
- "itemType": "string",
- "name": "string"
}
], - "title": "string"
}
]
}{- "approvalId": "string",
- "baseTemplateId": "string",
- "baseVersion": "string",
- "changes": [
- "string"
], - "context": "",
- "flow": {
- "contentHash": "",
- "description": "string",
- "graph": { },
- "id": "string",
- "isDefault": false,
- "label": "string",
- "name": "string",
- "phases": [
- {
- "capabilities": [
- "string"
], - "checks": [
- "string"
], - "condition": "string",
- "coupling": { },
- "dependsOn": [
- "string"
], - "disciplines": [
- "string"
], - "enforceDeliverables": true,
- "expectedArtifacts": [
- "string"
], - "fragment": "",
- "gate": {
- "autoApprove": false,
- "criteria": [
- "string"
], - "enforceConstraints": false,
- "gateId": "string",
- "name": "string"
}, - "id": "string",
- "inputs": [
- "string"
], - "model": "string",
- "objective": "string",
- "outcome": "",
- "requiredDeliverables": [
- "string"
], - "slots": [
- {
- "derived": false,
- "itemKey": "string",
- "itemType": "string",
- "name": "string"
}
], - "stage": "",
- "title": "string"
}
], - "valid": true,
- "version": "string",
- "violations": [
- "string"
]
}, - "origin": "string",
- "status": "string",
- "valid": true,
- "versionId": "string",
- "violations": [
- "string"
]
}{- "approvalId": "string",
- "baseTemplateId": "string",
- "baseVersion": "string",
- "changes": [
- "string"
], - "context": "",
- "flow": {
- "contentHash": "",
- "description": "string",
- "graph": { },
- "id": "string",
- "isDefault": false,
- "label": "string",
- "name": "string",
- "phases": [
- {
- "capabilities": [
- "string"
], - "checks": [
- "string"
], - "condition": "string",
- "coupling": { },
- "dependsOn": [
- "string"
], - "disciplines": [
- "string"
], - "enforceDeliverables": true,
- "expectedArtifacts": [
- "string"
], - "fragment": "",
- "gate": {
- "autoApprove": false,
- "criteria": [
- "string"
], - "enforceConstraints": false,
- "gateId": "string",
- "name": "string"
}, - "id": "string",
- "inputs": [
- "string"
], - "model": "string",
- "objective": "string",
- "outcome": "",
- "requiredDeliverables": [
- "string"
], - "slots": [
- {
- "derived": false,
- "itemKey": "string",
- "itemType": "string",
- "name": "string"
}
], - "stage": "",
- "title": "string"
}
], - "valid": true,
- "version": "string",
- "violations": [
- "string"
]
}, - "origin": "string",
- "status": "string",
- "valid": true,
- "versionId": "string",
- "violations": [
- "string"
]
}The same assessment for a saved (tailored or edited) flow version.
| version_id required | string (Version Id) |
Profile (string) or Profile (null) (Profile) |
{- "flowId": "string",
- "profile": "string",
- "report": { },
- "versionId": "string"
}One flow, for the run detail view and the plan canvas.
| flow_id required | string (Flow Id) |
{- "contentHash": "",
- "description": "string",
- "graph": { },
- "id": "string",
- "isDefault": false,
- "label": "string",
- "name": "string",
- "phases": [
- {
- "capabilities": [
- "string"
], - "checks": [
- "string"
], - "condition": "string",
- "coupling": { },
- "dependsOn": [
- "string"
], - "disciplines": [
- "string"
], - "enforceDeliverables": true,
- "expectedArtifacts": [
- "string"
], - "fragment": "",
- "gate": {
- "autoApprove": false,
- "criteria": [
- "string"
], - "enforceConstraints": false,
- "gateId": "string",
- "name": "string"
}, - "id": "string",
- "inputs": [
- "string"
], - "model": "string",
- "objective": "string",
- "outcome": "",
- "requiredDeliverables": [
- "string"
], - "slots": [
- {
- "derived": false,
- "itemKey": "string",
- "itemType": "string",
- "name": "string"
}
], - "stage": "",
- "title": "string"
}
], - "valid": true,
- "version": "string",
- "violations": [
- "string"
]
}Can this template be run with the tools that exist and answer right now?
profile narrows coverage to the tools a client connected with that
MCP profile is served.
| flow_id required | string (Flow Id) |
Profile (string) or Profile (null) (Profile) |
{- "flowId": "string",
- "profile": "string",
- "report": { },
- "versionId": "string"
}| deflectionLimitMm required | number (Deflectionlimitmm) |
| loadN required | number (Loadn) |
| material | string (Material) Default: "aluminium_6061_t6" |
| maxIterations | integer (Maxiterations) Default: 60 |
Projectid (string) or Projectid (null) (Projectid) | |
Array of Requirementids (strings) or Requirementids (null) (Requirementids) | |
| sfLimit | number (Sflimit) Default: 2 |
Wallmaxmm (number) or Wallmaxmm (null) (Wallmaxmm) | |
| wallMinMm | number (Wallminmm) Default: 0.5 |
| workProductId required | string (Workproductid) |
{- "deflectionLimitMm": 0,
- "loadN": 0,
- "material": "aluminium_6061_t6",
- "maxIterations": 60,
- "projectId": "string",
- "requirementIds": [
- "string"
], - "sfLimit": 2,
- "wallMaxMm": 0,
- "wallMinMm": 0.5,
- "workProductId": "string"
}{ }Array of Build Axis (numbers) or Build Axis (null) (Build Axis) | |
| mesh_file required | string (Mesh File) |
Project Id (string) or Project Id (null) (Project Id) | |
Threshold Deg (number) or Threshold Deg (null) (Threshold Deg) | |
| work_product_id required | string (Work Product Id) |
{- "build_axis": [
- 0
], - "mesh_file": "string",
- "project_id": "string",
- "threshold_deg": 0,
- "work_product_id": "string"
}{- "build_axis": [
- 0
], - "dfm_pass": true,
- "evidence_node_id": "string",
- "faces": [
- {
- "area_mm2": 0,
- "flagged": true,
- "name": "string",
- "normal": [
- 0
], - "tilt_from_vertical_deg": 0
}
], - "flagged_count": 0,
- "threshold_deg": 0,
- "total_faces": 0
}| adapter | string (Adapter) Default: "freecad" |
| commit | boolean (Commit) Default: true |
required | object (Feature) |
| material | string (Material) Default: "aluminium_6061_t6" |
| name required | string (Name) |
Projectid (string) or Projectid (null) (Projectid) | |
Workproductid (string) or Workproductid (null) (Workproductid) |
{- "adapter": "freecad",
- "commit": true,
- "feature": { },
- "material": "aluminium_6061_t6",
- "name": "string",
- "projectId": "string",
- "workProductId": "string"
}{ }A signed link to the file: url for an object-store link, else path.
| work_product_id required | string (Work Product Id) |
Lifetime S (integer) or Lifetime S (null) (Lifetime S) Seconds; default grows with the size | |
| path | string (Path) Default: "" A named file; empty for the primary file |
{- "lifetime_s": 0,
- "path": ""
}{ }A file's content inline: text, or base64. Too large is refused with its size.
| work_product_id required | string (Work Product Id) |
| path | string (Path) Default: "" A named file; empty for the primary file |
| max_bytes | integer (Max Bytes) >= 1 Default: 2097152 |
{ }Add files to an open upload (the page, or curl -F files=@part.step).
| token required | string (Token) |
| files required | Array of strings (Files) Files, or zips of folders |
{- "agent": "string",
- "created_at": "string",
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "approve",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "unknown"
}, - "description": "",
- "expires_at": "string",
- "files": [
- {
- "domain": "",
- "error": "string",
- "format": "",
- "name": "string",
- "sha256": "",
- "size": 0,
- "work_product_id": "string",
- "wp_type": ""
}
], - "id": "string",
- "project_id": "string",
- "requested_by": "string",
- "source": "inline",
- "status": "open"
}Add one file from a raw body: curl -T part.step <link>/part.step.
| token required | string (Token) |
| name required | string (Name) |
{- "agent": "string",
- "created_at": "string",
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "approve",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "unknown"
}, - "description": "",
- "expires_at": "string",
- "files": [
- {
- "domain": "",
- "error": "string",
- "format": "",
- "name": "string",
- "sha256": "",
- "size": 0,
- "work_product_id": "string",
- "wp_type": ""
}
], - "id": "string",
- "project_id": "string",
- "requested_by": "string",
- "source": "inline",
- "status": "open"
}Project Id (string) or Project Id (null) (Project Id) | |
| work_product_id required | string (Work Product Id) |
{- "project_id": "string",
- "work_product_id": "string"
}{- "firmware_source_node_id": "string",
- "joints": [
- {
- "can_id": 0,
- "joint_name": "string",
- "joint_type": "string",
- "limits": {
- "property1": 0,
- "property2": 0
}
}
], - "pinmap_node_id": "string"
}Store a provider credential so the runtime uses it (no restart).
api_key → the gateway auth store; oauth → the Codex auth.json the
codex adapter reads. Validates the provider against the registry.
X-Metaforge-Admin (string) or X-Metaforge-Admin (null) (X-Metaforge-Admin) |
Api Key (string) or Api Key (null) (Api Key) Raw API key (method=api_key). | |
Base Url (string) or Base Url (null) (Base Url) Optional base_url override. | |
| method | string (Method) Default: "api_key" 'api_key' or 'oauth'. |
| provider required | string (Provider) Registry provider id (e.g. openai, openai-codex). |
Tokens (object) or Tokens (null) (Tokens) OAuth token blob in auth.json shape (method=oauth). |
{- "api_key": "string",
- "base_url": "string",
- "method": "api_key",
- "provider": "string",
- "tokens": { }
}{- "method": "string",
- "ok": true,
- "provider": "string"
}Forget a provider's stored API key (and clear the selection if it pointed there).
| provider required | string (Provider) |
X-Metaforge-Admin (string) or X-Metaforge-Admin (null) (X-Metaforge-Admin) |
{- "method": "string",
- "ok": true,
- "provider": "string"
}{- "active_model": "string",
- "active_provider": "string",
- "fallback_count": 0,
- "last_fallback": {
- "at": "string",
- "error": "string",
- "fallback": "string",
- "fallback_model": "string",
- "primary": "string",
- "primary_model": "string",
- "reason": "string",
- "role": "string"
}, - "providers": [
- {
- "base_url": "string",
- "configured": true,
- "family": "string",
- "id": "string"
}
]
}Which provider and model each role is routed to.
A role absent from roles is served by the durable harness selection
(default_provider / default_model).
Project Id (string) or Project Id (null) (Project Id) |
{- "default_model": "string",
- "default_provider": "string",
- "effective_for_project": {
- "property1": {
- "configured": true,
- "model": "string",
- "provider": "string"
}, - "property2": {
- "configured": true,
- "model": "string",
- "provider": "string"
}
}, - "problems": [
- "string"
], - "projects": {
- "property1": {
- "property1": {
- "configured": true,
- "model": "string",
- "provider": "string"
}, - "property2": {
- "configured": true,
- "model": "string",
- "provider": "string"
}
}, - "property2": {
- "property1": {
- "configured": true,
- "model": "string",
- "provider": "string"
}, - "property2": {
- "configured": true,
- "model": "string",
- "provider": "string"
}
}
}, - "roles": {
- "property1": {
- "configured": true,
- "model": "string",
- "provider": "string"
}, - "property2": {
- "configured": true,
- "model": "string",
- "provider": "string"
}
}
}Set the durable active provider/model (overrides the METAFORGE_LLM_* env).
X-Metaforge-Admin (string) or X-Metaforge-Admin (null) (X-Metaforge-Admin) |
Model (string) or Model (null) (Model) Optional model id. | |
| provider required | string (Provider) Registry provider id to make active. |
{- "model": "string",
- "provider": "string"
}{- "method": "string",
- "ok": true,
- "provider": "string"
}Ingest a document (markdown / plain text) via the L1 KnowledgeService.
Backs the forge ingest <path> CLI. Heading-aware
chunking, dedup, and citation metadata are handled by the
underlying provider — the route is a thin pass-through.
| content required | string (Content) non-empty |
| knowledgeType required | string (KnowledgeType) Enum: "design_decision" "component" "failure" "constraint" "session" Categories of knowledge stored in the knowledge layer. |
object (Metadata) | |
Projectid (string) or Projectid (null) (Projectid) | |
| sourcePath required | string (Sourcepath) non-empty |
Sourceworkproductid (string) or Sourceworkproductid (null) (Sourceworkproductid) |
{- "content": "string",
- "knowledgeType": "design_decision",
- "metadata": { },
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
- "sourcePath": "string",
- "sourceWorkProductId": "c83b8d43-b0ff-4427-847b-87295ebb87a8"
}{- "chunksIndexed": 0,
- "entryIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "sourcePath": "string"
}Manually ingest a knowledge entry.
Routes through KnowledgeService when available so the chunk
pipeline, dedup, and citation-field round-trip apply consistently
with /documents and /search.
| content required | string (Content) non-empty |
| knowledgeType required | string (KnowledgeType) Enum: "design_decision" "component" "failure" "constraint" "session" Categories of knowledge stored in the knowledge layer. |
object (Metadata) | |
Projectid (string) or Projectid (null) (Projectid) | |
Sourcepath (string) or Sourcepath (null) (Sourcepath) | |
Sourceworkproductid (string) or Sourceworkproductid (null) (Sourceworkproductid) |
{- "content": "string",
- "knowledgeType": "design_decision",
- "metadata": { },
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
- "sourcePath": "string",
- "sourceWorkProductId": "c83b8d43-b0ff-4427-847b-87295ebb87a8"
}{- "embedded": true,
- "entryId": "09a8b554-45ca-4bab-a638-265db4b3e828"
}Semantic search over indexed knowledge.
Routes through KnowledgeService when available so it shares
the same backend as /ingest and /documents.
project_id mirrors the projectId filter already
on /sources and /ingest: without it, KnowledgeService.search
falls back to the default tenant, so a project-scoped ingest was
never searchable from a project-scoped UI — the search box silently
returned whatever unrelated content happened to live under
default instead of the active project's own sources.
| query required | string (Query) non-empty Search query |
KnowledgeType (string) or Knowledgetype (null) (Knowledgetype) Filter by knowledge type | |
Projectid (string) or Projectid (null) (Projectid) Scope search to a project UUID | |
| limit | integer (Limit) [ 1 .. 50 ] Default: 5 Max results |
{- "query": "string",
- "results": [
- {
- "chunkIndex": 0,
- "content": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "knowledgeType": "design_decision",
- "metadata": { },
- "sourcePath": "string",
- "sourceWorkProductId": "c83b8d43-b0ff-4427-847b-87295ebb87a8",
- "totalChunks": 0
}
], - "totalFound": 0
}List ingested knowledge sources via KnowledgeService.list_sources().
Backs the forge sources list CLI. Mirrors the schema
surfaced by the metaforge://knowledge/sources MCP resource.
KnowledgeType (string) or Knowledgetype (null) (Knowledgetype) Filter by knowledge type | |
Projectid (string) or Projectid (null) (Projectid) Filter by project UUID | |
| limit | integer (Limit) [ 1 .. 1000 ] Default: 100 Max sources to return |
| offset | integer (Offset) >= 0 Default: 0 Pagination offset |
{- "sources": [
- {
- "fragmentCount": 0,
- "indexedAt": "2019-08-24T14:15:22Z",
- "knowledgeType": "string",
- "metadata": { },
- "sourcePath": "string"
}
], - "total": 0
}Delete every chunk for a source via KnowledgeService.delete_by_source().
Backs the forge sources delete CLI. Returns the
chunk count the backend removed; 0 when the source was already
absent — callers treat that as a no-op rather than an error.
| source_path required | string (Source Path) |
{- "deletedChunks": 0,
- "sourcePath": "string"
}Per-source detail — looks up by exact source_path match.
No dedicated single-source accessor exists in the KnowledgeService
contract, so we list and find — fine for CLI usage where the user
has already picked a known path. Returns 404 when the source isn't
registered.
| source_path required | string (Source Path) |
Projectid (string) or Projectid (null) (Projectid) Filter by project UUID |
{- "chunks": [
- { }
], - "fragmentCount": 0,
- "indexedAt": "2019-08-24T14:15:22Z",
- "knowledgeType": "string",
- "metadata": { },
- "sourcePath": "string"
}Retrieve a single knowledge entry by ID.
| entry_id required | string <uuid> (Entry Id) |
{- "chunkIndex": 0,
- "content": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "knowledgeType": "design_decision",
- "metadata": { },
- "sourcePath": "string",
- "sourceWorkProductId": "c83b8d43-b0ff-4427-847b-87295ebb87a8",
- "totalChunks": 0
}The entry's attached maker model as a coloured, Y-up, centred mesh (2026-11-12).
For drawing in the studio and the library viewer only. A model whose licence MetaForge does not accept is shown for internal work, never handed to an engineering tool.
| ref required | string (Ref) |
{ }Read a printer's controller into a proposed instance. Registers nothing.
required | object (Connection) |
| name | string (Name) Default: "" |
{- "connection": { },
- "name": ""
}{ }The drawing engine (authored.js) and its assets, for drawing an entry's form code.
The same files the Imagine studio loads; served here so a page that shows the library needs no project.
| name required | string (Name) |
{- "detail": [
- {
- "ctx": { },
- "input": null,
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Every current catalog entry and machine as one JSON document, to keep or move.
history=true adds each entry's versions. Nothing secret is in it: a machine's
connection names only the environment variable that holds its credential.
| history | boolean (History) Default: false |
{ }Send a G-code work product to an idle in-house machine and start it.
| by | string (By) Default: "" |
| machine_id required | string (Machine Id) |
| work_product_id required | string (Work Product Id) |
{- "by": "",
- "machine_id": "string",
- "work_product_id": "string"
}{ }Record an ended job as evidence against the part revision it was sent for.
| job_id required | string (Job Id) |
| by | string (By) Default: "" |
{- "by": ""
}{ }Change a machine; the previous version is kept in its history.
| machine_id required | string (Machine Id) |
| by | string (By) Default: "" |
object (Changes) |
{- "by": "",
- "changes": { }
}{ }Organisations from the names the library already holds.
Without apply it only reports: the organisations it would create (merged
spellings as aliases, roles from where each name appears), and related names left
for a person to merge or keep apart. With apply=true it creates them as
unreviewed and links components, offers and service-bureau machines. Shared
library data, so an account on a shared gateway may not run it.
| apply | boolean (Apply) Default: false |
{ }Every library entry matching every word of q, best first.
Searches components (name, MPN, title, maker and its aliases, suppliers, SKUs),
organisations, materials, processes, machines (and their operators), appearances and
ergonomic limits. kind (repeatable) narrows the kinds; role, region and
status filter organisations and the components and machines linked to one. Each
result names the fields that matched; a component made or sold only by a blocked
organisation carries blocked.
| q | string (Q) Default: "" |
Array of Kind (strings) or Kind (null) (Kind) | |
Role (string) or Role (null) (Role) | |
Region (string) or Region (null) (Region) | |
Status (string) or Status (null) (Status) | |
| limit | integer (Limit) Default: 50 |
{ }Move an account's entry into the shared library (the deployment only).
Accounts are refused twice: the auth middleware blocks writes under
/v1/library/ that are not their own entries, and this route refuses a
service call that carries an account's library view (the MCP sidecar), so
an account cannot publish through a tool either.
| kind_path required | string (Kind Path) |
| ref required | string (Ref) |
{ }| work_product_id required | string (Work Product Id) |
| process required | string (Process) '3d_print' (-> STL) or 'cnc' (-> STEP) |
{- "content_base64": "string",
- "file_size_bytes": 0,
- "filename": "string",
- "format": "string",
- "process": "string",
- "work_product_id": "string"
}Component usage / relationship knowledge for name.
Wraps MemoryClient.get_component_context: a typed convenience
over the L1 knowledge base keyed off KnowledgeType.COMPONENT.
Empty / whitespace name returns 422 — that's a client bug, not
a backend gap.
| name required | string (Name) |
| limit | integer (Limit) [ 1 .. 50 ] Default: 5 |
Projectid (string) or Projectid (null) (Projectid) |
{- "hits": [
- {
- "chunkIndex": 0,
- "content": "string",
- "heading": "string",
- "knowledgeType": "string",
- "similarityScore": 0,
- "sourcePath": "string",
- "sourceWorkProductId": "c83b8d43-b0ff-4427-847b-87295ebb87a8",
- "totalChunks": 0
}
], - "query": "string",
- "totalFound": 0
}Trigger one consolidation pass synchronously.
Defaults to on_demand mode (manual triage with the importance
floor relaxed). Pass mode=background to run the standard pass
or mode=janitor to re-validate previously-stored insights
without synthesizing new ones.
Fetchlimit (integer) or Fetchlimit (null) (Fetchlimit) | |
Minimportance (number) or Minimportance (null) (Minimportance) | |
| mode | string (ConsolidationMode) Default: "on_demand" Enum: "background" "on_demand" "proactive" "janitor" Consolidation mode. Defaults to on_demand since the REST endpoint is a manual trigger; the Temporal worker handles background. |
Projectid (string) or Projectid (null) (Projectid) | |
Since (string) or Since (null) (Since) | |
ConsolidationTheme (string) or null | |
Until (string) or Until (null) (Until) |
{- "fetchLimit": 1,
- "minImportance": 0,
- "mode": "background",
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
- "since": "2019-08-24T14:15:22Z",
- "theme": "mechanical_validation",
- "until": "2019-08-24T14:15:22Z"
}{- "acceptedCount": 0,
- "fetchedCount": 0,
- "groupCount": 0,
- "mode": "background",
- "newlyFailedCount": 0,
- "rejectedCount": 0,
- "rejectedReasons": [
- "string"
], - "revalidatedCount": 0,
- "synthesizedCount": 0
}List consolidated insights, newest first.
Excludes STALE_WARN insights by default — agents should act on
fresh lessons. Pass includeStale=true for an audit / review view
that includes faded insights. Optional theme narrows to one
consolidation theme.
ConsolidationTheme (string) or Theme (null) (Theme) | |
| includeStale | boolean (Includestale) Default: false |
| limit | integer (Limit) [ 1 .. 500 ] Default: 50 |
{- "includeStale": true,
- "insights": [
- {
- "confidence": 0,
- "confidenceTier": "verbatim",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kind": "pattern",
- "narrative": "string",
- "status": "active",
- "supportingExperienceIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "synthesizedAt": "2019-08-24T14:15:22Z",
- "theme": "mechanical_validation"
}
], - "theme": "mechanical_validation",
- "total": 0
}Return experiences most similar to the supplied goal.
Body shape matches MemoryRetrieveRequest. The response carries
hits sorted by descending similarity, plus the echoed query
and total_found so callers can paginate without re-derivation.
Agentcode (string) or Agentcode (null) (Agentcode) Optional filter to a specific agent. | |
| goal required | string (Goal) non-empty Natural-language description of the task. |
| limit | integer (Limit) [ 1 .. 50 ] Default: 5 Maximum number of experiences to return. |
Minsimilarity (number) or Minsimilarity (null) (Minsimilarity) Optional retrieval-confidence floor: drop hits whose cosine similarity is below this value. None = no floor. | |
Onlysuccess (boolean) or Onlysuccess (null) (Onlysuccess) True = success-only, False = failures-only, None = no filter. | |
Projectid (string) or Projectid (null) (Projectid) Optional project scope. |
{- "agentCode": "string",
- "goal": "string",
- "limit": 5,
- "minSimilarity": -1,
- "onlySuccess": true,
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8"
}{- "hits": [
- {
- "agentCode": "string",
- "confidence": "verbatim",
- "durationSeconds": 0,
- "error": "string",
- "experienceId": "637f9a15-ea20-4597-990b-d67bd20db1c1",
- "importance": 0,
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
- "rank": 0,
- "resultSummary": "string",
- "runId": "string",
- "similarity": -1,
- "stepId": "string",
- "success": true,
- "taskType": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "query": "string",
- "totalFound": 0
}Semantic search over design-decision knowledge.
Wraps MemoryClient.search_design_rationale: a typed convenience
over the L1 knowledge base that asks "why was X decided?" and
returns ranked hits keyed off KnowledgeType.DESIGN_DECISION.
Requires the gateway to have wired a knowledge_service on
app.state.knowledge_service; the 503 from _get_client
covers the case where the service hasn't initialised.
| limit | integer (Limit) [ 1 .. 50 ] Default: 5 Maximum number of hits to return. |
Projectid (string) or Projectid (null) (Projectid) Optional project scope. | |
| query required | string (Query) non-empty Natural-language query against design-decision knowledge. |
{- "limit": 5,
- "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
- "query": "string"
}{- "hits": [
- {
- "chunkIndex": 0,
- "content": "string",
- "heading": "string",
- "knowledgeType": "string",
- "similarityScore": 0,
- "sourcePath": "string",
- "sourceWorkProductId": "c83b8d43-b0ff-4427-847b-87295ebb87a8",
- "totalChunks": 0
}
], - "query": "string",
- "totalFound": 0
}{- "projects": [
- {
- "agent_count": 0,
- "created_at": "string",
- "description": "string",
- "id": "string",
- "last_updated": "string",
- "name": "string",
- "status": "string",
- "work_products": [
- {
- "id": "string",
- "name": "string",
- "status": "string",
- "type": "string",
- "updated_at": "string"
}
]
}
], - "total": 0
}Create a new hardware project (starts with no work products).
| description | string (Description) <= 2000 characters Default: "" Project description |
| name required | string (Name) [ 1 .. 200 ] characters Project name |
| status | string (Status) Default: "draft" Initial project status |
{- "description": "",
- "name": "string",
- "status": "draft"
}{- "agent_count": 0,
- "created_at": "string",
- "description": "string",
- "id": "string",
- "last_updated": "string",
- "name": "string",
- "status": "string",
- "work_products": [
- {
- "id": "string",
- "name": "string",
- "status": "string",
- "type": "string",
- "updated_at": "string"
}
]
}Get a single project by ID.
| project_id required | string (Project Id) |
{- "agent_count": 0,
- "created_at": "string",
- "description": "string",
- "id": "string",
- "last_updated": "string",
- "name": "string",
- "status": "string",
- "work_products": [
- {
- "id": "string",
- "name": "string",
- "status": "string",
- "type": "string",
- "updated_at": "string"
}
]
}Rename, redescribe, or change the status of an existing project.
| project_id required | string (Project Id) |
Description (string) or Description (null) (Description) | |
Name (string) or Name (null) (Name) | |
Status (string) or Status (null) (Status) |
{- "description": "string",
- "name": "string",
- "status": "string"
}{- "agent_count": 0,
- "created_at": "string",
- "description": "string",
- "id": "string",
- "last_updated": "string",
- "name": "string",
- "status": "string",
- "work_products": [
- {
- "id": "string",
- "name": "string",
- "status": "string",
- "type": "string",
- "updated_at": "string"
}
]
}Remove a work-product link from a project.
Lets callers clean up duplicate/stale work-product references without deleting the project. 404 if no matching link exists.
| project_id required | string (Project Id) |
| work_product_id required | string (Work Product Id) |
{- "detail": [
- {
- "ctx": { },
- "input": null,
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}The project's operations, most recently updated first, and the cursor.
Open the stream with ?after=<cursor> to receive every event after
this snapshot.
| project_id required | string (Project Id) |
| active | boolean (Active) Default: false Only operations not yet terminal |
| limit | integer (Limit) [ 1 .. 200 ] Default: 50 |
{- "cursor": 0,
- "operations": [
- {
- "action_refs": [
- {
- "id": "string",
- "kind": "approval",
- "label": ""
}
], - "artifact_refs": [
- {
- "authority": "illustrative",
- "id": "string",
- "kind": "work_product",
- "label": "",
- "url": "string"
}
], - "base_revision": "string",
- "domain": "concept",
- "kind": "run",
- "last_sequence": 0,
- "message": "",
- "operation_id": "string",
- "progress": {
- "done": 0,
- "total": 1,
- "unit": "steps"
}, - "requires_action": false,
- "retry_of": "string",
- "run_id": "string",
- "severity": "info",
- "stages": [
- {
- "domain": "concept",
- "stage_id": "string",
- "stage_title": "string",
- "state": "queued",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "started_at": "2019-08-24T14:15:22Z",
- "state": "queued",
- "target_key": "string",
- "target_revision": "string",
- "title": "",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "project_id": "string"
}Accept an operation event from a process that has no stream of its own.
202 with the stored project_seq. A duplicate event_id is 200 with
the seq stored the first time. An event out of order, or a non-terminal
one after the operation ended, is 409. A completed event whose
base_revision is no longer its target's head is stored as stale.
| project_id required | string (Project Id) |
Array of objects (Action Refs) <= 10 items | |
Array of objects (Artifact Refs) <= 50 items | |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| domain | string (OperationDomain) Default: "general" Enum: "concept" "sketch" "mechanical" "electronics" "firmware" "simulation" "manufacturing" "cross_domain" "general" |
Event Id (string) or Event Id (null) (Event Id) | |
OperationKind (string) or null | |
| message | string (Message) <= 500 characters Default: "" |
Occurred At (string) or Occurred At (null) (Occurred At) | |
| operation_id required | string (Operation Id) [ 3 .. 200 ] characters |
Progress (object) or null | |
Project Id (string) or Project Id (null) (Project Id) | |
| requires_action | boolean (Requires Action) Default: false |
Retry Of (string) or Retry Of (null) (Retry Of) | |
Run Id (string) or Run Id (null) (Run Id) | |
Sequence (integer) or Sequence (null) (Sequence) | |
| severity | string (Severity) Default: "info" Enum: "info" "warning" "error" |
Stage Id (string) or Stage Id (null) (Stage Id) | |
Stage Title (string) or Stage Title (null) (Stage Title) | |
| state required | string (OperationState) Enum: "queued" "running" "waiting_for_user" "blocked" "completed" "failed" "cancelled" "superseded" "stale" |
Target Key (string) or Target Key (null) (Target Key) | |
Target Revision (string) or Target Revision (null) (Target Revision) | |
| title | string (Title) <= 200 characters Default: "" |
| type required | string (OperationEventType) Enum: "accepted" "queued" "started" "milestone" "partial_result" "preview_ready" "review_required" "blocked" "resumed" "completed" "failed" "cancelled" "superseded" "stale" |
{- "action_refs": [
- {
- "id": "string",
- "kind": "approval",
- "label": ""
}
], - "artifact_refs": [
- {
- "authority": "illustrative",
- "id": "string",
- "kind": "work_product",
- "label": "",
- "url": "string"
}
], - "base_revision": "string",
- "domain": "concept",
- "event_id": "string",
- "kind": "run",
- "message": "",
- "occurred_at": "2019-08-24T14:15:22Z",
- "operation_id": "string",
- "progress": {
- "done": 0,
- "total": 1,
- "unit": "steps"
}, - "project_id": "string",
- "requires_action": false,
- "retry_of": "string",
- "run_id": "string",
- "sequence": 1,
- "severity": "info",
- "stage_id": "string",
- "stage_title": "string",
- "state": "queued",
- "target_key": "string",
- "target_revision": "string",
- "title": "",
- "type": "accepted"
}{- "duplicate": false,
- "event_id": "string",
- "project_seq": 0,
- "sequence": 0
}SSE of the project's operation events.
Frames: operation (id: is the project_seq), heartbeat
every 15 s with the cursor, and resync when the resume point is
unknown or older than the log keeps (refetch the snapshot).
| project_id required | string (Project Id) |
After (integer) or After (null) (After) Resume after this project_seq |
Last-Event-Id (string) or Last-Event-Id (null) (Last-Event-Id) |
nullCancel an operation that supports it: 202, 409 when not cancellable, 404 when unknown.
A design-flow run stops at its next step and is marked cancelled; what it already committed to the twin stays. A job stops in this gateway, or in the MCP sidecar when the sidecar runs it.
| project_id required | string (Project Id) |
| operation_id required | string (Operation Id) |
{- "operation_id": "string",
- "state": "queued"
}Run a failed operation again, as a new operation naming it in retry_of.
202 with the new operation_id (its accepted event is on the
stream); 409 when the operation did not fail or its kind cannot be re-run
safely; 404 when unknown. Supported: failed design-flow runs and failed
jobs of tools that can be retried.
| project_id required | string (Project Id) |
| operation_id required | string (Operation Id) |
{- "operation_id": "string",
- "retry_of": "string",
- "state": "queued"
}Promote (or veto), attributed to whoever made this request.
A dashboard click is a human act, so this route needs no separate approval hop the way the MCP path does — but the authority is still read off the request rather than the body.
Comment (string) or Comment (null) (Comment) | |
| k | number (K) Default: 1 |
| level required | string (Level) |
| projectId required | string (Projectid) |
| reject | boolean (Reject) Default: false |
| requiredClaimIds required | Array of strings (Requiredclaimids) |
{- "comment": "string",
- "k": 1,
- "level": "string",
- "projectId": "string",
- "reject": false,
- "requiredClaimIds": [
- "string"
]
}{- "blockedReason": "string",
- "comment": "string",
- "decidedBy": "string",
- "gateId": "string",
- "level": "string",
- "promoted": true,
- "results": [
- {
- "decision": "string",
- "detail": "string",
- "requirementId": "string",
- "requirementName": "string",
- "waiverId": "string"
}
]
}{- "releases": [
- {
- "created_at": "string",
- "diff_from_previous": {
- "bom_delta": 0,
- "compared_to": "string",
- "decision_delta": 0,
- "evidence_delta": 0,
- "hierarchy_delta": 0
}, - "gate_status": "string",
- "node_id": "string",
- "snapshot": {
- "bom_item_ids": [
- "string"
], - "decision_ids": [
- "string"
], - "design_files": [
- { }
], - "drawing_ids": [
- "string"
], - "evidence_ids": [
- "string"
], - "hierarchy_node_ids": [
- "string"
], - "manifest_sha256": "string"
}, - "statement": "string",
- "title": "string"
}
]
}Notes (string) or Notes (null) (Notes) | |
| project_id required | string (Project Id) |
{- "notes": "string",
- "project_id": "string"
}{- "created_at": "string",
- "diff_from_previous": {
- "bom_delta": 0,
- "compared_to": "string",
- "decision_delta": 0,
- "evidence_delta": 0,
- "hierarchy_delta": 0
}, - "gate_status": "string",
- "node_id": "string",
- "snapshot": {
- "bom_item_ids": [
- "string"
], - "decision_ids": [
- "string"
], - "design_files": [
- { }
], - "drawing_ids": [
- "string"
], - "evidence_ids": [
- "string"
], - "hierarchy_node_ids": [
- "string"
], - "manifest_sha256": "string"
}, - "statement": "string",
- "title": "string"
}create one structured constraint (metric/operator/limit/ unit/target_node_type) from the dashboard's constraint editor. Live pass/fail/no_data status for it then comes from the existing GET /v1/requirements/matrix, computed from real Claim/Evidence data -- this route only ever records the requirement's own declaration.
| expectedEvidence | string (Expectedevidence) Default: "" |
| limit required | number (Limit) |
| message | string (Message) Default: "" |
| metric required | string (Metric) |
| name required | string (Name) |
| operator | string (Operator) Default: "<=" |
| projectId required | string (Projectid) |
| severity | string (Severity) Default: "error" |
| targetNodeType | string (Targetnodetype) Default: "" |
| unit | string (Unit) Default: "" |
| verificationMethod | string (Verificationmethod) Default: "" |
{- "expectedEvidence": "",
- "limit": 0,
- "message": "",
- "metric": "string",
- "name": "string",
- "operator": "<=",
- "projectId": "string",
- "severity": "error",
- "targetNodeType": "",
- "unit": "",
- "verificationMethod": ""
}{- "constraintId": "string",
- "setWorkProductId": "string"
}the 5 traceability coverage percentages
(needs->requirements, requirements->architecture, requirements->
verification, verification->evidence, critical_requirements->evidence),
computed live by TraceabilityAgent -- previously real,
tested code with no gateway route exposing it at all.
| project_id required | string (Project Id) |
{- "critical_requirements_to_evidence": 0,
- "needs_to_requirements": 0,
- "requirements_to_architecture": 0,
- "requirements_to_verification": 0,
- "verification_to_evidence": 0
}requirements x claims x evidence, one row per real requirement -- status (pass/uncertain/fail/no_data/stale) derived live from current claim + evidence staleness state, never cached.
| project_id required | string (Project Id) |
{- "revisionRefs": [ ],
- "rows": [
- {
- "artefactIds": [
- "string"
], - "detail": "string",
- "evidence": [
- {
- "id": "string",
- "limit": 0,
- "margin": 0,
- "method": "string",
- "staleness": "string",
- "tier": 0,
- "value": 0
}
], - "expectedEvidence": "",
- "limitText": "string",
- "requirementId": "string",
- "requirementName": "string",
- "revisionRef": "string",
- "status": "string",
- "verificationMethod": ""
}
]
}| project_id required | string (Project Id) |
| product_type | string (Product Type) Default: "generic" |
{- "completeness": {
- "covered": [
- "string"
], - "missing": [
- "string"
], - "productType": "string"
}, - "conflicts": [
- {
- "aId": "string",
- "aName": "string",
- "bId": "string",
- "bName": "string",
- "detail": "string"
}
], - "requirements": [
- {
- "atomicity": "string",
- "clarity": "string",
- "conflicts": [
- "string"
], - "id": "string",
- "name": "string",
- "quantified": "string",
- "severity": "string",
- "text": "string",
- "traceability": "string",
- "verificationReady": "string"
}
]
}Generate a proposed rewrite for one flawed requirement -- diagnoses with the same deterministic linter the quality report already used, then asks the Requirement Author agent for a corrected version linked back to the original via REFINES. Never writes anything itself; the caller applies the resulting patch through the normal review path.
| requirement_id required | string (Requirement Id) |
{- "conclusions": [
- "string"
], - "proposedText": "string",
- "rationale": "string"
}required | Array of objects (Joints) |
required | Array of objects (Links) |
| payload_mass_kg | number (Payload Mass Kg) Default: 0 |
Array of Payload Position World Mm (items) or Payload Position World Mm (null) (Payload Position World Mm) |
{- "joints": [
- {
- "name": "string",
- "position_world_mm": [
- 0,
- 0,
- 0
]
}
], - "links": [
- {
- "com_world_mm": [
- 0,
- 0,
- 0
], - "mass_kg": 0,
- "name": "string"
}
], - "payload_mass_kg": 0,
- "payload_position_world_mm": [
- 0,
- 0,
- 0
]
}{- "loads": [
- {
- "joint_name": "string",
- "reaction_force_n": [
- 0,
- 0,
- 0
], - "reaction_moment_n_mm": [
- 0,
- 0,
- 0
], - "supported_mass_kg": 0
}
], - "worst_joint": {
- "joint_name": "string",
- "reaction_force_n": [
- 0,
- 0,
- 0
], - "reaction_moment_n_mm": [
- 0,
- 0,
- 0
], - "supported_mass_kg": 0
}
}Every run, or one project's.
Unfiltered before: /runs showed every project's work in one list, and
the project a run belonged to was only inside its request blob. Passing
project_id scopes it; the response says how many runs were left out
for having no project, so they do not simply vanish.
Project Id (string) or Project Id (null) (Project Id) |
{- "runs": [
- {
- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}
], - "unscoped_count": 0
}object (Request) Opaque run input (goal, spec, config) handed to the harness. | |
| start | boolean (Start) Default: true Transition queued -> running immediately after creation. |
{- "request": { },
- "start": true
}{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}Where the AI budget that pays for project_id's model calls stands.
On a hosted gateway this is the budget of the account owning the project:
the monthly amount, what has been spent this month and what is left. A
gateway with no budget answers {"enabled": false}.
Project Id (string) or Project Id (null) (Project Id) |
{ }{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}Answer the gate this run is parked at.
Async so the store transition — which resolves the in-process executor's gate future via the coordinator — runs on the event-loop thread (future resolution is not thread-safe from FastAPI's sync worker pool).
On Temporal the decision is also signalled into the workflow, which is what actually resumes it. The store transition stays, because the run list, the SSE stream and the ledger all read from it.
The deciding human comes from the request, never the body.
FORGE-788 (RT-030): a base_revision that is no longer the gate's
(the run re-drafted, retried or moved on since the person looked) is 409.
| run_id required | string (Run Id) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| decision required | string (Decision) Enum: "approve" "reject" "retry" "rework" |
| reason | string (Reason) <= 2000 characters Default: "" |
| to_phase | string (To Phase) <= 200 characters Default: "" |
{- "base_revision": "string",
- "decision": "approve",
- "reason": "",
- "to_phase": ""
}{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}SSE stream of a run: status transitions plus tool progress.
run.status frames carry the run's state and end the stream when the run
is terminal. tool.progress frames carry an id: so a
client that reconnects with Last-Event-ID is sent the ones it missed.
| run_id required | string (Run Id) |
Last-Event-Id (string) or Last-Event-Id (null) (Last-Event-Id) |
nullPhase-by-phase state of a design-flow run.
Queries the Temporal workflow. A workflow query is answered by a worker,
so with none running there is nobody to answer -- which is reported as
live: false with a reason rather than as an empty flow, because an
empty flow and a flow nobody can see render identically and mean opposite
things.
| run_id required | string (Run Id) |
{- "attempt": 1,
- "awaitingGate": "string",
- "currentPhase": "string",
- "detail": "",
- "error": "string",
- "events": [
- { }
], - "flow": "string",
- "flowContentHash": "string",
- "flowVersion": "string",
- "flowVersionId": "string",
- "gateFindings": [
- "string"
], - "gateReady": true,
- "live": true,
- "maxReworkCycles": 0,
- "phases": [
- {
- "artifacts": [
- "string"
], - "disciplines": [
- "string"
], - "gate": "string",
- "id": "string",
- "status": "string",
- "summary": "",
- "title": "string",
- "usage": { }
}
], - "retriesLeft": 0,
- "reworkCycles": 0,
- "reworksLeft": 0,
- "runId": "string",
- "status": "string",
- "usage": { }
}Record that a run's workflow has opened a gate.
Called by the design-flow worker's announcer. The workflow is the
authority on whether a gate is open, so this first re-reads it
(_reconcile_run). Only when the workflow cannot be asked does it fall
back to the worker's word. Either way it moves the record to
awaiting_approval, which is what lists the run on the Approvals page
and publishes the change on its SSE stream. It never approves: a decision
still has to come through /approval, and the workflow ignores one for
a gate that is not open.
| run_id required | string (Run Id) |
| gate required | string (Gate) non-empty |
| reason | string (Reason) Default: "" |
{- "gate": "string",
- "reason": ""
}{- "approval_deadline": 0,
- "approval_reason": "string",
- "approved_by": "string",
- "approver_verified": false,
- "created_at": 0,
- "engine": "string",
- "error": "string",
- "flow_content_hash": "string",
- "flow_version_id": "string",
- "history": [
- "string"
], - "id": "string",
- "project_id": "string",
- "request": { },
- "result": { },
- "status": "string",
- "updated_at": 0,
- "usage": { }
}Plan a change to a running flow and hold it for a person.
Nothing changes until somebody approves the approval this returns, and
then POST /v1/runs/{run_id}/patches/{version_id}/apply applies it at
the run's next gate. Only the phases the change touches re-run.
| run_id required | string (Run Id) |
| expectedContentHash required | string (Expectedcontenthash) |
| invalidate | Array of strings (Invalidate) |
Array of objects (Operations) | |
| reason required | string (Reason) |
{- "expectedContentHash": "string",
- "invalidate": [
- "string"
], - "operations": [
- { }
], - "reason": "string"
}{- "added": [
- "string"
], - "approvalId": "string",
- "changes": [
- "string"
], - "nextStep": "string",
- "notes": [
- "string"
], - "preserved": [
- "string"
], - "removed": [
- "string"
], - "rerun": [
- "string"
], - "runId": "string",
- "versionId": "string"
}Apply an approved patch. Refused unless approved and still current.
| run_id required | string (Run Id) |
| version_id required | string (Version Id) |
{- "nextStep": "string",
- "rerun": [
- "string"
], - "runId": "string",
- "versionId": "string"
}Start supervising a run until it is verified, a budget is used or a person is needed.
| run_id required | string (Run Id) |
Max Actions (integer) or Max Actions (null) (Max Actions) | |
Max Hours (number) or Max Hours (null) (Max Hours) | |
Max Model Calls (integer) or Max Model Calls (null) (Max Model Calls) | |
Max Restarts (integer) or Max Restarts (null) (Max Restarts) |
{- "max_actions": 1,
- "max_hours": 1,
- "max_model_calls": 1,
- "max_restarts": 0
}{ }| run_id required | string (Run Id) |
| reason | string (Reason) Default: "stopped by a person" |
{- "reason": "stopped by a person"
}{ }Accept a tool event from the design-flow worker or the MCP sidecar.
Those run in their own processes and cannot reach the gateway's stream, so they post here. The route needs the same gateway key as every other route, and it takes no arguments or results, only the tool's name, phase, status and duration. An unknown run is a 404, so the stream cannot be filled for a run that does not exist.
| run_id required | string (Run Id) |
| call_id required | string (Call Id) [ 1 .. 64 ] characters |
Duration Ms (integer) or Duration Ms (null) (Duration Ms) | |
| phase | string (Phase) <= 200 characters Default: "" |
| status required | string (Status) Enum: "started" "finished" "failed" |
| tool required | string (Tool) [ 1 .. 200 ] characters |
{- "call_id": "string",
- "duration_ms": 0,
- "phase": "",
- "status": "started",
- "tool": "string"
}{- "property1": true,
- "property2": true
}List all agent sessions.
Merges internal Temporal WorkflowRuns with externally-recorded
agent sessions so MCP/CLI-driven work shows up alongside
autonomous runs. Most-recent-first.
project_id scopes to one project. Internal Temporal runs
carry no project, so they're excluded when a project filter is set.
Project Id (string) or Project Id (null) (Project Id) |
{- "sessions": [
- {
- "agent_code": "string",
- "completed_at": "string",
- "events": [
- {
- "agent_code": "string",
- "data": { },
- "id": "string",
- "message": "string",
- "timestamp": "string",
- "type": "string"
}
], - "id": "string",
- "project_id": "string",
- "run_id": "string",
- "source": "string",
- "started_at": "string",
- "status": "string",
- "summary": "string",
- "task_type": "string"
}
], - "total": 0,
- "unscoped_count": 0
}Open a new externally-recorded agent session.
| agent_code required | string (Agent Code) |
Project Id (string) or Project Id (null) (Project Id) | |
| task_type required | string (Task Type) |
Title (string) or Title (null) (Title) |
{- "agent_code": "string",
- "project_id": "string",
- "task_type": "string",
- "title": "string"
}{- "agent_code": "string",
- "completed_at": "string",
- "events": [
- {
- "agent_code": "string",
- "data": { },
- "id": "string",
- "message": "string",
- "timestamp": "string",
- "type": "string"
}
], - "id": "string",
- "project_id": "string",
- "run_id": "string",
- "source": "string",
- "started_at": "string",
- "status": "string",
- "summary": "string",
- "task_type": "string"
}Get a single session by ID (store first, then workflow engine).
| session_id required | string (Session Id) |
{- "agent_code": "string",
- "completed_at": "string",
- "events": [
- {
- "agent_code": "string",
- "data": { },
- "id": "string",
- "message": "string",
- "timestamp": "string",
- "type": "string"
}
], - "id": "string",
- "project_id": "string",
- "run_id": "string",
- "source": "string",
- "started_at": "string",
- "status": "string",
- "summary": "string",
- "task_type": "string"
}Complete a session (set terminal status + optional summary).
| session_id required | string (Session Id) |
| status required | string (Status) |
Summary (string) or Summary (null) (Summary) |
{- "status": "string",
- "summary": "string"
}{- "agent_code": "string",
- "completed_at": "string",
- "events": [
- {
- "agent_code": "string",
- "data": { },
- "id": "string",
- "message": "string",
- "timestamp": "string",
- "type": "string"
}
], - "id": "string",
- "project_id": "string",
- "run_id": "string",
- "source": "string",
- "started_at": "string",
- "status": "string",
- "summary": "string",
- "task_type": "string"
}Append one event (thought / action / decision / …) to a session.
| session_id required | string (Session Id) |
object (Data) | |
| message required | string (Message) |
| type required | string (Type) |
{- "data": { },
- "message": "string",
- "type": "string"
}{- "event_id": "string",
- "seq": 0
}List load cases, optionally scoped to a project.
Empty (not a 404) when the project has none yet, matching /v1/bom.
Project Id (string) or Project Id (null) (Project Id) |
{- "loadCases": [
- {
- "createdAt": "string",
- "fixedNodeSet": "string",
- "id": "string",
- "loadForceN": [
- 0
], - "loadNodeSet": "string",
- "material": { },
- "name": "string",
- "projectId": "string",
- "sourceOfLoads": "string",
- "updatedAt": "string"
}
], - "total": 0
}Create a load case, via the same document-recorder path
twin.record_document(document_type='load_case') uses (see module
docstring) so a dashboard-authored and agent-authored case are
indistinguishable on the twin.
| fixedNodeSet required | string (Fixednodeset) non-empty |
| loadForceN required | Array of numbers (Loadforcen) = 3 items |
| loadNodeSet required | string (Loadnodeset) non-empty |
required | object (Material) non-empty |
| name required | string (Name) [ 1 .. 200 ] characters |
| projectId required | string (Projectid) non-empty |
Sourceofloads (string) or Sourceofloads (null) (Sourceofloads) | |
Array of Sourcepartnodeids (strings) or Sourcepartnodeids (null) (Sourcepartnodeids) |
{- "fixedNodeSet": "string",
- "loadForceN": [
- 0,
- 0,
- 0
], - "loadNodeSet": "string",
- "material": { },
- "name": "string",
- "projectId": "string",
- "sourceOfLoads": "string",
- "sourcePartNodeIds": [
- "string"
]
}{- "createdAt": "string",
- "fixedNodeSet": "string",
- "id": "string",
- "loadForceN": [
- 0
], - "loadNodeSet": "string",
- "material": { },
- "name": "string",
- "projectId": "string",
- "sourceOfLoads": "string",
- "updatedAt": "string"
}Named-face geometry for an already-generated mesh.
Backs the dashboard's geometric boundary-condition face picker: given a
mesh file path (from an earlier freecad.generate_mesh call, e.g.
surfaced in a forge chat turn), returns each named surface group's real
centroid/normal/area/bbox so the dashboard can render pickable face
patches instead of a blind "type the gmsh group name" text field.
| meshFile required | string (Meshfile) non-empty |
{- "meshFile": "string"
}{- "faces": [
- {
- "areaMm2": 0,
- "bboxMm": {
- "property1": [
- 0
], - "property2": [
- 0
]
}, - "centroidMm": [
- 0
], - "name": "string",
- "normal": [
- 0
]
}
], - "meshFile": "string"
}List FEA results, optionally scoped to a project.
Empty (not a 404) when the project has none yet, matching
list_load_cases. Creation is agent-driven only (see module
docstring) — there is no corresponding POST.
Project Id (string) or Project Id (null) (Project Id) |
{- "results": [
- {
- "analysedGeometry": { },
- "analysisType": "string",
- "createdAt": "string",
- "fieldQuantities": [
- "string"
], - "fieldRanges": { },
- "fieldSizeBytes": 0,
- "fixtures": [
- { }
], - "hasField": false,
- "id": "string",
- "loadCase": "string",
- "loadCaseSpec": { },
- "loads": [
- { }
], - "maxDisplacementMm": 0,
- "maxTemperatureC": 0,
- "maxVonMisesMpa": 0,
- "meshConvergence": { },
- "meshStats": { },
- "name": "string",
- "projectId": "string",
- "updatedAt": "string"
}
], - "total": 0
}Serve a simulation_result's 3D result field.
404 field not stored for a result recorded without one (every
older result, or one whose MinIO write failed); the
dashboard treats that as "show the numbers only".
| result_id required | string (Result Id) |
{- "detail": [
- {
- "ctx": { },
- "input": null,
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}{- "drawings": [
- {
- "approved": true,
- "approved_at": "string",
- "approved_by": "string",
- "created_at": "string",
- "dimensions": [
- {
- "feature": "string",
- "nominal_mm": 0,
- "tolerance_minus_mm": 0,
- "tolerance_plus_mm": 0
}
], - "gdt_callouts": [
- {
- "datum_refs": [
- "string"
], - "feature": "string",
- "symbol": "string",
- "tolerance_value_mm": 0
}
], - "inspection_requirements": [
- "string"
], - "name": "string",
- "node_id": "string",
- "part_name": "string",
- "surface_finishes": [
- {
- "feature": "string",
- "ra_um": 0
}
]
}
]
}| project_id required | string (Project Id) |
{- "project_id": "string"
}{- "entries": [
- {
- "acceptance_value": "string",
- "node_id": "string",
- "requirement_id": "string",
- "step": "string"
}
], - "project_id": "string"
}required | object (Criteriascores) |
| evidenceBackedCriteria | Array of strings (Evidencebackedcriteria) Default: [] |
Projectid (string) or Projectid (null) (Projectid) | |
| title required | string (Title) |
{- "criteriaScores": {
- "property1": 0,
- "property2": 0
}, - "evidenceBackedCriteria": [ ],
- "projectId": "string",
- "title": "string"
}{ }| optionIds required | Array of strings (Optionids) |
Projectid (string) or Projectid (null) (Projectid) | |
| rationale required | string (Rationale) |
Array of Requirementids (strings) or Requirementids (null) (Requirementids) | |
| selectedOptionId required | string (Selectedoptionid) |
| title required | string (Title) |
required | object (Weights) |
{- "optionIds": [
- "string"
], - "projectId": "string",
- "rationale": "string",
- "requirementIds": [
- "string"
], - "selectedOptionId": "string",
- "title": "string",
- "weights": {
- "property1": 0,
- "property2": 0
}
}{ }A project's baselines, newest first.
Project Id (string) or Project Id (null) (Project Id) |
{- "baselines": [
- {
- "approved_by": [
- "string"
], - "created_at": "string",
- "gate_id": "string",
- "id": "string",
- "item_count": 0,
- "member_count": 0,
- "name": "string",
- "project_id": "string",
- "reason": "",
- "run_id": "string",
- "source": "manual"
}
], - "total": 0
}Per item: unchanged, changed (@x -> @y), added or removed between a and b.
| a required | string (A) Baseline id |
| b required | string (B) Baseline id, or 'current' for the project's current items |
{- "a": {
- "approved_by": [
- "string"
], - "created_at": "string",
- "gate_id": "string",
- "id": "string",
- "item_count": 0,
- "member_count": 0,
- "name": "string",
- "project_id": "string",
- "reason": "",
- "run_id": "string",
- "source": "manual"
}, - "b": {
- "approved_by": [
- "string"
], - "created_at": "string",
- "gate_id": "string",
- "id": "string",
- "item_count": 0,
- "member_count": 0,
- "name": "string",
- "project_id": "string",
- "reason": "",
- "run_id": "string",
- "source": "manual"
}, - "b_is_current": false,
- "counts": {
- "property1": 0,
- "property2": 0
}, - "items": [
- {
- "from_ref": "string",
- "from_revision": 0,
- "item_type": "string",
- "key": "string",
- "name": "string",
- "status": "string",
- "to_ref": "string",
- "to_revision": 0
}
]
}One baseline with its item pins and constraint/entity members.
| baseline_id required | string (Baseline Id) |
{- "approved_by": [
- "string"
], - "created_at": "string",
- "gate_id": "string",
- "id": "string",
- "item_count": 0,
- "items": [
- {
- "item_type": "string",
- "key": "string",
- "name": "",
- "node_id": "string",
- "ref": "string",
- "revision": 0
}
], - "member_count": 0,
- "members": [
- {
- "entity_id": "string",
- "entity_kind": "string",
- "revision": 0
}
], - "name": "string",
- "project_id": "string",
- "reason": "",
- "run_id": "string",
- "source": "manual"
}The project's current items, records, counts and readiness (current items only).
| project_id required | string (Project Id) |
{- "counts": { },
- "groups": [
- {
- "count": 0,
- "item_type": "string",
- "keys": [
- "string"
]
}
], - "items": [
- {
- "author": "string",
- "change_reason": "string",
- "drafts": [
- {
- "adopted": false,
- "author": "string",
- "change_reason": "string",
- "created_at": "string",
- "gate_id": "string",
- "name": "string",
- "node_id": "string",
- "revision": 0,
- "run_id": "string",
- "status": "string"
}
], - "evidence_count": 0,
- "evidence_state": "string",
- "gate_id": "string",
- "item_type": "string",
- "key": "string",
- "name": "string",
- "node_id": "string",
- "ref": "string",
- "revision": 0,
- "revision_count": 0,
- "revision_status": "string",
- "run_id": "string",
- "updated_at": "string",
- "validation_status": "string"
}
], - "latest_baseline": {
- "approved_by": [
- "string"
], - "created_at": "string",
- "gate_id": "string",
- "id": "string",
- "item_count": 0,
- "member_count": 0,
- "name": "string",
- "project_id": "string",
- "reason": "",
- "run_id": "string",
- "source": "manual"
}, - "other": [
- {
- "name": "string",
- "node_id": "string",
- "type": "string",
- "updated_at": "string",
- "validation_status": "string"
}
], - "project_id": "string",
- "readiness": 0,
- "records": [
- {
- "analysed": [
- {
- "current": true,
- "key": "string",
- "ref": "string",
- "revision": 0
}
], - "created_at": "string",
- "name": "string",
- "node_id": "string",
- "out_of_date": false,
- "record_type": "string",
- "staleness": "string"
}
]
}List a project's hierarchy nodes, each with its parent link and its own rolled-up mass/cost.
Empty (not a 404) when the project has none yet, matching /v1/bom.
Note: computes one rollup per node (each its own subtree walk) -- fine
at the scale a hand-built product hierarchy actually reaches, not
optimized for a tree of thousands of nodes.
Project Id (string) or Project Id (null) (Project Id) |
{- "malformedBudgets": [ ],
- "nodes": [
- {
- "cost": 0,
- "costBudget": 0,
- "costBudgetDiscipline": "string",
- "costBudgetOwner": "string",
- "costOverBudget": true,
- "costPartial": false,
- "costPricedLines": 0,
- "costTotalLines": 0,
- "dissipationW": 0,
- "drawAverageW": 0,
- "drawPeakW": 0,
- "id": "string",
- "instanceOfBomItemId": "string",
- "interfaces": [
- {
- "description": "",
- "interfaceType": "",
- "otherComponent": "string",
- "quantities": [
- {
- "limit": 0,
- "metric": "string",
- "op": "<=",
- "unit": "string"
}
]
}
], - "kind": "string",
- "massBudgetDiscipline": "string",
- "massBudgetKg": 0,
- "massBudgetOwner": "string",
- "massKg": 0,
- "massOverBudget": true,
- "name": "string",
- "outputW": 0,
- "parentId": "string",
- "placement": { },
- "quantity": 0,
- "realizedByWorkProductId": "string"
}
]
}"Replace placeholder with part": attach or replace node_id's
REALIZED_BY (a cad_model work product, e.g. from POST /v1/twin/import)
and/or INSTANCE_OF (a BOMItem) geometry -- the dashboard's own action
reuses the SAME bound callable twin.realize_hierarchy_node uses.
| node_id required | string (Node Id) |
Bomitemid (string) or Bomitemid (null) (Bomitemid) | |
Workproductid (string) or Workproductid (null) (Workproductid) |
{- "bomItemId": "string",
- "workProductId": "string"
}{- "instanceOfBomItemId": "string",
- "nodeId": "string",
- "realizedByWorkProductId": "string"
}Upload a design file and register it as a work product in the Twin.
Accepts CAD (STEP, IGES, FreeCAD), KiCad, meshes (STL, OBJ, GLB, glTF,
PLY, 3MF), G-code, images, firmware and documents; ALLOWED_EXTENSIONS
is the list. A person importing here is the approval: uploads from an
agent or a link go through /v1/uploads and wait for one.
| description | string (Description) Default: "" Work product description |
Domain (string) or Domain (null) (Domain) Domain (mechanical, electronics) | |
| file required | string <application/octet-stream> (File) Design file to import |
Project Id (string) or Project Id (null) (Project Id) Project to link to | |
Wp Type (string) or Wp Type (null) (Wp Type) Work product type |
{- "content_hash": "string",
- "created_at": "string",
- "domain": "string",
- "file_path": "string",
- "format": "string",
- "id": "string",
- "metadata": { },
- "name": "string",
- "project_id": "string",
- "wp_type": "string"
}Real boolean-intersection clearance/interference check between two named parts' committed STEP geometry (gap G-D4).
Deliberately a pairwise check on two caller-named parts, not an
all-pairs sweep across an entire assembly, and deliberately not an ISO
286 tolerance-grade/fit classification -- see
api_gateway.twin.interference_check's module docstring for why
both are out of scope here.
| work_product_id_a required | string (Work Product Id A) |
| work_product_id_b required | string (Work Product Id B) |
{- "interference_area_mm2": 0,
- "interference_volume_mm3": 0,
- "interferes": true,
- "work_product_id_a": "string",
- "work_product_id_b": "string"
}Versioned definitions, each at its current head.
Project Id (string) or Project Id (null) (Project Id) | |
Item Type (string) or Item Type (null) (Item Type) e.g. cad_model, constraint_set |
{- "items": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "draft_node_id": "string",
- "draft_ref": "string",
- "draft_revision": 0,
- "head_node_id": "string",
- "head_ref": "string",
- "head_revision": 0,
- "item_type": "string",
- "key": "string",
- "name": "string",
- "project_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "total": 0
}Geometry delta, parameter, requirement and field changes between two revisions.
| key required | string (Key) |
A (string) or A (null) (A) Older revision, e.g. 2 or @2 | |
B (string) or B (null) (B) Newer revision; defaults to the current one | |
Project Id (string) or Project Id (null) (Project Id) |
{- "a": { },
- "a_ref": "string",
- "b": { },
- "b_ref": "string",
- "dependents": [
- { }
], - "fields": [
- { }
], - "geometry": { },
- "item_type": "string",
- "key": "string",
- "name": "string",
- "parameters": [
- { }
], - "requirements": [
- { }
], - "warnings": [
- "string"
]
}Build (or validate) a CAD item's exact geometry as a background job.
| key required | string (Key) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
Design Ir (object) or Design Ir (null) (Design Ir) | |
Feature Id (string) or Feature Id (null) (Feature Id) | |
Inputs (object) or Inputs (null) (Inputs) | |
| project_id required | string (Project Id) |
Script (string) or Script (null) (Script) |
{- "base_revision": "string",
- "design_ir": { },
- "feature_id": "string",
- "inputs": { },
- "project_id": "string",
- "script": "string"
}{- "cache_hit": true,
- "error": "string",
- "expected_seconds": 0,
- "job_id": "string",
- "poll": "string",
- "result": { },
- "reused": false,
- "status": "string",
- "step_export": { },
- "tool_id": "string",
- "url": "string"
}One prd prose revision (KEY or KEY@n) with the current requirements.
| key required | string (Key) |
Project Id (string) or Project Id (null) (Project Id) | |
Run Id (string) or Run Id (null) (Run Id) Read as this design-flow run: include its open drafts |
{- "markdown": "string",
- "project_id": "string",
- "prose_ref": "string",
- "refs": [
- "string"
], - "requirement_count": 0,
- "requirement_refs": [
- "string"
], - "sources": [
- {
- "item_type": "string",
- "name": "string",
- "node_id": "string",
- "ref": "string",
- "requirement_count": 0
}
], - "title": "string"
}Every revision of one item, oldest first. key may carry an @n suffix.
| key required | string (Key) |
Project Id (string) or Project Id (null) (Project Id) | |
Run Id (string) or Run Id (null) (Run Id) Read as this design-flow run: include its open drafts |
{- "current": {
- "node_id": "string",
- "ref": "string",
- "revision": 0
}, - "item": {
- "created_at": "2019-08-24T14:15:22Z",
- "draft_node_id": "string",
- "draft_ref": "string",
- "draft_revision": 0,
- "head_node_id": "string",
- "head_ref": "string",
- "head_revision": 0,
- "item_type": "string",
- "key": "string",
- "name": "string",
- "project_id": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "lessons": [ ],
- "revisions": [
- {
- "adopted": true,
- "author": "string",
- "baselines": [
- "string"
], - "change_reason": "string",
- "change_set": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "gate": "string",
- "is_head": true,
- "name": "string",
- "node_id": "string",
- "phase": "string",
- "revision": 0,
- "run_id": "string",
- "status": "committed",
- "status_reason": "string"
}
]
}List file links with live sync status, optionally scoped to a project.
A link has no project of its own; scoping keeps only links whose
linked work product belongs to project_id.
Project Id (string) or Project Id (null) (Project Id) |
[- {
- "created_at": "string",
- "last_synced_at": "string",
- "source_hash": "string",
- "source_path": "string",
- "sync_status": "string",
- "tool": "string",
- "watch": true,
- "work_product_id": "string"
}
]List work-product nodes in the Digital Twin.
project_id scopes the view to a single project. Omitted
or empty returns every node (including unscoped legacy nodes) —
preserving the prior global behaviour. A specific project_id
returns only that project's nodes; unscoped nodes are excluded.
a design-flow run's drafts are left out until its gate
approves them (and for good if it never does); include_drafts=true
lists them too.
History records about a change (change_impact) are not design work
products, so they are left out of the list and of total;
include_history=true lists them too. They are always readable through
/v1/twin/projects/{id}/impact.
Domain (string) or Domain (null) (Domain) | |
Project Id (string) or Project Id (null) (Project Id) | |
| include_drafts | boolean (Include Drafts) Default: false |
| include_history | boolean (Include History) Default: false |
{- "nodes": [
- {
- "assembly": { },
- "assemblyParts": [
- { }
], - "dependsOn": [
- {
- "itemKey": "string",
- "itemRef": "string",
- "itemType": "",
- "nodeId": "string",
- "revision": 0
}
], - "designFiles": { },
- "domain": "string",
- "geometryParameters": { },
- "geometryState": {
- "authority": "string",
- "badge": "string",
- "itemKey": "string",
- "sourceRevision": 0,
- "state": "string"
}, - "hasScript": false,
- "id": "string",
- "meshStats": { },
- "name": "string",
- "poses": {
- "property1": {
- "property1": 0,
- "property2": 0
}, - "property2": {
- "property1": 0,
- "property2": 0
}
}, - "projectId": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "representation": {
- "authority": "string",
- "component_ids": [
- "string"
], - "derived": true,
- "dimensions": "string",
- "display_rank": 0,
- "generated_by": {
- "property1": "string",
- "property2": "string"
}, - "guarded": [
- "string"
], - "label": "string",
- "level": "string",
- "source_revision": "string"
}, - "staleness": {
- "reason": "string",
- "staleFor": { },
- "status": "string",
- "supersededBy": "string"
}, - "status": "string",
- "systemArchitecture": { },
- "technicalDrawing": { },
- "type": "string",
- "updatedAt": "string"
}
], - "total": 0
}Real CSG boolean-cut between two committed STEP work products.
A direct-commit endpoint, not the twin.propose_change/apply HITL
pipeline — a human cutting their own open model is not meaningfully
different from clicking Save (same rationale as twin.record_document,
whose apply executor doesn't fit this action either). Drives the
containerized CadQuery adapter via the shared MCP bridge, then commits the
result through the geometry recorder with provenance edges to both inputs.
| cutter_node_id required | string (Cutter Node Id) non-empty |
| operation | string (Operation) Default: "subtract" Enum: "subtract" "union" "intersect" |
Result Name (string) or Result Name (null) (Result Name) | |
| target_node_id required | string (Target Node Id) non-empty |
{- "cutter_node_id": "string",
- "operation": "subtract",
- "result_name": "string",
- "target_node_id": "string"
}{- "node": {
- "assembly": { },
- "assemblyParts": [
- { }
], - "dependsOn": [
- {
- "itemKey": "string",
- "itemRef": "string",
- "itemType": "",
- "nodeId": "string",
- "revision": 0
}
], - "designFiles": { },
- "domain": "string",
- "geometryParameters": { },
- "geometryState": {
- "authority": "string",
- "badge": "string",
- "itemKey": "string",
- "sourceRevision": 0,
- "state": "string"
}, - "hasScript": false,
- "id": "string",
- "meshStats": { },
- "name": "string",
- "poses": {
- "property1": {
- "property1": 0,
- "property2": 0
}, - "property2": {
- "property1": 0,
- "property2": 0
}
}, - "projectId": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "representation": {
- "authority": "string",
- "component_ids": [
- "string"
], - "derived": true,
- "dimensions": "string",
- "display_rank": 0,
- "generated_by": {
- "property1": "string",
- "property2": "string"
}, - "guarded": [
- "string"
], - "label": "string",
- "level": "string",
- "source_revision": "string"
}, - "staleness": {
- "reason": "string",
- "staleFor": { },
- "status": "string",
- "supersededBy": "string"
}, - "status": "string",
- "systemArchitecture": { },
- "technicalDrawing": { },
- "type": "string",
- "updatedAt": "string"
}, - "operation": "string",
- "result_area_mm2": 0,
- "result_volume_mm3": 0
}Delete a work-product node, its project links, and its MinIO blob.
Without cascade a delete that would orphan dependents returns 409.
Best-effort on the blob (a storage failure doesn't block the delete).
| node_id required | string (Node Id) |
| cascade | boolean (Cascade) Default: false Also delete dependents that would orphan |
{- "detail": [
- {
- "ctx": { },
- "input": null,
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get a single work-product node by ID.
| node_id required | string (Node Id) |
{- "assembly": { },
- "assemblyParts": [
- { }
], - "dependsOn": [
- {
- "itemKey": "string",
- "itemRef": "string",
- "itemType": "",
- "nodeId": "string",
- "revision": 0
}
], - "designFiles": { },
- "domain": "string",
- "geometryParameters": { },
- "geometryState": {
- "authority": "string",
- "badge": "string",
- "itemKey": "string",
- "sourceRevision": 0,
- "state": "string"
}, - "hasScript": false,
- "id": "string",
- "meshStats": { },
- "name": "string",
- "poses": {
- "property1": {
- "property1": 0,
- "property2": 0
}, - "property2": {
- "property1": 0,
- "property2": 0
}
}, - "projectId": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}, - "representation": {
- "authority": "string",
- "component_ids": [
- "string"
], - "derived": true,
- "dimensions": "string",
- "display_rank": 0,
- "generated_by": {
- "property1": "string",
- "property2": "string"
}, - "guarded": [
- "string"
], - "label": "string",
- "level": "string",
- "source_revision": "string"
}, - "staleness": {
- "reason": "string",
- "staleFor": { },
- "status": "string",
- "supersededBy": "string"
}, - "status": "string",
- "systemArchitecture": { },
- "technicalDrawing": { },
- "type": "string",
- "updatedAt": "string"
}Human sign-off on a parametric sketch, through the design-sketch approver.
| node_id required | string <uuid> (Node Id) |
Approved By (string) or Approved By (null) (Approved By) | |
Any of <= 200 characters string (Approved By) <= 200 characters | |
{- "approved_by": "string"
}{- "approved": true,
- "approved_at": "string",
- "node_id": "string"
}Human sign-off on a design_sketch work product.
The forge/agent side creates a sketch as unapproved (twin.commit_design_sketch); this is the dashboard's side of the gate — a human explicitly approving it before the calling agent is expected to proceed to real CAD/build work.
| node_id required | string <uuid> (Node Id) |
Approved By (string) or Approved By (null) (Approved By) Identifier of the human approving this sketch. | |
Any of string (Approved By) Identifier of the human approving this sketch. | |
{- "approved_by": "string"
}{- "approved": true,
- "approved_at": "string",
- "node_id": "string"
}Human sign-off on a technical_drawing work product (gap G-H1).
Mirrors approve_design_sketch above -- a real work product, a real
approval gate, not a dashboard-local checkbox.
| node_id required | string <uuid> (Node Id) |
Approved By (string) or Approved By (null) (Approved By) Identifier of the human approving this drawing. | |
Any of string (Approved By) Identifier of the human approving this drawing. | |
{- "approved_by": "string"
}{- "approved": true,
- "approved_at": "string",
- "node_id": "string"
}Compare a CAD revision's components: pose, alignment, interference (spec section 7).
Each component is found by the id written into its GLB node; poses are
compared with the project's structured layout (L1). What cannot be
measured is not_evaluated with the reason. The record is stored on
the revision under assembly_comparison.
| node_id required | string (Node Id) |
| refresh | boolean (Refresh) Default: false Recompute even when a record for this content exists |
{ }Add/edit/delete mates+joints on an already-committed assembly node.
Whole-list replace -- matches how the URDF/SDF/USD export panel's own
manual joint-list form already works. Persisted
directly onto metadata.assembly.joints: a joint is a logical
annotation, not new geometry, so this deliberately skips the full
VersionService revision machinery /nodes/{id}/iterate uses for
an actual re-export -- editing joints here never touches the underlying
committed blob.
Unlike the export panel, this does NOT require a live FreeCAD session or re-running an export -- it works on any already-committed node, any time, which is the whole point (joints are persisted onto the node at commit time; this is what makes them editable afterward).
| node_id required | string <uuid> (Node Id) |
required | Array of objects (Joints) | ||||||||||||||
Array
| |||||||||||||||
{- "joints": [
- {
- "anchor": [
- 0,
- 0,
- 0
], - "axis": [
- 0,
- 0,
- 1
], - "base": "string",
- "follower": "string",
- "limits": {
- "property1": 0,
- "property2": 0
}, - "name": "string",
- "type": "string"
}
]
}{- "assembly": { },
- "nodeId": "string"
}Return a metadata diff between two revisions (1-indexed).
| node_id required | string <uuid> (Node Id) |
| v1 required | integer (V1) |
| v2 required | integer (V2) |
{- "added": { },
- "changed": {
- "property1": {
- "from_value": null,
- "to_value": null
}, - "property2": {
- "from_value": null,
- "to_value": null
}
}, - "removed": { },
- "revision_a": 0,
- "revision_b": 0,
- "work_product_id": "string"
}A revision's geometry state and its GLB, native CAD and STEP export states.
| node_id required | string (Node Id) |
{- "authority": "string",
- "badge": "string",
- "can_export_step": false,
- "exports": [
- {
- "detail": "",
- "format": "string",
- "revision": 0,
- "round_trip": "string",
- "schema": "string",
- "state": "string",
- "url": "string"
}
], - "geometry_state": "string",
- "head_revision": 0,
- "is_head": false,
- "item_key": "string",
- "last_validated": { },
- "latest_attempt": { },
- "node_id": "string",
- "revision": 0,
- "validity": { }
}Queue the STEP export of a validated revision; a cached one answers 200 at once.
| node_id required | string (Node Id) |
| critical | boolean (Critical) Default: false |
{- "critical": false
}{- "cache_hit": true,
- "error": "string",
- "expected_seconds": 0,
- "job_id": "string",
- "poll": "string",
- "result": { },
- "reused": false,
- "status": "string",
- "step_export": { },
- "tool_id": "string",
- "url": "string"
}Stream a work product's stored file for download / open / preview.
download=false (default) returns the blob inline with a preview
content-type so the dashboard can render PDFs, images, text, and BOMs
in place; download=true forces a Content-Disposition: attachment.
| node_id required | string (Node Id) |
| download | boolean (Download) Default: false Force attachment download vs inline preview |
nullStream one of a work product's NAMED blobs.
GET /nodes/{id}/file only ever serves the primary blob. A
robot_description node stores N additional mesh blobs (one per
URDF link) under metadata["mesh_files"] (link filename -> MinIO
object key) — this resolves any of THOSE by filename, or falls back to
the primary blob if filename matches it, so the dashboard's
existing URDF preview (which expects every mesh reachable at
{some_base_url}/{filename}, exactly like a fresh export's
_cad_exports/{export_id}/ directory) can point straight at a
persisted node with zero re-export round trip.
| node_id required | string (Node Id) |
| filename required | string (Filename) |
nullDiff a work product's real geometry against its SUPERSEDES predecessor.
Unlike /diff above (a metadata-revision diff on the SAME node --
/iterate never changes the underlying blob, so no two revisions of one
node ever have different geometry), this walks the real SUPERSEDES edge a
re-committed, same-named CAD_MODEL gets (api_gateway.twin.geometry_ recorder) and compares the two NODES' actual STEP files.
A node that has never been superseded gets a 200 saying so rather than a 404: the dashboard asks this for every selected node, so the common answer must not read as an error in the console or in telemetry. A 404 here now means only that the node itself is unknown.
| node_id required | string (Node Id) |
{- "area_delta_mm2": 0,
- "current_area_mm2": 0,
- "current_bounding_box": { },
- "current_volume_mm3": 0,
- "current_work_product_id": "string",
- "has_previous_version": true,
- "previous_area_mm2": 0,
- "previous_bounding_box": { },
- "previous_volume_mm3": 0,
- "previous_work_product_id": "string",
- "volume_delta_mm3": 0
}Record a new revision and apply metadata updates to a work product.
| node_id required | string <uuid> (Node Id) |
| change_description required | string (Change Description) |
object (Metadata Updates) Default: {} |
{- "change_description": "string",
- "metadata_updates": { }
}{- "change_description": "string",
- "content_hash": "string",
- "created_at": "string",
- "metadata_snapshot": { },
- "revision": 0
}Get the file link for a work product, with live sync status.
| node_id required | string (Node Id) |
{- "created_at": "string",
- "last_synced_at": "string",
- "source_hash": "string",
- "source_path": "string",
- "sync_status": "string",
- "tool": "string",
- "watch": true,
- "work_product_id": "string"
}Link a work product to an external source file.
The source file must exist on the gateway's filesystem. Once linked,
you can call POST /sync to re-import changes, or enable watch
for automatic detection.
| node_id required | string (Node Id) |
| source_path required | string (Source Path) Absolute path to the source file |
| tool | string (Tool) Default: "" Tool identifier (kicad, freecad, cadquery) |
| watch | boolean (Watch) Default: true Enable file watching |
{- "source_path": "string",
- "tool": "",
- "watch": true
}{- "created_at": "string",
- "last_synced_at": "string",
- "source_hash": "string",
- "source_path": "string",
- "sync_status": "string",
- "tool": "string",
- "watch": true,
- "work_product_id": "string"
}Convert a CAD work-product's STEP file to GLB and return the URL.
Reads the STEP file from the shared adapter workspace, converts it via the OCCT converter, and returns the GLB URL + metadata.
| node_id required | string (Node Id) |
| quality | string (Quality) ^(preview|standard|fine)$ Default: "standard" |
{ }The current git-versioned generation script for a CAD_MODEL node.
Lets a dashboard parameter panel seed a regeneration proposal with the script as it stands today, rather than the user retyping it from scratch. 404 when the node has no linked script (imported geometry, or the git backend isn't configured).
| node_id required | string <uuid> (Node Id) |
{- "git_commit_sha": "string",
- "git_path": "string",
- "node_id": "string",
- "script_node_id": "string",
- "script_source": "string"
}Return the full revision history for a work product.
| node_id required | string <uuid> (Node Id) |
{- "revisions": [
- {
- "change_description": "string",
- "content_hash": "string",
- "created_at": "string",
- "metadata_snapshot": { },
- "revision": 0
}
], - "total": 0,
- "work_product_id": "string"
}The product's and each component's look. recorded: false when none was set.
| project_id required | string (Project Id) |
{- "project_id": "string",
- "record": {
- "components": [
- {
- "colour": "string",
- "colour_name": "string",
- "finish": "string",
- "key": "string",
- "name": "string",
- "node_id": "string",
- "render_material": "string",
- "request": "",
- "source": "",
- "texture_refs": [
- "string"
], - "updated_at": "string"
}
], - "product": {
- "colour": "string",
- "colour_name": "string",
- "finish": "string",
- "render_material": "string",
- "request": "",
- "source": "",
- "texture_refs": [
- "string"
], - "updated_at": "string"
}, - "project_id": "string"
}, - "recorded": true,
- "ref": "string"
}Set a look. Only the appearance record changes: never CAD or the manufacturing context.
| project_id required | string (Project Id) |
Colour (string) or Colour (null) (Colour) sRGB hex, e.g. #c62828 | |
Colour Name (string) or Colour Name (null) (Colour Name) | |
Component (string) or Component (null) (Component) | |
Component Id (string) or Component Id (null) (Component Id) | |
Finish (string) or Finish (null) (Finish) | |
Render Material (string) or Render Material (null) (Render Material) | |
| texture_refs | Array of strings (Texture Refs) <= 8 items |
{- "colour": "string",
- "colour_name": "string",
- "component": "string",
- "component_id": "string",
- "finish": "string",
- "render_material": "string",
- "texture_refs": [
- "string"
]
}{- "project_id": "string",
- "record": {
- "components": [
- {
- "colour": "string",
- "colour_name": "string",
- "finish": "string",
- "key": "string",
- "name": "string",
- "node_id": "string",
- "render_material": "string",
- "request": "",
- "source": "",
- "texture_refs": [
- "string"
], - "updated_at": "string"
}
], - "product": {
- "colour": "string",
- "colour_name": "string",
- "finish": "string",
- "render_material": "string",
- "request": "",
- "source": "",
- "texture_refs": [
- "string"
], - "updated_at": "string"
}, - "project_id": "string"
}, - "recorded": true,
- "ref": "string"
}CAD items whose head is validated exact geometry (a face can be picked on them).
| project_id required | string (Project Id) |
{- "items": [
- {
- "geometry_state": "string",
- "item_key": "string",
- "item_ref": "string",
- "name": "string",
- "node_id": "string",
- "revision": 0
}
], - "project_id": "string",
- "reason": "string"
}Every CAD design loop run of the project, newest first.
| project_id required | string (Project Id) |
Component Id (string) or Component Id (null) (Component Id) |
{- "active_jobs": [
- { }
], - "note": "Proposals only: the critic's verdict is a review, not a check. A version is validated only by the exact CAD path after a person accepts it.",
- "runs": [
- { }
], - "spend": {
- "cap": 0,
- "policy_mode": "string",
- "policy_would_approve": true,
- "used_last_hour": 0
}
}Refine a component's model automatically (a paid job). 409 asks to confirm spend.
| project_id required | string (Project Id) |
| allow_working_values | boolean (Allow Working Values) Default: true |
object (Answers) <= 50 properties | |
Component Id (string) or Component Id (null) (Component Id) | |
| confirm_spend | boolean (Confirm Spend) Default: false |
Intent (string) or Intent (null) (Intent) | |
| max_iterations | integer (Max Iterations) [ 1 .. 8 ] Default: 5 |
Max Model Calls (integer) or Max Model Calls (null) (Max Model Calls) | |
Max Spend Usd (number) or Max Spend Usd (null) (Max Spend Usd) | |
Sketch Key (string) or Sketch Key (null) (Sketch Key) | |
Target Dimensions (object) or Target Dimensions (null) (Target Dimensions) | |
Tolerance Mm (number) or Tolerance Mm (null) (Tolerance Mm) | |
Array of Views (strings) or Views (null) (Views) |
{- "allow_working_values": true,
- "answers": {
- "property1": 0,
- "property2": 0
}, - "component_id": "string",
- "confirm_spend": false,
- "intent": "string",
- "max_iterations": 5,
- "max_model_calls": 1,
- "max_spend_usd": 1,
- "sketch_key": "string",
- "target_dimensions": {
- "property1": 0,
- "property2": 0
}, - "tolerance_mm": 1,
- "views": [
- "string"
]
}{- "error": "string",
- "expected_seconds": 0,
- "job_id": "string",
- "operation_id": "string",
- "result": { },
- "reused": false,
- "spend": {
- "cap": 0,
- "policy_mode": "string",
- "policy_would_approve": true,
- "used_last_hour": 0
}, - "status": "string"
}Use the proposed version (built through the exact path) or keep the previous one.
| project_id required | string (Project Id) |
| node_id required | string (Node Id) |
| decision required | string (Decision) Enum: "accept" "reject" |
{- "decision": "accept"
}{ }Classify a change request before anything changes. Writes nothing.
| project_id required | string (Project Id) |
Component (string) or Component (null) (Component) Selected component name | |
Component Id (string) or Component Id (null) (Component Id) Selected node id | |
| text required | string (Text) [ 1 .. 4000 ] characters |
Use Llm (boolean) or Use Llm (null) (Use Llm) |
{- "component": "string",
- "component_id": "string",
- "text": "string",
- "use_llm": true
}{- "also": [
- "appearance"
], - "appearance": {
- "colour": "string",
- "colour_name": "string",
- "finish": "string",
- "render_material": "string",
- "texture_refs": [
- "string"
]
}, - "change_class": "appearance",
- "choices": [
- "string"
], - "confidence": 0,
- "handling": "string",
- "message": "string",
- "proposed_context_update": { },
- "signals": [
- "string"
], - "stage": "rules",
- "stated_dimensions": [
- "string"
], - "target_component": "string",
- "target_component_id": "string",
- "target_feature": "string"
}The newest 3D concept, the job still running and what the next one would use.
| project_id required | string (Project Id) |
{- "active_job": { },
- "authority": "illustrative",
- "label": "AI 3D reference model, illustrative only",
- "latest": { },
- "next_source": {
- "item_ref": "string",
- "kind": "generated_sketch",
- "name": "string",
- "node_id": "string",
- "prompt": "string"
}, - "spend": {
- "cap": 0,
- "policy_mode": "string",
- "policy_would_approve": true,
- "used_last_hour": 0
}
}Make an illustrative 3D concept (a GLB) as a background job.
From the accepted concept, else the newest concept image, else the brief
in words. 409 spend_confirmation_required when a person must confirm
the paid call first (confirm_spend).
| project_id required | string (Project Id) |
| confirm_spend | boolean (Confirm Spend) Default: false |
Image Node Id (string) or Image Node Id (null) (Image Node Id) | |
Prompt (string) or Prompt (null) (Prompt) | |
| source | string (Source) Default: "auto" Enum: "auto" "generated_sketch" "concept_image" "text" |
{- "confirm_spend": false,
- "image_node_id": "string",
- "prompt": "string",
- "source": "auto"
}{- "authority": "illustrative",
- "error": "string",
- "expected_seconds": 0,
- "job_id": "string",
- "label": "AI 3D reference model, illustrative only",
- "operation_id": "string",
- "result": { },
- "reused": false,
- "source": {
- "item_ref": "string",
- "kind": "generated_sketch",
- "name": "string",
- "node_id": "string",
- "prompt": "string"
}, - "spend": {
- "cap": 0,
- "policy_mode": "string",
- "policy_would_approve": true,
- "used_last_hour": 0
}, - "status": "string"
}The accepted 3D concept, the proposals beside it and what to map parts to.
| project_id required | string (Project Id) |
{- "active_jobs": [
- { }
], - "authority": "illustrative",
- "components": [
- { }
], - "current": { },
- "proposals": [
- { }
], - "spend": {
- "cap": 0,
- "policy_mode": "string",
- "policy_would_approve": true,
- "used_last_hour": 0
}
}Split the accepted 3D concept into parts (a paid job). 409 asks to confirm spend.
| project_id required | string (Project Id) |
| confirm_spend | boolean (Confirm Spend) Default: false |
Granularity (string) or Granularity (null) (Granularity) | |
| model | string (Model) Default: "v1.0-20250506" Enum: "v1.0-20250506" "v2.0-20260430" |
Node Id (string) or Node Id (null) (Node Id) | |
Split By Connectivity (boolean) or Split By Connectivity (null) (Split By Connectivity) |
{- "confirm_spend": false,
- "granularity": "simple",
- "model": "v1.0-20250506",
- "node_id": "string",
- "split_by_connectivity": true
}{- "authority": "illustrative",
- "error": "string",
- "expected_seconds": 0,
- "job_id": "string",
- "operation_id": "string",
- "result": { },
- "reused": false,
- "spend": {
- "cap": 0,
- "policy_mode": "string",
- "policy_would_approve": true,
- "used_last_hour": 0
}, - "status": "string",
- "tool": "string"
}Seal or complete one part with the provider (a paid job).
| project_id required | string (Project Id) |
| node_id required | string (Node Id) |
| completion_mode | string (Completion Mode) Default: "quick_cap" Enum: "quick_cap" "ai_completion" |
| component_id required | string (Component Id) [ 1 .. 200 ] characters |
| confirm_spend | boolean (Confirm Spend) Default: false |
{- "completion_mode": "quick_cap",
- "component_id": "string",
- "confirm_spend": false
}{- "authority": "illustrative",
- "error": "string",
- "expected_seconds": 0,
- "job_id": "string",
- "operation_id": "string",
- "result": { },
- "reused": false,
- "spend": {
- "cap": 0,
- "policy_mode": "string",
- "policy_would_approve": true,
- "used_last_hour": 0
}, - "status": "string",
- "tool": "string"
}Accept a proposed 3D concept revision (the previous one is superseded) or reject it.
| project_id required | string (Project Id) |
| node_id required | string (Node Id) |
| decision required | string (Decision) Enum: "accept" "reject" |
{- "decision": "accept"
}{ }A person confirms or corrects which component each part is.
| project_id required | string (Project Id) |
| node_id required | string (Node Id) |
| accept_proposals | boolean (Accept Proposals) Default: false |
Array of objects (Assignments) <= 200 items |
{- "accept_proposals": false,
- "assignments": [
- {
- "component_id": "string",
- "part": "string"
}
]
}{ }Redo one part (text or an image) and swap only it (a paid job).
| project_id required | string (Project Id) |
| node_id required | string (Node Id) |
| component_id required | string (Component Id) [ 1 .. 200 ] characters |
| confirm_spend | boolean (Confirm Spend) Default: false |
Image Base64 (string) or Image Base64 (null) (Image Base64) | |
Image Mime (string) or Image Mime (null) (Image Mime) | |
Image Node Id (string) or Image Node Id (null) (Image Node Id) | |
Prompt (string) or Prompt (null) (Prompt) | |
| source required | string (Source) Enum: "text" "image" |
{- "component_id": "string",
- "confirm_spend": false,
- "image_base64": "string",
- "image_mime": "image/png",
- "image_node_id": "string",
- "prompt": "string",
- "source": "text"
}{- "authority": "illustrative",
- "error": "string",
- "expected_seconds": 0,
- "job_id": "string",
- "operation_id": "string",
- "result": { },
- "reused": false,
- "spend": {
- "cap": 0,
- "policy_mode": "string",
- "policy_would_approve": true,
- "used_last_hour": 0
}, - "status": "string",
- "tool": "string"
}Evaluate the contracts against the current revisions and record each result.
| project_id required | string (Project Id) |
Key (string) or Key (null) (Key) | |
Any of string (Key) | |
{- "key": "string"
}{- "checks": [
- { }
], - "project_id": "string"
}One owning domain agrees to the contract's current interface version.
| project_id required | string (Project Id) |
| key required | string (Key) |
| domain required | string (Domain) The owning domain agreeing (mechanical, electronics, ...) |
| rationale | string (Rationale) <= 2000 characters Default: "" |
{- "domain": "string",
- "rationale": ""
}{- "contract": "string",
- "created": true,
- "decision_id": "string"
}Name the item that implements one side of a contract (a new revision).
| project_id required | string (Project Id) |
| key required | string (Key) |
Item Key (string) or Item Key (null) (Item Key) The item (KEY); null unlinks | |
| role required | string (Role) The side: enclosure, pcb, pinmap, firmware, ... |
{- "item_key": "string",
- "role": "string"
}{ }The project's current DFM findings by component, status and profile versions.
| project_id required | string (Project Id) |
| history | boolean (History) Default: false Include stale and superseded sets |
{- "blocking": 0,
- "components": [
- {
- "checks_required": [
- "string"
], - "complete": false,
- "component_id": "string",
- "context_ref": "string",
- "evaluated_at": "string",
- "exact_checks_scheduled": false,
- "exact_evidence": { },
- "finding_set_id": "string",
- "findings": [
- { }
], - "geometry_level": "string",
- "geometry_refs": [
- "string"
], - "guidance_only_rules": [
- "string"
], - "kind": "heuristic",
- "name": "string",
- "not_assessed": [
- { }
], - "note": "string",
- "process": "string",
- "process_authority": "string",
- "profile": {
- "property1": "string",
- "property2": "string"
}, - "rules_run": [
- "string"
], - "staleness": { },
- "status": "string",
- "status_label": "string",
- "trigger": "",
- "verification_items": [
- { }
]
}
], - "disclaimer": "Preliminary manufacturing guidance from heuristic rules. Not an analysis pass, not a supplier confirmation and not a manufacturing release.",
- "heuristic_only": true,
- "history": [
- {
- "checks_required": [
- "string"
], - "complete": false,
- "component_id": "string",
- "context_ref": "string",
- "evaluated_at": "string",
- "exact_checks_scheduled": false,
- "exact_evidence": { },
- "finding_set_id": "string",
- "findings": [
- { }
], - "geometry_level": "string",
- "geometry_refs": [
- "string"
], - "guidance_only_rules": [
- "string"
], - "kind": "heuristic",
- "name": "string",
- "not_assessed": [
- { }
], - "note": "string",
- "process": "string",
- "process_authority": "string",
- "profile": {
- "property1": "string",
- "property2": "string"
}, - "rules_run": [
- "string"
], - "staleness": { },
- "status": "string",
- "status_label": "string",
- "trigger": "",
- "verification_items": [
- { }
]
}
], - "note": "string",
- "profiles": [
- {
- "property1": "string",
- "property2": "string"
}
], - "project_id": "string",
- "status": "string",
- "status_label": "string",
- "suggestions": 0,
- "verification_open": 0
}Run the heuristic DFM rules now and return the updated findings.
Preliminary guidance only: a component's status is issues_found,
preliminary_guidance, analysis_pending or not_assessed, never
an analysis pass.
| project_id required | string (Project Id) |
Array of Component Ids (strings) or Component Ids (null) (Component Ids) | |
Any of <= 100 items Array (<= 100 items) string | |
{- "component_ids": [
- "string"
]
}{- "blocking": 0,
- "components": [
- {
- "checks_required": [
- "string"
], - "complete": false,
- "component_id": "string",
- "context_ref": "string",
- "evaluated_at": "string",
- "exact_checks_scheduled": false,
- "exact_evidence": { },
- "finding_set_id": "string",
- "findings": [
- { }
], - "geometry_level": "string",
- "geometry_refs": [
- "string"
], - "guidance_only_rules": [
- "string"
], - "kind": "heuristic",
- "name": "string",
- "not_assessed": [
- { }
], - "note": "string",
- "process": "string",
- "process_authority": "string",
- "profile": {
- "property1": "string",
- "property2": "string"
}, - "rules_run": [
- "string"
], - "staleness": { },
- "status": "string",
- "status_label": "string",
- "trigger": "",
- "verification_items": [
- { }
]
}
], - "disclaimer": "Preliminary manufacturing guidance from heuristic rules. Not an analysis pass, not a supplier confirmation and not a manufacturing release.",
- "heuristic_only": true,
- "history": [
- {
- "checks_required": [
- "string"
], - "complete": false,
- "component_id": "string",
- "context_ref": "string",
- "evaluated_at": "string",
- "exact_checks_scheduled": false,
- "exact_evidence": { },
- "finding_set_id": "string",
- "findings": [
- { }
], - "geometry_level": "string",
- "geometry_refs": [
- "string"
], - "guidance_only_rules": [
- "string"
], - "kind": "heuristic",
- "name": "string",
- "not_assessed": [
- { }
], - "note": "string",
- "process": "string",
- "process_authority": "string",
- "profile": {
- "property1": "string",
- "property2": "string"
}, - "rules_run": [
- "string"
], - "staleness": { },
- "status": "string",
- "status_label": "string",
- "trigger": "",
- "verification_items": [
- { }
]
}
], - "note": "string",
- "profiles": [
- {
- "property1": "string",
- "property2": "string"
}
], - "project_id": "string",
- "status": "string",
- "status_label": "string",
- "suggestions": 0,
- "verification_open": 0
}Schedule the exact checks for a validated CAD revision (or run them now with wait).
Refused (409) for a revision that is not validated; scheduled: false
with the reason when the component's process has no exact checks.
| project_id required | string (Project Id) |
Array of Build Direction (numbers) or Build Direction (null) (Build Direction) | |
Item Key (string) or Item Key (null) (Item Key) | |
Node Id (string) or Node Id (null) (Node Id) | |
| wait | boolean (Wait) Default: false |
{- "build_direction": [
- 0,
- 0,
- 0
], - "item_key": "string",
- "node_id": "string",
- "wait": false
}{ }Keep the design, try the suggested fix, or explore another process.
| project_id required | string (Project Id) |
| finding_id required | string (Finding Id) |
| decision required | string (Decision) Enum: "keep_design" "try_fix" "explore_process" |
| reason | string (Reason) <= 500 characters Default: "" |
{- "decision": "keep_design",
- "reason": ""
}{ }The latest DFM report, with whether the revisions it read are still current.
| project_id required | string (Project Id) |
| format | string (Format) Default: "json" Enum: "json" "markdown" markdown: the rendered copy |
nullRecord evidence for a physical or supplier verification item.
The item reads awaiting_approval and an approval is filed; it is
satisfied only when a reviewer approves that approval.
| project_id required | string (Project Id) |
| item_id required | string (Item Id) |
Attachment Base64 (string) or Attachment Base64 (null) (Attachment Base64) | |
Attachment Name (string) or Attachment Name (null) (Attachment Name) | |
| note | string (Note) <= 2000 characters Default: "" |
{- "attachment_base64": "string",
- "attachment_name": "string",
- "note": ""
}{ }What a proposed change to item_key would affect. Writes nothing.
The new revision defaults to the head plus one. changed_parameters
narrows the walk to edges whose coupled parameters it touches; leave it
out when unknown. Reruns carry the disposition the project's approval
policy would give them.
| project_id required | string (Project Id) |
Array of Changed Parameters (strings) or Changed Parameters (null) (Changed Parameters) | |
| include_unaffected | boolean (Include Unaffected) Default: false |
| item_key required | string (Item Key) The item that would change (KEY) |
| max_depth | integer (Max Depth) [ 1 .. 8 ] Default: 4 |
New Revision (integer) or New Revision (null) (New Revision) | |
Old Revision (integer) or Old Revision (null) (Old Revision) |
{- "changed_parameters": [
- "string"
], - "include_unaffected": false,
- "item_key": "string",
- "max_depth": 4,
- "new_revision": 0,
- "old_revision": 0
}{ }One recorded impact: by its id, by KEY@n (the change to that
revision), or by a bare KEY (its latest change).
| project_id required | string (Project Id) |
| change_or_revision required | string (Change Or Revision) |
{ }Every interface edge in the project, and the items they join.
Derived edges (simulation_input_of from a simulation's own pins,
feature_of from the sketch layer) carry derived: true. An edge
whose pinned revision is behind the item's head says so in
source_behind / target_behind.
| project_id required | string (Project Id) |
| include_removed | boolean (Include Removed) Default: false |
| include_derived | boolean (Include Derived) Default: true |
{- "edges": [
- { }
], - "nodes": [
- {
- "domain": "string",
- "head_revision": 0,
- "item_type": "",
- "label": "string",
- "ref": "string"
}
], - "project_id": "string"
}A person declares an interface edge; it is confirmed at once.
Declaring a link an inference already proposed confirms that proposal.
| project_id required | string (Project Id) |
| coupled_parameters | Array of strings (Coupled Parameters) |
| rationale | string (Rationale) Default: "" |
| source required | string (Source) An item key (KEY or KEY@n) or record: |
| target required | string (Target) An item key (KEY or KEY@n) or record: |
| type required | string (Type) mounts_to, clearance_to, connects_via, pin_maps_to, ... |
{- "coupled_parameters": [
- "string"
], - "rationale": "",
- "source": "string",
- "target": "string",
- "type": "string"
}{- "created": false,
- "edge": { }
}Propose edges from recorded data (board and enclosure fields, pin map and
firmware sources). Each new one is proposed, never confirmed.
| project_id required | string (Project Id) |
Item Key (string) or Item Key (null) (Item Key) | |
Any of string (Item Key) | |
{- "item_key": "string"
}{- "already": [
- { }
], - "proposed": [
- { }
], - "skipped": [
- "string"
]
}A person removes an edge. It is kept as removed and never re-proposed.
| project_id required | string (Project Id) |
| edge_id required | string (Edge Id) |
| reason | string (Reason) Default: "" |
{- "created": false,
- "edge": { }
}Promote an interpretation (SKI-... for its head, SKI-...@n) to a parametric sketch.
Only its accepted constraints are kept. The gateway re-checks each of
them on the geometry and refuses with 409 if one does not hold, if none
is accepted, or if the sketch has changed since. Depth, angle and
material are never invented: the feature plan marks them
required_input. The result waits for approval. A retried
promote_id returns what it already made.
| project_id required | string (Project Id) |
| interpretation_key required | string (Interpretation Key) |
| name | string (Name) [ 1 .. 120 ] characters Default: "Parametric sketch" |
| promote_id required | string (Promote Id) [ 8 .. 100 ] characters ^[A-Za-z0-9_-]+$ |
{- "name": "Parametric sketch",
- "promote_id": "stringst"
}{- "accepted_count": 0,
- "approval_id": "string",
- "approved": false,
- "authority": "human_accepted",
- "dropped_count": 0,
- "duplicate": false,
- "feature_plan": [
- {
- "axis_id": "string",
- "id": "string",
- "note": "",
- "op": "extrude",
- "parameters": {
- "property1": {
- "question": "",
- "status": "required_input",
- "unit": "string",
- "value": 0
}, - "property2": {
- "question": "",
- "status": "required_input",
- "unit": "string",
- "value": 0
}
}, - "profile_primitive_ids": [
- "string"
]
}
], - "interpretation_ref": "string",
- "item_key": "string",
- "item_ref": "string",
- "node_id": "string",
- "operation_id": "string",
- "plane_id": "string",
- "promote_id": "string",
- "revision": 0,
- "sketch_ref": "string",
- "unit": "unknown"
}Apply a reviewed plan. Requires approve: true; refused when the twin changed.
| project_id required | string (Project Id) |
| approve | boolean (Approve) Default: false Must be true: applying the plan writes to the twin. |
required | object (MigrationPlan) The plan exactly as the dry run returned it. |
| reason | string (Reason) Default: "" Why this plan is approved (kept in the log). |
{- "approve": false,
- "plan": {
- "counts_after": { },
- "counts_before": { },
- "created_at": "string",
- "items": [
- {
- "confidence": "high",
- "existing_item": false,
- "head_node_id": "string",
- "head_revision": 0,
- "item_type": "string",
- "key": "string",
- "name": "string",
- "review_reasons": [
- "string"
], - "revisions": [
- {
- "created_at": "string",
- "evidence": "string",
- "existing": false,
- "name": "string",
- "node_id": "string",
- "revision": 0,
- "rule": "string",
- "run_id": "string",
- "status": "string",
- "status_reason": "string"
}
], - "rule": "string",
- "rules": [
- "string"
]
}
], - "low_confidence": [
- { }
], - "plan_hash": "",
- "project_id": "string",
- "records": [
- {
- "action": "string",
- "item_ref": "string",
- "item_type": "string",
- "name": "string",
- "node_id": "string",
- "pinned_node_id": "string",
- "reason": "string",
- "record_type": "string",
- "staleness": "string"
}
], - "skipped": [
- { }
], - "twin_fingerprint": "string"
}, - "reason": ""
}{- "approved_by": "string",
- "approver_verified": true,
- "result": {
- "applied": true,
- "by_type": {
- "property1": {
- "property1": 0,
- "property2": 0
}, - "property2": {
- "property1": 0,
- "property2": 0
}
}, - "failures": [
- {
- "property1": "string",
- "property2": "string"
}
], - "items_created": 0,
- "items_extended": 0,
- "plan_hash": "string",
- "project_id": "string",
- "records_pinned": 0,
- "records_stale": 0,
- "revisions_linked": 0,
- "run_summaries_marked": 0
}
}Dry run: how the project's legacy nodes would become items. Writes nothing.
| project_id required | string (Project Id) |
{- "empty": true,
- "plan": {
- "counts_after": { },
- "counts_before": { },
- "created_at": "string",
- "items": [
- {
- "confidence": "high",
- "existing_item": false,
- "head_node_id": "string",
- "head_revision": 0,
- "item_type": "string",
- "key": "string",
- "name": "string",
- "review_reasons": [
- "string"
], - "revisions": [
- {
- "created_at": "string",
- "evidence": "string",
- "existing": false,
- "name": "string",
- "node_id": "string",
- "revision": 0,
- "rule": "string",
- "run_id": "string",
- "status": "string",
- "status_reason": "string"
}
], - "rule": "string",
- "rules": [
- "string"
]
}
], - "low_confidence": [
- { }
], - "plan_hash": "",
- "project_id": "string",
- "records": [
- {
- "action": "string",
- "item_ref": "string",
- "item_type": "string",
- "name": "string",
- "node_id": "string",
- "pinned_node_id": "string",
- "reason": "string",
- "record_type": "string",
- "staleness": "string"
}
], - "skipped": [
- { }
], - "twin_fingerprint": "string"
}, - "report": "string"
}The planar faces of a validated CAD revision, with the GLB mesh map. Reads only.
| project_id required | string (Project Id) |
| item_key required | string (Item Key) |
Revision (integer) or Revision (null) (Revision) |
{- "cached": false,
- "face_count": 0,
- "faces": [
- {
- "adjacent": [
- { }
], - "area": 0,
- "bounding_box": {
- "property1": 0,
- "property2": 0
}, - "centroid": [
- 0,
- 0,
- 0
], - "face_id": "string",
- "longest_edge": { },
- "mesh": {
- "property1": 0,
- "property2": 0
}, - "normal": [
- 0,
- 0,
- 0
], - "offset": 0,
- "outer_loop_edges": 0,
- "semantic_tag": "string",
- "signature_summary": ""
}
], - "geometry_state": "string",
- "item_key": "string",
- "item_ref": "string",
- "mesh_map": {
- "property1": {
- "property1": 0,
- "property2": 0
}, - "property2": {
- "property1": 0,
- "property2": 0
}
}, - "mesh_source": "",
- "node_id": "string",
- "part_size": 0,
- "project_id": "string",
- "revision": 0,
- "solid_count": 0
}SSE: a live.snapshot of the project's assemblies in progress, then
one live.event per placement change.
| project_id required | string (Project Id) |
Last-Event-Id (string) or Last-Event-Id (null) (Last-Event-Id) |
nullAccept a placement event from a process that has no stream of its own.
| project_id required | string (Project Id) |
| assembly required | string (Assembly) [ 1 .. 200 ] characters |
LivePart (object) or null | |
Array of Position (numbers) or Position (null) (Position) | |
Array of Rotation (numbers) or Rotation (null) (Rotation) | |
| type required | string (Type) Enum: "assembly.part_placed" "assembly.part_removed" "assembly.cleared" |
{- "assembly": "string",
- "part": {
- "name": "",
- "node_id": "string"
}, - "position": [
- 0,
- 0,
- 0
], - "rotation": [
- 0,
- 0,
- 0
], - "type": "assembly.part_placed"
}{- "property1": 0,
- "property2": 0
}The current manufacturing context. recorded: false and ref unresolved when none.
| project_id required | string (Project Id) |
Component (string) or Component (null) (Component) |
{- "changed": [
- "string"
], - "component_key": "string",
- "created_at": "string",
- "dfm_status": "string",
- "dfm_status_label": "string",
- "inherited": false,
- "item_key": "string",
- "manufacturing_note": "string",
- "node_id": "string",
- "project_id": "string",
- "prompt_block": "string",
- "record": {
- "applicable_rules": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "assembly": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "assumed": [
- "string"
], - "component_key": "string",
- "confidence": "low",
- "conflicts": [
- {
- "at": "string",
- "field": "string",
- "kept_authority": "user_stated",
- "kept_value": null,
- "reason": "string",
- "refused_authority": "user_stated",
- "refused_value": null,
- "source": ""
}
], - "dfm_status": "not_assessed",
- "dimensional_envelope": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "evidence": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "fastening": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "finish": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "intended_use": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "lead_time": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "machine_or_supplier_profile": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "material_candidates": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "print_orientation": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "process_candidates": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "production_goal": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "project_id": "string",
- "quantity": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "route": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "selected_material": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "selected_process": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "target_cost": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "tolerances": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "unknowns": [
- "string"
]
}, - "recorded": true,
- "ref": "string",
- "refused": [
- {
- "at": "string",
- "field": "string",
- "kept_authority": "user_stated",
- "kept_value": null,
- "reason": "string",
- "refused_authority": "user_stated",
- "refused_value": null,
- "source": ""
}
], - "revision": 0,
- "stale": [
- "string"
]
}State manufacturing context fields, as the context's next revision.
A person's values are user_stated and win over assumptions and over
older statements or decisions; null clears a field. An agent caller
only proposes: its values are assumptions, which never override a stated
value or a decision. Nothing changed means no new revision.
| project_id required | string (Project Id) |
Component (string) or Component (null) (Component) |
| change_reason | string (Change Reason) <= 300 characters Default: "" |
Expected Revision (integer) or Expected Revision (null) (Expected Revision) | |
object (Fields) | |
object (Notes) |
{- "change_reason": "",
- "expected_revision": 0,
- "fields": { },
- "notes": {
- "property1": "string",
- "property2": "string"
}
}{- "changed": [
- "string"
], - "component_key": "string",
- "created_at": "string",
- "dfm_status": "string",
- "dfm_status_label": "string",
- "inherited": false,
- "item_key": "string",
- "manufacturing_note": "string",
- "node_id": "string",
- "project_id": "string",
- "prompt_block": "string",
- "record": {
- "applicable_rules": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "assembly": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "assumed": [
- "string"
], - "component_key": "string",
- "confidence": "low",
- "conflicts": [
- {
- "at": "string",
- "field": "string",
- "kept_authority": "user_stated",
- "kept_value": null,
- "reason": "string",
- "refused_authority": "user_stated",
- "refused_value": null,
- "source": ""
}
], - "dfm_status": "not_assessed",
- "dimensional_envelope": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "evidence": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "fastening": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "finish": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "intended_use": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "lead_time": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "machine_or_supplier_profile": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "material_candidates": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "print_orientation": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "process_candidates": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "production_goal": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "project_id": "string",
- "quantity": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "route": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "selected_material": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "selected_process": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "target_cost": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "tolerances": {
- "authority": "user_stated",
- "note": "",
- "pending_gate": "string",
- "process_specific": false,
- "provenance": {
- "actor": "",
- "at": "string",
- "on_behalf_of": "string",
- "ref": "string",
- "route": "string",
- "source": "string"
}, - "stale": false,
- "stale_reason": "",
- "value": null
}, - "unknowns": [
- "string"
]
}, - "recorded": true,
- "ref": "string",
- "refused": [
- {
- "at": "string",
- "field": "string",
- "kept_authority": "user_stated",
- "kept_value": null,
- "reason": "string",
- "refused_authority": "user_stated",
- "refused_value": null,
- "source": ""
}
], - "revision": 0,
- "stale": [
- "string"
]
}Candidate processes and materials, as assumptions. Writes nothing.
Proposed from the intended use, the envelope and the product text, then
checked against the machine library and rank_manufacturing_processes.
Always at least two candidates, so no method is locked in silently. To
accept one, state it with PUT.
| project_id required | string (Project Id) |
Component (string) or Component (null) (Component) |
| text | string (Text) <= 1500 characters Default: "" |
{- "text": ""
}{- "based_on": "string",
- "candidates": [
- {
- "authority": "assumption",
- "library_machines": [
- "string"
], - "library_materials": [
- "string"
], - "materials": [
- "string"
], - "process": "string",
- "reasons": [
- "string"
], - "route_hint": "string",
- "verdict": "string",
- "why": "string"
}
], - "component_key": "string",
- "note": "Assumptions proposed by MetaForge. Nothing is recorded until a person states a process or material (PUT the manufacturing context).",
- "process_known": true,
- "project_id": "string",
- "unknown_inputs": [
- "string"
]
}Per-component maturity and the product's readiness, with evidence for each claim.
| project_id required | string (Project Id) |
{- "components": [
- {
- "component_id": "string",
- "evidence": [
- {
- "detail": "",
- "kind": "string",
- "maturity": "string",
- "node_id": "string",
- "ref": "string"
}
], - "maturity": "string",
- "name": "string",
- "next_step": "string",
- "required": true,
- "source": "string"
}
], - "has_assembly": false,
- "product": {
- "by_maturity": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "claims": {
- "property1": true,
- "property2": true
}, - "component_count": 0,
- "limited_by": [
- "string"
], - "maturity": "string",
- "required_count": 0,
- "summary": ""
}, - "project_id": "string"
}Commit a parameter edit as a new parametric revision and schedule the exact build.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
| base_revision required | integer (Base Revision) >= 1 |
| build | boolean (Build) Default: true |
ComparisonTolerance (object) or null | |
object (Dimensions) | |
Feature Id (string) or Feature Id (null) (Feature Id) | |
object (Geometry) | |
Preview Ms (number) or Preview Ms (null) (Preview Ms) | |
| source | string (Source) Default: "numeric" Enum: "drag" "numeric" |
object (Values) |
{- "base_revision": 1,
- "build": true,
- "comparison_tolerance": {
- "abs_mm": 0.25,
- "basis": "",
- "rel": 0.01,
- "volume_rel": 0.02
}, - "dimensions": {
- "property1": 0,
- "property2": 0
}, - "feature_id": "string",
- "geometry": {
- "property1": { },
- "property2": { }
}, - "preview_ms": 0,
- "source": "drag",
- "values": {
- "property1": 0,
- "property2": 0
}
}{ }The L2 preview definition of a parametric sketch's feature, and its exact status.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
Feature Id (string) or Feature Id (null) (Feature Id) | |
Job Id (string) or Job Id (null) (Job Id) |
{ }The project's prd, rendered from its current prose and requirements.
| project_id required | string (Project Id) |
Run Id (string) or Run Id (null) (Run Id) Read as this design-flow run: include its open drafts |
{- "markdown": "string",
- "project_id": "string",
- "prose_ref": "string",
- "refs": [
- "string"
], - "requirement_count": 0,
- "requirement_refs": [
- "string"
], - "sources": [
- {
- "item_type": "string",
- "name": "string",
- "node_id": "string",
- "ref": "string",
- "requirement_count": 0
}
], - "title": "string"
}The latest feature history proposal per component.
| project_id required | string (Project Id) |
{- "accepted": false,
- "assembly_decision_id": "string",
- "components": [
- {
- "component_id": "string",
- "name": "string",
- "proposal": {
- "component_id": "string",
- "component_name": "string",
- "item_key": "string",
- "item_ref": "string",
- "node_id": "string",
- "open_questions": 0,
- "proposal": { },
- "revision": 0,
- "staleness": "current",
- "status": "string"
}, - "source": "made"
}
], - "concept_accepted": true,
- "project_id": "string",
- "summary": ""
}Propose an editable feature history for the accepted concept's components.
| project_id required | string (Project Id) |
| component_ids | Array of strings (Component Ids) <= 60 items |
| use_llm | boolean (Use Llm) Default: false |
{- "component_ids": [
- "string"
], - "use_llm": false
}{- "operation_id": "string",
- "project_id": "string",
- "proposals": [
- {
- "component_id": "string",
- "component_name": "string",
- "item_key": "string",
- "item_ref": "string",
- "node_id": "string",
- "open_questions": 0,
- "proposal": { },
- "revision": 0,
- "staleness": "current",
- "status": "string"
}
], - "reused": [
- "string"
], - "skipped": [
- {
- "component_id": "string",
- "name": "string",
- "reason": "string"
}
], - "summary": ""
}Accept (and edit) features of one proposal; bodies become parametric sketches.
| project_id required | string (Project Id) |
| key required | string (Key) |
Accepted By (string) or Accepted By (null) (Accepted By) | |
Base Revision (integer) or Base Revision (null) (Base Revision) | |
object (Choices) | |
object (Edits) | |
| feature_ids required | Array of strings (Feature Ids) [ 1 .. 100 ] items |
{- "accepted_by": "string",
- "base_revision": 1,
- "choices": {
- "property1": "string",
- "property2": "string"
}, - "edits": {
- "property1": {
- "property1": 0,
- "property2": 0
}, - "property2": {
- "property1": 0,
- "property2": 0
}
}, - "feature_ids": [
- "string"
]
}{- "accepted": [
- "string"
], - "added_dependencies": [
- "string"
], - "existing": {
- "property1": "string",
- "property2": "string"
}, - "operation_id": "string",
- "process_written": "string",
- "project_id": "string",
- "proposal": {
- "component_id": "string",
- "component_name": "string",
- "item_key": "string",
- "item_ref": "string",
- "node_id": "string",
- "open_questions": 0,
- "proposal": { },
- "revision": 0,
- "staleness": "current",
- "status": "string"
}, - "rejected": [
- "string"
], - "sketches": [
- {
- "approval_id": "string",
- "approved": false,
- "estimated_parameters": [
- "string"
], - "feature_id": "string",
- "item_key": "string",
- "item_ref": "string",
- "node_id": "string",
- "pending_features": [
- "string"
], - "required_input": [
- "string"
], - "revision": 0
}
]
}Start a concept sketch generation as a job on its target.
The mode follows from the request: a sketch_key refines that sketch,
active references condition it, otherwise it is drawn from text. A
mask limits it to a region. n_variants defaults to 1. Each output
is stored as a proposal; nothing replaces the accepted concept until a
person accepts one.
| project_id required | string (Project Id) |
Baseline Key (string) or Baseline Key (null) (Baseline Key) | |
Component (string) or Component (null) (Component) | |
| confirm_spend | boolean (Confirm Spend) Default: false |
| constraints | Array of strings (Constraints) <= 20 items |
Expected Baseline (string) or Expected Baseline (null) (Expected Baseline) | |
| intent required | string (Intent) [ 1 .. 1500 ] characters |
Array of objects (Locked Regions) <= 10 items | |
| manufacturability_variant | boolean (Manufacturability Variant) Default: false |
Region (object) or null | |
| mask_instruction | string (Mask Instruction) <= 500 characters Default: "" |
Mode (string) or Mode (null) (Mode) | |
| n_variants | integer (N Variants) [ 1 .. 4 ] Default: 1 |
| negative | Array of strings (Negative) <= 20 items |
| protected_features | Array of strings (Protected Features) <= 20 items |
| reference_ids | Array of strings (Reference Ids) <= 8 items |
| size | string (Size) Default: "1024x1024" |
Sketch Key (string) or Sketch Key (null) (Sketch Key) | |
Sketch Revision (string) or Sketch Revision (null) (Sketch Revision) | |
| speculative | boolean (Speculative) Default: false |
| style | string (Style) Default: "industrial_sketch" Enum: "industrial_sketch" "marker_render" "line_art" "concept_drawing" |
{- "baseline_key": "string",
- "component": "string",
- "confirm_spend": false,
- "constraints": [
- "string"
], - "expected_baseline": "string",
- "intent": "string",
- "locked_regions": [
- {
- "label": "",
- "polygon": [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
}
], - "manufacturability_variant": false,
- "mask": {
- "label": "",
- "polygon": [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
}, - "mask_instruction": "",
- "mode": "text",
- "n_variants": 1,
- "negative": [
- "string"
], - "protected_features": [
- "string"
], - "reference_ids": [
- "string"
], - "size": "1024x1024",
- "sketch_key": "string",
- "sketch_revision": "string",
- "speculative": false,
- "style": "industrial_sketch"
}{- "accepted_baseline": { },
- "authority": "illustrative",
- "base_revision": "string",
- "error": "string",
- "expected_seconds": 0,
- "job_id": "string",
- "mode": "string",
- "operation_id": "string",
- "result": { },
- "reused": false,
- "status": "string",
- "target_key": "string"
}Two concepts side by side: their records and the share of pixels that differ.
| project_id required | string (Project Id) |
| a required | string (A) A generated concept node id |
| b required | string (B) Another generated concept node id |
{ }Make a proposal the accepted concept. The previous one stays in the line's history.
| project_id required | string (Project Id) |
| node_id required | string (Node Id) |
Expected Baseline (string) or Expected Baseline (null) (Expected Baseline) | |
Any of <= 200 characters string (Expected Baseline) <= 200 characters | |
{- "expected_baseline": "string"
}{ }Start a separate accepted line from this concept; the current one is untouched.
| project_id required | string (Project Id) |
| node_id required | string (Node Id) |
Name (string) or Name (null) (Name) | |
Any of <= 120 characters string (Name) <= 120 characters | |
{- "name": "string"
}{ }Save a person's freehand sketch as the next revision of the project's sketch.
The strokes are stored as JSON with a generated SVG. The revision is a
human sketch, not CAD: its scale is unknown and its plane is unassigned.
A retried save_id returns the revision it already made, with
duplicate set, and adds nothing. The save is reported on the project's
operation stream as a sketch operation.
| project_id required | string (Project Id) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
Item Key (string) or Item Key (null) (Item Key) | |
| name | string (Name) [ 1 .. 120 ] characters Default: "Sketch" |
| plane_state | string (Plane State) Default: "UNASSIGNED" Value: "UNASSIGNED" |
Reference Node Id (string) or Reference Node Id (null) (Reference Node Id) | |
| save_id required | string (Save Id) [ 8 .. 100 ] characters ^[A-Za-z0-9_-]+$ |
| scale | string (Scale) Default: "unknown" Value: "unknown" |
Array of objects (Strokes) <= 2000 items | |
SketchViewport (object) or null |
{- "base_revision": "string",
- "item_key": "string",
- "name": "Sketch",
- "plane_state": "UNASSIGNED",
- "reference_node_id": "string",
- "save_id": "stringst",
- "scale": "unknown",
- "strokes": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "points": [
- [
- 0,
- 0
]
], - "pressure": [
- 0
], - "source": "human",
- "tool": "pen",
- "width": 2
}
], - "viewport": {
- "height_px": 1,
- "width_px": 1
}
}{- "authority": "human_sketch",
- "content_hash": "string",
- "duplicate": false,
- "item_key": "string",
- "item_ref": "string",
- "node_id": "string",
- "operation_id": "string",
- "parent_revision": "string",
- "plane_state": "UNASSIGNED",
- "revision": 0,
- "save_id": "string",
- "scale": "unknown",
- "stroke_count": 0
}The current revision of the project's sketch, with its strokes. 404 when there is none.
| project_id required | string (Project Id) |
Item Key (string) or Item Key (null) (Item Key) The sketch item; the newest when left out |
{- "authority": "human_sketch",
- "created_at": "string",
- "item_key": "string",
- "item_ref": "string",
- "name": "string",
- "node_id": "string",
- "parent_revision": "string",
- "plane_state": "UNASSIGNED",
- "reference_node_id": "string",
- "revision": 0,
- "save_id": "string",
- "scale": "unknown",
- "space": "sketch_unit",
- "strokes": [
- { }
], - "viewport": { }
}Store a proposal: primitives fitted to a saved sketch and proposed constraints.
The browser computes it; the gateway validates its shape, re-checks its
basic geometry and records it as the next revision of the sketch's
SKI-* item, depending on the sketch revision it was made from. Every
value in it is estimated. A retried interpretation_id returns the
revision it already made. 409 when the sketch has moved on since.
| project_id required | string (Project Id) |
| item_key required | string (Item Key) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
required | object (SketchInterpretation) A proposal: fitted primitives and constraints from one sketch revision. |
| name | string (Name) [ 1 .. 120 ] characters Default: "Sketch interpretation" |
{- "base_revision": "string",
- "interpretation": {
- "constraints": [
- {
- "confidence": 1,
- "id": "string",
- "refs": [
- "string"
], - "source": "estimated",
- "status": "proposed",
- "type": "coincident",
- "unit": "unknown",
- "value": 0,
- "variant": "external"
}
], - "fit": {
- "duration_ms": 0,
- "extent": 0,
- "skipped_stroke_ids": [
- "string"
], - "stroke_count": 0,
- "tolerance": 1,
- "unit_px": 1
}, - "frame": {
- "origin": [
- 0,
- 0
], - "scale": 1
}, - "interpretation_id": "stringst",
- "plane_id": "string",
- "primitives": [
- {
- "confidence": 0,
- "construction": false,
- "end": [
- 0,
- 0
], - "estimated": false,
- "id": "string",
- "residual": 0,
- "source_ranges": [
- {
- "end": 0,
- "start": 0,
- "stroke_id": "string"
}
], - "source_stroke_ids": [
- "string"
], - "start": [
- 0,
- 0
], - "type": "line"
}
], - "profiles": [
- {
- "primitive_ids": [
- "string"
]
}
], - "sketch_ref": "string",
- "solve": {
- "conflicts": [
- { }
], - "converged": true,
- "dof": 0,
- "duration_ms": 0,
- "iterations": 0,
- "max_residual": 0,
- "message": "",
- "redundant": [
- "string"
], - "shape_dof": 0,
- "status": "fully"
}, - "space": "sketch_unit",
- "unit": "unknown"
}, - "name": "Sketch interpretation"
}{- "accepted_count": 0,
- "authority": "proposal",
- "constraint_count": 0,
- "duplicate": false,
- "interpretation_id": "string",
- "item_key": "string",
- "item_ref": "string",
- "node_id": "string",
- "operation_id": "string",
- "plane_id": "string",
- "primitive_count": 0,
- "revision": 0,
- "sketch_ref": "string",
- "unit": "unknown",
- "unsatisfied": [
- "string"
]
}The sketch's current plane. An UNASSIGNED plane when none was ever set.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
{- "action": "string",
- "can_undo": false,
- "item_key": "string",
- "item_ref": "string",
- "mode": "string",
- "node_id": "string",
- "parent_revision": "string",
- "pinned_sketch_ref": "string",
- "plane": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "revision": 0,
- "sketch_key": "string",
- "sketch_ref": "string"
}Archive the sketch's plane as a new revision. Undo brings it back.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| op_id required | string (Op Id) [ 8 .. 100 ] characters ^[A-Za-z0-9_-]+$ |
{- "base_revision": "string",
- "op_id": "stringst"
}{- "action": "string",
- "can_undo": false,
- "duplicate": false,
- "item_key": "string",
- "item_ref": "string",
- "mode": "string",
- "node_id": "string",
- "operation_id": "string",
- "parent_revision": "string",
- "pinned_sketch_ref": "string",
- "plane": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "revision": 0,
- "sketch_key": "string",
- "sketch_ref": "string",
- "sketch_revision_written": "string",
- "unchanged": false
}Put the sketch on a planar face of a validated CAD revision.
The plane frame comes from the face: origin at the face centroid on its
plane, U along the longest straight edge of its outer loop, the normal
outward, right-handed. The face's geometry signature is stored so the
face can be found again when the CAD item changes. A retried op_id
returns the revision it already made.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| face_id required | string (Face Id) [ 1 .. 200 ] characters |
| item_key required | string (Item Key) [ 1 .. 120 ] characters |
| op_id required | string (Op Id) [ 8 .. 100 ] characters ^[A-Za-z0-9_-]+$ |
Revision (integer) or Revision (null) (Revision) |
{- "base_revision": "string",
- "face_id": "string",
- "item_key": "string",
- "op_id": "stringst",
- "revision": 1
}{- "action": "string",
- "can_undo": false,
- "duplicate": false,
- "item_key": "string",
- "item_ref": "string",
- "mode": "string",
- "node_id": "string",
- "operation_id": "string",
- "parent_revision": "string",
- "pinned_sketch_ref": "string",
- "plane": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "revision": 0,
- "sketch_key": "string",
- "sketch_ref": "string",
- "sketch_revision_written": "string",
- "unchanged": false
}Place the sketch on the plane the person chose, as the plane item's next revision.
The choice is applied as given; no inference is consulted. A retried
op_id returns the revision it already made; choosing the plane the
sketch is already on changes nothing.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
Confidence (number) or Confidence (null) (Confidence) | |
| op_id required | string (Op Id) [ 8 .. 100 ] characters ^[A-Za-z0-9_-]+$ |
Array of items (Origin) = 3 items Default: [0,0,0] | |
Owner Component (string) or Owner Component (null) (Owner Component) | |
| principal required | string (PrincipalPlane) Enum: "XY" "XZ" "YZ" |
| proposed_by | string (ProposedBy) Default: "user" Enum: "user" "face" "existing_sketch" "view" "component_frame" "model" Where a plane came from, in the order inference consults them (PLN-002). |
Scale (number) or Scale (null) (Scale) | |
| unit | string (PlaneUnit) Default: "unknown" Enum: "mm" "in" "unknown" |
{- "base_revision": "string",
- "confidence": 0,
- "op_id": "stringst",
- "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "unit": "mm"
}{- "action": "string",
- "can_undo": false,
- "duplicate": false,
- "item_key": "string",
- "item_ref": "string",
- "mode": "string",
- "node_id": "string",
- "operation_id": "string",
- "parent_revision": "string",
- "pinned_sketch_ref": "string",
- "plane": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "revision": 0,
- "sketch_key": "string",
- "sketch_ref": "string",
- "sketch_revision_written": "string",
- "unchanged": false
}A candidate plane for the sketch. Writes nothing.
Sources in order: the explicit selection, the plane of another sketch on
the same component, the client's orthographic view hint, the component
frame, then a heuristic (keywords, the drawing's shape). Each candidate
says who proposed it and how confident it is; ambiguous is set when
the top two disagree and are close, or the best guess is weak. A plane
already confirmed for this sketch is returned as the candidate.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
PrincipalPlane (string) or null | |
Face Ref (string) or Face Ref (null) (Face Ref) | |
Hint Text (string) or Hint Text (null) (Hint Text) | |
Owner Component (string) or Owner Component (null) (Owner Component) | |
View Hint (string) or View Hint (null) (View Hint) |
{- "explicit": "XY",
- "face_ref": "string",
- "hint_text": "string",
- "owner_component": "string",
- "view_hint": "front"
}{- "ambiguous": true,
- "candidate": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "candidates": [
- {
- "confidence": 0,
- "principal": "XY",
- "proposed_by": "user",
- "reason": "string",
- "view_name": "string"
}
], - "current": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "notes": [
- "string"
], - "requires_confirmation": true,
- "sketch_key": "string",
- "sketch_ref": "string"
}Move the sketch to another plane in mode.
preserve_local keeps the stroke coordinates (the sketch moves with
its plane). preserve_world keeps every point where it is and is
refused when the sketch does not lie in the new plane.
project_to_target projects the points onto the new plane. A mode that
moves the strokes saves them as the sketch's next revision.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| mode required | string (Mode) Enum: "preserve_world" "preserve_local" "project_to_target" |
| op_id required | string (Op Id) [ 8 .. 100 ] characters ^[A-Za-z0-9_-]+$ |
Array of Origin (items) or Origin (null) (Origin) | |
| target required | string (PrincipalPlane) Enum: "XY" "XZ" "YZ" |
{- "base_revision": "string",
- "mode": "preserve_world",
- "op_id": "stringst",
- "origin": [
- 0,
- 0,
- 0
], - "target": "XY"
}{- "action": "string",
- "can_undo": false,
- "duplicate": false,
- "item_key": "string",
- "item_ref": "string",
- "mode": "string",
- "node_id": "string",
- "operation_id": "string",
- "parent_revision": "string",
- "pinned_sketch_ref": "string",
- "plane": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "revision": 0,
- "sketch_key": "string",
- "sketch_ref": "string",
- "sketch_revision_written": "string",
- "unchanged": false
}Where the strokes would land on the new plane in mode. Writes nothing.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| mode required | string (Mode) Enum: "preserve_world" "preserve_local" "project_to_target" |
| op_id required | string (Op Id) [ 8 .. 100 ] characters ^[A-Za-z0-9_-]+$ |
Array of Origin (items) or Origin (null) (Origin) | |
| target required | string (PrincipalPlane) Enum: "XY" "XZ" "YZ" |
{- "base_revision": "string",
- "mode": "preserve_world",
- "op_id": "stringst",
- "origin": [
- 0,
- 0,
- 0
], - "target": "XY"
}{- "committable": true,
- "exact": true,
- "max_off_plane": 0,
- "mode": "preserve_world",
- "rewrites_strokes": true,
- "sketch_key": "string",
- "sketch_ref": "string",
- "source": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "strokes": [
- {
- "id": "string",
- "off_plane": 0,
- "points": [
- [
- 0,
- 0
]
]
}
], - "target": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "warnings": [
- "string"
]
}Answer REATTACHMENT_REQUIRED: pick a face, or detach the sketch.
pick_face attaches to face_id on the attached item's current
revision; detach_principal moves the sketch onto principal
keeping its local coordinates; detach_unassigned keeps it as a
concept with no plane. Refused (409) when the plane does not need it.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
| action required | string (Action) Enum: "pick_face" "detach_unassigned" "detach_principal" |
Base Revision (string) or Base Revision (null) (Base Revision) | |
Face Id (string) or Face Id (null) (Face Id) | |
| op_id required | string (Op Id) [ 8 .. 100 ] characters ^[A-Za-z0-9_-]+$ |
PrincipalPlane (string) or null | |
Revision (integer) or Revision (null) (Revision) |
{- "action": "pick_face",
- "base_revision": "string",
- "face_id": "string",
- "op_id": "stringst",
- "principal": "XY",
- "revision": 1
}{- "action": "string",
- "can_undo": false,
- "duplicate": false,
- "item_key": "string",
- "item_ref": "string",
- "mode": "string",
- "node_id": "string",
- "operation_id": "string",
- "parent_revision": "string",
- "pinned_sketch_ref": "string",
- "plane": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "revision": 0,
- "sketch_key": "string",
- "sketch_ref": "string",
- "sketch_revision_written": "string",
- "unchanged": false
}Restore the plane (and the strokes, if the change moved them) from before the last change, as a new revision. History is never rewritten.
| project_id required | string (Project Id) |
| sketch_key required | string (Sketch Key) |
Base Revision (string) or Base Revision (null) (Base Revision) | |
| op_id required | string (Op Id) [ 8 .. 100 ] characters ^[A-Za-z0-9_-]+$ |
{- "base_revision": "string",
- "op_id": "stringst"
}{- "action": "string",
- "can_undo": false,
- "duplicate": false,
- "item_key": "string",
- "item_ref": "string",
- "mode": "string",
- "node_id": "string",
- "operation_id": "string",
- "parent_revision": "string",
- "pinned_sketch_ref": "string",
- "plane": {
- "attachment": {
- "face_ref": "string",
- "item_key": "string",
- "pending": { },
- "remapped_from": "string",
- "revision": 1,
- "signature": { }
}, - "confidence": 0,
- "kind": "unassigned",
- "normal": [
- 0,
- 0,
- 1
], - "origin": [
- 0,
- 0,
- 0
], - "owner_component": "string",
- "plane_id": "string",
- "principal": "XY",
- "proposed_by": "user",
- "scale": 1,
- "source_revision": "string",
- "state": "UNASSIGNED",
- "transform": [
- [
- 0
]
], - "u_axis": [
- 1,
- 0,
- 0
], - "unit": "mm",
- "v_axis": [
- 0,
- 1,
- 0
]
}, - "revision": 0,
- "sketch_key": "string",
- "sketch_ref": "string",
- "sketch_revision_written": "string",
- "unchanged": false
}Show the concept as simple 3D parts (L1): one node per component, sizes estimated.
| project_id required | string (Project Id) |
Layout Node Id (string) or Layout Node Id (null) (Layout Node Id) | |
Operation Id (string) or Operation Id (null) (Operation Id) |
{- "layout_node_id": "string",
- "operation_id": "string"
}{- "authority": "structured",
- "component_ids": {
- "property1": "string",
- "property2": "string"
}, - "dimensions": "estimated",
- "format": "glb",
- "label": "string",
- "level": "L1",
- "name": "string",
- "node_id": "string",
- "nodes": [
- { }
], - "reused": false,
- "source_revision": "string",
- "triangle_count": 0
}List edges in the Digital Twin graph.
project_id scopes the view to a single project, matching
list_twin_nodes. Omitted or empty returns every edge (including
unscoped legacy nodes) — preserving the prior global behaviour.
Like list_twin_nodes, history records about a change are left out
unless include_history=true.
Project Id (string) or Project Id (null) (Project Id) | |
| include_history | boolean (Include History) Default: false |
{- "endpoints": {
- "property1": {
- "kind": "string",
- "name": "string"
}, - "property2": {
- "kind": "string",
- "name": "string"
}
}, - "relationships": [
- {
- "id": "string",
- "label": "string",
- "sourceId": "string",
- "targetId": "string",
- "type": "string"
}
], - "skipped_nodes": 0,
- "total": 0
}Node id -> KEY@n for every revision (and constraint-set constraint) of the project.
| project_id required | string (Project Id) |
{- "nodes": {
- "property1": {
- "current": true,
- "item_type": "string",
- "key": "string",
- "ref": "string",
- "revision": 0,
- "revision_count": 0,
- "status": "string",
- "via": "string"
}, - "property2": {
- "current": true,
- "item_type": "string",
- "key": "string",
- "ref": "string",
- "revision": 0,
- "revision_count": 0,
- "status": "string",
- "via": "string"
}
}, - "project_id": "string"
}Revisions a design-flow run produced, and the baselines its gates recorded.
| run_id required | string (Run Id) |
Project Id (string) or Project Id (null) (Project Id) |
{- "baselines": [
- {
- "approved_by": [
- "string"
], - "created_at": "string",
- "gate_id": "string",
- "id": "string",
- "item_count": 0,
- "member_count": 0,
- "name": "string",
- "project_id": "string",
- "reason": "",
- "run_id": "string",
- "source": "manual"
}
], - "revisions": [
- {
- "baselined_by_gate": "string",
- "change_reason": "string",
- "created_at": "string",
- "is_current": true,
- "item_type": "string",
- "key": "string",
- "name": "string",
- "node_id": "string",
- "ref": "string",
- "revision": 0,
- "status": "string"
}
], - "run_id": "string"
}Take Develop's part or board for one component thread into the studio.
404 when no thread has that key, 409 when the thread has nothing to adopt, the
studio moved past base_revision or is handed over; otherwise the new revision.
| project_id required | string (Project Id) |
| base_revision required | integer (Base Revision) >= 1 The studio revision the thread was read at. |
| thread required | string (Thread) [ 1 .. 300 ] characters The component thread's key, from GET .../components/thread. |
{- "base_revision": 1,
- "thread": "string"
}{- "collections": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "config": { },
- "config_ref": "string",
- "engine_url": "string",
- "handover": {
- "agent": "string",
- "at": "string",
- "by": "string",
- "created": [
- "string"
], - "on_behalf_of": "string",
- "op_id": "string",
- "revision": 0
}, - "project_id": "string",
- "revision": 0,
- "stale": [
- "string"
], - "status": "none",
- "updated_at": "string",
- "warnings": [
- "string"
]
}One studio write. A person's acceptance, from an agent, only under delegation.
Confirming an assumption or a scenario is the person's statement. From
the agent surface it is refused (403) unless the owner delegates
human-authority decisions; then it needs X-MetaForge-Agent and
X-MetaForge-On-Behalf-Of (422 without) and is recorded as the
agent's acceptance for that person. An assumption so
confirmed is recorded as accepted: it stays an assumption.
| project_id required | string (Project Id) |
required | object (Data) |
| event_id required | string (Event Id) [ 1 .. 128 ] characters |
| kind required | string (Kind) Enum: "choice" "scenario" "context_edit" "assumption_confirmed" "requirement" "ledger" "screening" "form_seen" |
{- "data": { },
- "event_id": "string",
- "kind": "choice"
}{- "accepted": true,
- "duplicate": false,
- "mapped_to": [
- "string"
]
}| project_id required | string (Project Id) |
| op_id required | string (Op Id) [ 1 .. 128 ] characters |
{- "op_id": "string"
}{- "created": [
- "string"
], - "handed_over": true,
- "revision": 0
}| project_id required | string (Project Id) |
| op_id required | string (Op Id) [ 1 .. 128 ] characters |
| reason required | string (Reason) [ 1 .. 1000 ] characters |
{- "op_id": "string",
- "reason": "string"
}{- "collections": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "config": { },
- "config_ref": "string",
- "engine_url": "string",
- "handover": {
- "agent": "string",
- "at": "string",
- "by": "string",
- "created": [
- "string"
], - "on_behalf_of": "string",
- "op_id": "string",
- "revision": 0
}, - "project_id": "string",
- "revision": 0,
- "stale": [
- "string"
], - "status": "none",
- "updated_at": "string",
- "warnings": [
- "string"
]
}{- "collections": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "config": { },
- "config_ref": "string",
- "engine_url": "string",
- "handover": {
- "agent": "string",
- "at": "string",
- "by": "string",
- "created": [
- "string"
], - "on_behalf_of": "string",
- "op_id": "string",
- "revision": 0
}, - "project_id": "string",
- "revision": 0,
- "stale": [
- "string"
], - "status": "none",
- "updated_at": "string",
- "warnings": [
- "string"
]
}The next revision from changes to base_revision, checked as a full config is.
409 when the studio has moved past base_revision, 400 when a change names something
that does not exist, 422 when the result fails the formgraph checks; nothing is written.
| project_id required | string (Project Id) |
| base_revision required | integer (Base Revision) >= 1 The revision the changes were made against. |
required | Array of objects (Changes) [ 1 .. 64 ] items JSON Patch style changes: op add, replace or remove at a JSON Pointer path, with value (not for remove); a list item may be named by its id. |
{- "base_revision": 1,
- "changes": [
- { }
]
}{- "collections": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "config": { },
- "config_ref": "string",
- "engine_url": "string",
- "handover": {
- "agent": "string",
- "at": "string",
- "by": "string",
- "created": [
- "string"
], - "on_behalf_of": "string",
- "op_id": "string",
- "revision": 0
}, - "project_id": "string",
- "revision": 0,
- "stale": [
- "string"
], - "status": "none",
- "updated_at": "string",
- "warnings": [
- "string"
]
}| project_id required | string (Project Id) |
required | object (Config) | ||
| |||
{- "config": { }
}{- "collections": {
- "property1": {
- "property1": { },
- "property2": { }
}, - "property2": {
- "property1": { },
- "property2": { }
}
}, - "config": { },
- "config_ref": "string",
- "engine_url": "string",
- "handover": {
- "agent": "string",
- "at": "string",
- "by": "string",
- "created": [
- "string"
], - "on_behalf_of": "string",
- "op_id": "string",
- "revision": 0
}, - "project_id": "string",
- "revision": 0,
- "stale": [
- "string"
], - "status": "none",
- "updated_at": "string",
- "warnings": [
- "string"
]
}Dry run: every finding at once, a computed verdict, and who clears each.
A POST only because it can carry a config. It is idempotent and writes nothing; handover, accept and rework stay person-gated on their routes.
| project_id required | string (Project Id) |
Config (object) or Config (null) (Config) | |
Array of Gates (strings) or Gates (null) (Gates) | |
Revision (integer) or Revision (null) (Revision) | |
Array of Scope (objects) or Scope (null) (Scope) |
{- "config": { },
- "gates": [
- "config_valid"
], - "revision": 0,
- "scope": [
- {
- "id": "string",
- "kind": "string",
- "revision": 0
}
]
}{- "computed_at": "",
- "debt": [
- {
- "accepted_by": [
- "string"
], - "check_id": "string",
- "evidence": [
- {
- "id": "string",
- "kind": "string",
- "revision": 0
}
], - "fix": {
- "needs": "string",
- "op": "string",
- "pointer": "string"
}, - "gate": "string",
- "id": "string",
- "message": "string",
- "resolver": "agent",
- "rule_version": "string",
- "severity": "blocking",
- "status": "pass",
- "target": {
- "id": "string",
- "kind": "string",
- "revision": 0
}
}
], - "findings": [
- {
- "accepted_by": [
- "string"
], - "check_id": "string",
- "evidence": [
- {
- "id": "string",
- "kind": "string",
- "revision": 0
}
], - "fix": {
- "needs": "string",
- "op": "string",
- "pointer": "string"
}, - "gate": "string",
- "id": "string",
- "message": "string",
- "resolver": "agent",
- "rule_version": "string",
- "severity": "blocking",
- "status": "pass",
- "target": {
- "id": "string",
- "kind": "string",
- "revision": 0
}
}
], - "gates": [
- {
- "advisory": 0,
- "assumed": 0,
- "blocking": 0,
- "decision": "pass",
- "gate": "string",
- "rule_version": "string"
}
], - "input_fingerprint": "",
- "level": "V0",
- "limitations": [
- "string"
], - "profile_id": "",
- "profile_version": "",
- "project_id": "",
- "revision_id": "",
- "revision_number": 0,
- "schema_version": "2.0",
- "stale": false,
- "twin_id": "",
- "verdict": "invalid"
}The report for the head revision.
| project_id required | string (Project Id) |
{- "computed_at": "",
- "debt": [
- {
- "accepted_by": [
- "string"
], - "check_id": "string",
- "evidence": [
- {
- "id": "string",
- "kind": "string",
- "revision": 0
}
], - "fix": {
- "needs": "string",
- "op": "string",
- "pointer": "string"
}, - "gate": "string",
- "id": "string",
- "message": "string",
- "resolver": "agent",
- "rule_version": "string",
- "severity": "blocking",
- "status": "pass",
- "target": {
- "id": "string",
- "kind": "string",
- "revision": 0
}
}
], - "findings": [
- {
- "accepted_by": [
- "string"
], - "check_id": "string",
- "evidence": [
- {
- "id": "string",
- "kind": "string",
- "revision": 0
}
], - "fix": {
- "needs": "string",
- "op": "string",
- "pointer": "string"
}, - "gate": "string",
- "id": "string",
- "message": "string",
- "resolver": "agent",
- "rule_version": "string",
- "severity": "blocking",
- "status": "pass",
- "target": {
- "id": "string",
- "kind": "string",
- "revision": 0
}
}
], - "gates": [
- {
- "advisory": 0,
- "assumed": 0,
- "blocking": 0,
- "decision": "pass",
- "gate": "string",
- "rule_version": "string"
}
], - "input_fingerprint": "",
- "level": "V0",
- "limitations": [
- "string"
], - "profile_id": "",
- "profile_version": "",
- "project_id": "",
- "revision_id": "",
- "revision_number": 0,
- "schema_version": "2.0",
- "stale": false,
- "twin_id": "",
- "verdict": "invalid"
}Uploads, newest first.
Project Id (string) or Project Id (null) (Project Id) | |
Status (string) or Status (null) (Status) open, pending, approved, rejected, expired |
[- {
- "agent": "string",
- "created_at": "string",
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "approve",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "unknown"
}, - "description": "",
- "expires_at": "string",
- "files": [
- {
- "domain": "",
- "error": "string",
- "format": "",
- "name": "string",
- "sha256": "",
- "size": 0,
- "work_product_id": "string",
- "wp_type": ""
}
], - "id": "string",
- "project_id": "string",
- "requested_by": "string",
- "source": "inline",
- "status": "open"
}
]Stage files; they enter the twin only once a person approves the upload.
| approve | boolean (Approve) Default: false Import now; refused for an agent caller |
| description | string (Description) Default: "" What the files are |
| files required | Array of strings (Files) Files, or zips of folders |
Project Id (string) or Project Id (null) (Project Id) Project the files are for | |
Wp Types (string) or Wp Types (null) (Wp Types) JSON object of file name to work product type, e.g. {"a.json": "bom"} |
{- "agent": "string",
- "created_at": "string",
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "approve",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "unknown"
}, - "description": "",
- "expires_at": "string",
- "files": [
- {
- "domain": "",
- "error": "string",
- "format": "",
- "name": "string",
- "sha256": "",
- "size": 0,
- "work_product_id": "string",
- "wp_type": ""
}
], - "id": "string",
- "project_id": "string",
- "requested_by": "string",
- "source": "inline",
- "status": "open"
}Stage files sent as content in a JSON body (the plugin's files.import).
| description | string (Description) Default: "" |
required | Array of objects (Files) non-empty |
Project Id (string) or Project Id (null) (Project Id) | |
Requested By (string) or Requested By (null) (Requested By) |
{- "description": "",
- "files": [
- {
- "content_base64": "string",
- "name": "string",
- "text": "string",
- "wp_type": "string"
}
], - "project_id": "string",
- "requested_by": "string"
}{- "agent": "string",
- "created_at": "string",
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "approve",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "unknown"
}, - "description": "",
- "expires_at": "string",
- "files": [
- {
- "domain": "",
- "error": "string",
- "format": "",
- "name": "string",
- "sha256": "",
- "size": 0,
- "work_product_id": "string",
- "wp_type": ""
}
], - "id": "string",
- "project_id": "string",
- "requested_by": "string",
- "source": "inline",
- "status": "open"
}Open an upload and return a signed link that takes files into it.
| description | string (Description) Default: "" |
| expected_bytes | integer (Expected Bytes) >= 0 Default: 0 Total size expected; sets the lifetime |
Lifetime S (integer) or Lifetime S (null) (Lifetime S) | |
Project Id (string) or Project Id (null) (Project Id) | |
Requested By (string) or Requested By (null) (Requested By) |
{- "description": "",
- "expected_bytes": 0,
- "lifetime_s": 0,
- "project_id": "string",
- "requested_by": "string"
}{ }{- "agent": "string",
- "created_at": "string",
- "decision": {
- "agent": "string",
- "approver": "string",
- "approver_verified": false,
- "decided_at": "string",
- "decision": "approve",
- "on_behalf_of": "string",
- "reason": "",
- "surface": "unknown"
}, - "description": "",
- "expires_at": "string",
- "files": [
- {
- "domain": "",
- "error": "string",
- "format": "",
- "name": "string",
- "sha256": "",
- "size": 0,
- "work_product_id": "string",
- "wp_type": ""
}
], - "id": "string",
- "project_id": "string",
- "requested_by": "string",
- "source": "inline",
- "status": "open"
}A staged file's bytes, for the person reviewing the upload.
Gone once the upload is decided: an approved file is then read from its work product, a rejected one is deleted.
| upload_id required | string (Upload Id) |
| name required | string (Name) |
nullVendors with no API that take this service, and which files each accepts. Reads only.
| service required | string (Service) |
| work_product_ids | Array of strings (Work Product Ids) |
{- "service": "string",
- "work_product_ids": [
- "string"
]
}{ }| by | string (By) Default: "" |
| connector_id required | string (Connector Id) |
Array of objects (Items) | |
object (Options) | |
Project Id (string) or Project Id (null) (Project Id) | |
| quantity | integer (Quantity) >= 1 Default: 1 |
| service required | string (Service) |
Ship To Country (string) or Ship To Country (null) (Ship To Country) |
{- "by": "",
- "connector_id": "string",
- "items": [
- { }
], - "options": { },
- "project_id": "string",
- "quantity": 1,
- "service": "string",
- "ship_to_country": "string"
}{ }{- "joints": [
- {
- "base": "string",
- "cable_length_estimate_mm": 0,
- "follower": "string",
- "joint_name": "string",
- "joint_type": "string",
- "segment_length_mm": 0,
- "step_number": 0
}
], - "work_product_id": "string"
}