Production

Jobs

Explore the data types and operations available in Jobs.

250 operations

deleteBatchMutation

Delete a batch; validates tenant, scope and references

deleteBatchComponentMutation

Delete a batchComponent; validates tenant, scope and references

deleteBatchContributionMutation

Delete a batchContribution; validates tenant, scope and references

deleteCapabilityMutation

Delete a capability owned by the caller's tenant. Non-tenant-scoped capabilities cannot be deleted: the payload reports success: false instead. Requires capability:delete permission.

deleteComponentMutation

Delete a component. Requires component:delete permission.

deleteComponentGroupMutation

Delete a component section. Requires componentGroup:delete permission.

deleteEntityNoteMutation

Save note changes independently of embedding success

deleteJobMutation

Delete a job. Requires job:delete permission.

deleteMilestoneMutation

Delete a milestone. Requires milestone:delete permission.

deleteOperationMutation

Delete an operation. Requires operation:delete permission.

deleteOperationItemMutation

Delete an operation item. Requires operation:delete permission.

deleteProductionCellMutation

Delete a production cell. Work centers in the cell are kept but become ungrouped, and schedule scenarios targeting it lose that target. Requires productionCell:delete permission.

deleteScheduleAllocationMutation

Delete a schedule allocation from its scenario. Returns success: false with an "id" error when no such allocation exists. Requires scheduleScenario:write permission.

deleteScheduleScenarioMutation

Permanently delete a schedule scenario. Requires scheduleScenario:delete permission.

deleteShiftDefinitionMutation

Delete a shift definition from the caller's tenant. Deleting one that does not exist is reported as success: false with an "id" error, not as a GraphQL error. Requires shiftDefinition:delete permission.

deleteTaskMutation

Delete a task. Requires task:delete permission. A task with logged time, voided entries included, is refused with code TASK_HAS_LOGGED_TIME: cancel it instead.

deleteWorkCenterMutation

Permanently delete a work center from the caller's tenant. Returns success = false when no work center with that id exists. Prefer setting lifecycle = ARCHIVED to retire a work center that has production history. Requires workCenter:delete permission.

deleteWorkCenterCapabilityMutation

Removes a capability assignment from a work center. Returns success: false with an "id" error when the assignment does not exist in the caller's tenant. Requires workCenter:write permission.

deleteWorkCenterDeviceMutation

Remove a work center ↔ device binding. Requires workCenter:write.

deleteWorkCenterShiftProfileMutation

Permanently deletes a work center shift profile, so the work center no longer runs that shift definition over the profile's window. Requires workCenter:write.

destroyJobGroupMutation

Delete a job group (jobs are unlinked, not deleted). Requires jobGroup:delete permission.

destroyJobGroupAndJobsMutation

Delete a job group and all its jobs. Requires jobGroup:delete permission.

discardTaskTimerMutation

Discard the caller's running timer on a task: it is voided with no duration and stays on record. Only the timer's owner.

entityNotesQuery

Read operational notes with current target permissions

evaluateProducibilityQuery

Evaluate whether a component can be produced by the given work centers

fulfilDelegatedWorkMutation

Complete delegated job work from finished producer evidence without duplicate machine metrics or production receipts.

generateDefaultDataQueryQuery

Generate a default GraphQL data query for an event topic. Returns a query string with all scalar fields for the resource, or null if the topic has no matching query. The query uses $id as the variable for the resource ID.

getBatchQuery

Fetch one batch; tenant scoped

getBatchComponentQuery

Fetch one batchComponent; tenant scoped

getBatchContributionQuery

Fetch one batchContribution; tenant scoped

getCapabilityQuery

Fetch a single capability by id, scoped to the caller's tenant. Null when no visible capability has that id. Requires capability:read permission.

getCapabilityByCodeQuery

Resolve an existing capability by code. A tenant-owned definition takes precedence over a shared definition, matching inference. Ambiguous definitions fail; missing codes return null. Read-only; requires capability:read.

getComponentQuery

Fetch a component by ID. Requires component:read permission.

getComponentByQuery

Fetch a component by external ID. Requires component:read permission.

getComponentGroupQuery

Fetch a component section by ID. Requires componentGroup:read permission.

getEntityNoteQuery

Read operational notes with current target permissions

getEntityNoteBySourceQuery

Read operational notes with current target permissions

getExistingCapabilityQuery

Read an existing capability reference by identity. Returns null if not visible. Requires capability:read.

getJobQuery

Fetch a job by ID. Requires job:read permission.

getJobByQuery

Fetch a job by external ID. Requires job:read permission.

getJobGroupQuery

Fetch a job group by ID. Requires jobGroup:read permission.

getMagicQueryGraphQLQuery

Resolves a Magic Query string to the real GraphQL operation and variables it runs, so consumers can graduate from the façade to raw GraphQL. Does not execute.

getMagicQuerySchemaQuery

Returns the input JSON Schema and output introspection for a Magic Query noun, so consumers (especially LLMs) can learn its contract before calling magicQuery.

getMilestoneQuery

Fetch a milestone by ID. Requires milestone:read permission.

getMilestoneByQuery

Fetch a milestone by any of its external ids. Every supplied id must match; with none, returns null. Requires milestone:read permission.

getOperationQuery

Fetch an operation by ID. Requires operation:read permission.

getOperationByQuery

Fetch an operation by external ID. Requires operation:read permission.

getOperationCompletionQuery

Fetch an operation completion record by ID. Requires operation:read permission.

getOperationCompletionByOperationQuery

Fetch the most recent completion record for an operation. Requires operation:read permission.

getOperationParameterSchemaQuery

Returns the JSON Schema (draft-07) for the parameters field of the given operation kind, or null if no schema is defined for that kind. Use this to drive dynamic form generation on the client. Requires operation:read permission.