AI agent getting started? Read Agents: start here first.
Use the CLI to read and change engineering data, configure a tool or administer access. Get set up before running a command.
How to read this page
Section titled “How to read this page”Angle brackets name values you supply; square brackets mark optional arguments. Each command lists its capability, admitted actors, inputs and example. Use returned identifiers in place of placeholders.
Command index
Section titled “Command index”openeng help
Section titled “openeng help”usage: openeng help [<command words>] (the same as <command words> --help) openeng login [--no-open] openeng logout openeng whoami openeng session human openeng session status openeng org list openeng org attach <id> openeng org create --name <name> [--idempotency-key <key>] openeng org detach openeng org current openeng projects list openeng projects create --name <text> openeng projects rename --project <id> --name <text> openeng rules add (--project <id>|--organisation) --extent <extent> --pattern <pattern> [settings] openeng rules update (--project <id>|--organisation) --rule-id <id> [settings] openeng rules list (--project <id>|--organisation) openeng rules remove (--project <id>|--organisation) --rule-id <id> openeng org-refs create --name <name> [--read-only] openeng org-refs list openeng org-refs delete --name <name> openeng org-refs mark-read-only --name <name> openeng locks set --project <id> --ref <ref> --object <id> --lock <lock> --reason <text> openeng ceiling show --project <id> openeng ceiling set --project <id> --ceiling <contributor|maintainer> openeng schema-update request --ref <ref> openeng schema-update show --ref <ref> openeng feedback bug --title <text> (--body <text> | --body-file <path|->) [context] openeng feedback feature --title <text> (--body <text> | --body-file <path|->) [context] openeng attachment add <object> <property> <file> --project <id> --ref <ref> --reason <text> openeng attachment get <object> <property> [--out <path>] --project <id> --ref <ref> openeng attachment list <object> --project <id> --ref <ref> openeng links status <object> --project <id> --ref <ref> openeng links clear <link>... --version <v>... --project <id> --ref <ref> --reason <text> openeng branches impact <ref> --base <base> --project <id> openeng hosted-app publish <bundle> --project <id> --key <app key> openeng hosted-app list --project <id> openeng hosted-app versions <app key> --project <id> openeng hosted-app revoke <app key | app id | version id> --project <id> openeng types list --project <id> openeng types export --project <id> openeng types draft open openeng types draft current openeng types draft show --change-set <id> [--project <id>] openeng types draft state --change-set <id> openeng types draft revise --change-set <id> --revision <rev> --from <file> [--rail-groups <json>] openeng types draft try --type <key> --sample <file> [--change-set <id>] openeng types draft validate --change-set <id> --revision <token> openeng types draft discard --change-set <id> openeng types draft accept --change-set <id> --revision <token> openeng connector create --system onshape --stack <s> --name <t> [selection flags] openeng connector set-credential <connection> openeng connector draft-types <connection> openeng connector revoke <connection> openeng connector run <connection> openeng connector runs <connection> openeng link <kind> ... (openeng link --help) openeng link <branch-diff|project> --project <id> --ref <ref> openeng link <ontology|change-set> --ref <ref> openeng link <object|type|proposal|app> <identifier> --project <id> --ref <ref> openeng link app-draft <appKey> --ref <ref> openeng link app-page <appKey> <pageKey> --project <id> --ref <ref> openeng link organisation-page <page> openeng demo seed --project <id> [--size standard|full] openeng skill [<topic> | playbook <name>] openeng types icons [<text>] openeng objects-sdk <method> ... (openeng objects-sdk <method> --help) startBuild cancelBuild readBuildRun listBuildRuns readStepRun readOutputValues readStepLog checkCase createObjectSet listObjectSets readObjectSet updateObjectSet deleteObjectSet completeAttachmentUpload readAttachment readObject queryObjects queryRows aggregateObjects discoverVerbs readHistory mutate mutateBatch previewDelete recover executeVerb listProjects listRefs readCatalogue queryGraph readStructure findPaths readLinkStatus clearLinks setObjectLock readApp listApps searchPeople searchObjectReaders listSubscribers addSubscriber removeSubscriber listComments acquireDraft saveDraft promoteDraft releaseDraft discardDraft breakDraftLock readDraftLock restoreDraft setCommentResolved addComment openeng branches-sdk <method> ... (openeng branches-sdk <method> --help) createBranch merge readMergeConflicts disposeRef readPendingProposal submitProposal listProposals readProposal refuseProposal approveProposal readBranchDiff readChangeImpact diffBranches readBranchHistory readRefHead inspectBranchOperation abandonBranch requestSchemaUpdate readSchemaUpdateRequest openeng admin-sdk <method> ... (openeng admin-sdk <method> --help) registerEngine listEngines createFeedback listFeedback registerClient listClients revokeClient replaceClientKeys createServiceIdentity revokeServiceIdentity revokeServiceCredential grantMembership revokeMembership leaveMembership setModelId readModelConfigurationStatus readAccount readDisplayNames listMembers changeMembershipRole listOrganisationMembers listServiceIdentities createInvitation listInvitations revokeInvitation readInvitationDomainRule setInvitationDomainRule reissueInvitation createPlatformInvitation listPlatformInvitations revokePlatformInvitation reissuePlatformInvitation readWebOrigin readCallerCapabilities listAudit listOrganisationAudit addRefRule listRefRules removeRefRule updateRefRule addOrganisationRule listOrganisationRules removeOrganisationRule updateOrganisationRule createOrganisationRef listOrganisationRefs deleteOrganisationRef markOrganisationRefReadOnly readAgentCeiling renameProject setAgentCeiling createProject createOrganisation createConnection listConnections readConnectionIdentity draftConnectorTypes revokeConnection startImportRun listImportRuns closeImportRun openeng agents-sdk <method> ... (openeng agents-sdk <method> --help) openAgentSession listAgentSessions readAgentSession sendMessage answerPlan stopRun closePlan sendMessageStreamed answerPlanStreamed openeng ontology-sdk <method> ... (openeng ontology-sdk <method> --help) openChangeSet readCurrentChangeSet readChangeSet readChangeSetState reviseChangeSet validateChangeSet discardChangeSet acceptChangeSet openAppDraft readAppDraft reviseAppDraft acceptAppDraft validateAppDraft discardAppDraftoptions: --host <unix:/absolute/path | https origin> --sign-in-origin <loopback origin> --json --help --versiondefault host: https://api.openeng.ioto use another host: --host <origin>, or set OPENENG_HOST=<origin>agents: start with openeng skill, which prints how to work with the platform.openeng login
Section titled “openeng login”openeng login [--no-open]does: signs the person in through the browser and stores the session; --no-open prints the sign-in address instead of opening itexample: openeng loginoutput: one line naming the principal, the host, the store and the expiry; under --json an object with principalId, hostKey, store and expiresAtdefault host: https://api.openeng.ioto use another host: --host <origin>, or set OPENENG_HOST=<origin>agents: start with openeng skill, which prints how to work with the platform.openeng logout
Section titled “openeng logout”openeng logoutdoes: ends the session at the host and deletes the stored sessionexample: openeng logoutoutput: one line saying the session is deleted; under --json an object with host, refreshedFirst and entryDeletedopeneng whoami
Section titled “openeng whoami”openeng whoamidoes: prints who the stored session belongs to; sends no request and never prints a tokenexample: openeng whoami --jsonoutput: one line naming the principal, host, store, expiry and protocol; under --json an object with principalId, host, store, expiresAt and protocolVersionopeneng session human
Section titled “openeng session human”openeng session humandoes: asks once for web confirmation, then uses human mode for this CLI session; already-human sessions are unchangedexample: openeng session human --jsonoutput: server-stored channel, mode and sign-in time; under --json { channel, mode, issuedAt }openeng session status
Section titled “openeng session status”openeng session statusdoes: reads this session's channel, mode and sign-in time from the server; needs no organisation attachmentexample: openeng session status --jsonoutput: server-stored channel, mode and sign-in time; under --json { channel, mode, issuedAt }openeng org list
Section titled “openeng org list”openeng org listdoes: lists the organisations the signed-in person holds a live grant in; needs no attachmentexample: openeng org list --jsonoutput: one line per organisation, its id then its name; under --json an array of objects with id and nameopeneng org attach
Section titled “openeng org attach”openeng org attach <id>does: attaches the session to the organisation, so later commands act in it; the id comes from openeng org listexample: openeng org attach org_abc123output: one line naming the attached organisation; under --json an object with organisation (id and name)openeng org create
Section titled “openeng org create”openeng org create --name <name> [--idempotency-key <key>]does: creates an organisation; the host generates its identifier, and you cannot choose itexample: openeng org create --name "Acme Robotics"output: one line with the name and the new identifier; under --json an object with organisationId capability: admin.organisationsopeneng org detach
Section titled “openeng org detach”openeng org detachdoes: detaches the session from its organisation; commands that act in an organisation refuse until you attach againexample: openeng org detachoutput: one line saying the session is detached; under --json an object with organisation nullopeneng org current
Section titled “openeng org current”openeng org currentdoes: prints the organisation the stored session is attached to; sends no requestexample: openeng org current --jsonoutput: one line, org: <name> (<id>), or not attached; under --json an object with organisation (id and name, or null)openeng projects list
Section titled “openeng projects list”openeng projects listdoes: lists the projects in the attached organisation that the signed-in person may listexample: openeng projects list --jsonoutput: one line per project: id, name, namespace and role; under --json an object with scope and value, where value is the array of objects with projectId, name, namespaceId and roleLabelopeneng projects create
Section titled “openeng projects create”openeng projects create --name <text>does: creates a project in the attached organisation; the host generates the project and namespace identifiers, and you cannot choose themexample: openeng projects create --name "Rover"output: one line with the new project id and namespace id; under --json an object with projectId and namespaceIdopeneng projects rename
Section titled “openeng projects rename”openeng projects rename --project <id> --name <text>does: renames the project; the name is sent as typed, and only an empty name is refusedcapability: administer projects on the selected project; a caller without it is told the project was not foundexample: openeng projects rename --project project-one --name "Rover"output: one line with the project id and its new name; under --json an object with projectId and nameopeneng rules add
Section titled “openeng rules add”openeng rules add (--project <id>|--organisation) --extent <ref|rows> --pattern <pattern> [settings]settings: --consequence <open|merge-only|locked-rows-only> --require-proposal <true|false> --required-approvals <0..10> --approver-min-role <contributor|maintainer|owner|null> --restrict-deletions <true|false> --approvers '<JSON person-id array>' --bypass '<JSON member array>'bypass: [{"kind":"role","roleKey":"owner"},{"kind":"person","personId":"person-id"}, {"kind":"service","serviceIdentityId":"service-id"},{"kind":"client","clientId":"client-id"}]does: adds a project or organisation rule with the supplied settings and defaults for omitted fieldscapability: administer projects on the selected project or administer projects in the attached organisationexample: openeng rules add --organisation --extent ref --pattern release-v1 --consequence merge-onlyoutput: the rule id, pattern and consequence; under --json { scope, value }, with the full RefRule in valueopeneng rules update
Section titled “openeng rules update”openeng rules update (--project <id>|--organisation) --rule-id <id> [settings]settings: --consequence <open|merge-only|locked-rows-only> --require-proposal <true|false> --required-approvals <0..10> --approver-min-role <contributor|maintainer|owner|null> --restrict-deletions <true|false> --approvers '<JSON person-id array>' --bypass '<JSON member array>'bypass: [{"kind":"role","roleKey":"owner"},{"kind":"person","personId":"person-id"}, {"kind":"service","serviceIdentityId":"service-id"},{"kind":"client","clientId":"client-id"}]does: changes settings in place; omitted fields keep their values; lists replace their memberscapability: administer projects on the selected project or administer projects in the attached organisationexample: openeng rules update --project project-one --rule-id rule-one --required-approvals 2output: the full rule under --json; every update asks an agent-mode session to confirmopeneng rules list
Section titled “openeng rules list”openeng rules list (--project <id>|--organisation)does: lists visible ref protection rules for the project or attached organisationcapability: read on the selected project or read in the attached organisationexample: openeng rules list --organisation --jsonoutput: id, pattern and consequence per rule, or no rules; --json { scope, value }, value is a RefRule arrayopeneng rules remove
Section titled “openeng rules remove”openeng rules remove (--project <id>|--organisation) --rule-id <id>does: removes one rule from the project or attached organisation by its identifiercapability: administer projects on the selected project or administer projects in the attached organisationexample: openeng rules remove --organisation --rule-id rule-oneoutput: the removed rule id; under --json { scope, value }, with { ruleId } in valueopeneng org-refs create
Section titled “openeng org-refs create”openeng org-refs create --name <name> [--read-only]does: creates a ref in the attached organisation, optionally read-onlycapability: administer projects in the attached organisationexample: openeng org-refs create --name release-v1 --read-onlyoutput: the ref name and write state; under --json { scope, value }, with the full OrganisationRef in valueopeneng org-refs list
Section titled “openeng org-refs list”openeng org-refs listdoes: lists visible refs in the attached organisationcapability: read in the attached organisationexample: openeng org-refs list --jsonoutput: each ref's name and write state, or no refs; under --json { scope, value }, value is an arrayopeneng org-refs delete
Section titled “openeng org-refs delete”openeng org-refs delete --name <name>does: deletes a writable ref from the attached organisationcapability: administer projects in the attached organisationexample: openeng org-refs delete --name reviewoutput: the deleted ref name; under --json { scope, value }, with { name } in valueopeneng org-refs mark-read-only
Section titled “openeng org-refs mark-read-only”openeng org-refs mark-read-only --name <name>does: marks a ref in the attached organisation read-onlycapability: administer projects in the attached organisationexample: openeng org-refs mark-read-only --name release-v1output: the ref name and write state; under --json { scope, value }, with the full OrganisationRef in valueopeneng locks set
Section titled “openeng locks set”openeng locks set --project <id> --ref <ref> --object <id> --lock <lock> --reason <text>does: sets or lifts an object's lock on the selected project ref; --lock is none, merge-only or frozenreason: required; say why the lock changes, written first in the save commit messagecapability: lock objects on the selected projectexample: openeng locks set --project project-one --ref main --object object-one --lock frozen --reason "Freeze the released drawing"output: the object identifier and lock; under --json { scope, value }, with { objectId, lock } in valueopeneng ceiling show
Section titled “openeng ceiling show”openeng ceiling show --project <id>does: reads the maximum role an agent can hold in the projectcapability: read on the selected projectexample: openeng ceiling show --project project-one --jsonoutput: the ceiling role; under --json { scope, value }, with { ceiling } in valueopeneng ceiling set
Section titled “openeng ceiling set”openeng ceiling set --project <id> --ceiling <contributor|maintainer>does: sets the maximum role an agent can hold in the projectcapability: administer projects on the selected projectexample: openeng ceiling set --project project-one --ceiling contributoroutput: the ceiling role; under --json { scope, value }, with { ceiling } in valueopeneng schema-update request
Section titled “openeng schema-update request”openeng schema-update request --ref <ref>does: records a schema update request for the ref; execution is separatecapability: write ref on the branch's home project or administer projects for an organisation refexample: openeng schema-update request --ref project-one/workoutput: the ref and request state; under --json { scope, value }, with the full SchemaUpdateRequest in valueopeneng schema-update show
Section titled “openeng schema-update show”openeng schema-update show --ref <ref>does: reads the latest visible schema update request for the refcapability: none; only the caller's own requests in the token's organisation; no project read requiredexample: openeng schema-update show --ref project-one/work --jsonoutput: the ref and state, or no request; under --json { scope, value }, value is SchemaUpdateRequest or nullopeneng feedback bug
Section titled “openeng feedback bug”openeng feedback bug --title <text> (--body <text> | --body-file <path|->) [context]context: --project <id> --route <name> --correlation <id>, each optionaldoes: files a bug feedback entry; --body-file - reads the body from standard inputexample: openeng feedback bug --title "..." --body-file - --route createFeedbackoutput: entry identifier and filing timeopeneng feedback feature
Section titled “openeng feedback feature”openeng feedback feature --title <text> (--body <text> | --body-file <path|->) [context]context: --project <id> --route <name> --correlation <id>, each optionaldoes: files a feature feedback entry; --body-file - reads the body from standard inputexample: openeng feedback feature --title "..." --body-file - --route createFeedbackoutput: entry identifier and filing timeopeneng attachment add
Section titled “openeng attachment add”openeng attachment add <object> <property> <file> --project <id> --ref <ref> --reason <text>does: stages a file and saves its descriptor on the object's attachment propertyreason: required; say why the file is attached, written first in the save commit messageexample: openeng attachment add obj_abc drawing ./drawing.pdf --project proj_abc --ref main --reason "Attach the released drawing"output: the attachment descriptor as JSONopeneng attachment get
Section titled “openeng attachment get”openeng attachment get <object> <property> [--out <path>] --project <id> --ref <ref>does: downloads an object's attachment property to --out or the descriptor's nameexample: openeng attachment get obj_abc drawing --out ./drawing.pdf --project proj_abc --ref mainoutput: the path writtenopeneng attachment list
Section titled “openeng attachment list”openeng attachment list <object> --project <id> --ref <ref>does: lists the object's attachment-kind propertiesexample: openeng attachment list obj_abc --project proj_abc --ref mainoutput: one JSON object per attachment property with its descriptoropeneng links status
Section titled “openeng links status”openeng links status <object> --project <id> --ref <ref>does: reads review and bounds states, clearing attribution and upstream versions; bounds show unitsexample: openeng links status obj_abc --project proj_abc --ref mainoutput: head, tracked links and aggregate bounds; --json returns the complete answeropeneng links clear
Section titled “openeng links clear”openeng links clear <link>... --version <v>... --project <id> --ref <ref> --reason <text>does: clears 1 to 100 links atomically; supply one upstream version from links status per link, in the same orderreason: required; say why the links are cleared, written first in the save commit messageexample: openeng links clear edg_abc --version <upstream-version> --project proj_abc --ref main --reason "Reviewed the upstream change"output: the clearing commit and correlation; upstream-changed requires reading the status and reviewing againopeneng branches impact
Section titled “openeng branches impact”openeng branches impact <ref> --base <base> --project <id>does: reads review and bounds changes against the merge base, downstream reach and hidden countsexample: openeng branches impact proj_abc/work --base main --project proj_abcoutput: both heads, changes with units, reach and hidden counts; --json returns the complete answeropeneng hosted-app publish
Section titled “openeng hosted-app publish”openeng hosted-app publish <bundle> --project <id> --key <app key>does: publishes a bundle file as the next version of the project's hosted app under the key, creating the app when the project has none under that keyexample: openeng hosted-app publish ./dist/app.js --project proj_abc --key rover-dashboardoutput: the version id, its SHA-256 and its size; for an app that holds the reduced isolation permission, the reduced isolation warning as wellopeneng hosted-app list
Section titled “openeng hosted-app list”openeng hosted-app list --project <id>does: lists the hosted apps of the projectexample: openeng hosted-app list --project proj_abcoutput: one line per app: key, id, state, creation time and creatoropeneng hosted-app versions
Section titled “openeng hosted-app versions”openeng hosted-app versions <app key> --project <id>does: lists the versions of the project's hosted app under the key, newest firstexample: openeng hosted-app versions rover-dashboard --project proj_abcoutput: one line per version: id, state, SHA-256, size, publication time and publisheropeneng hosted-app revoke
Section titled “openeng hosted-app revoke”openeng hosted-app revoke <app key | app id | version id> --project <id>does: revokes one version (an argument starting hav_) or the whole app (its key or app_ id); the next call under any launch of it is refusedexample: openeng hosted-app revoke hav_abc... --project proj_abcoutput: one line naming what was revokedopeneng types list
Section titled “openeng types list”openeng types list --project <id>does: lists the project's published typesexample: openeng types list --project proj_abc123output: one line per type: category, key, version and display name; under --json an object with objects, edges and verbs arraysopeneng types export
Section titled “openeng types export”openeng types export --project <id>does: exports the project's published types as the file openeng types draft revise --from readsexample: openeng types export --project proj_abc123 > types.jsonoutput: one JSON object keyed by type key, each value the first prospective version of an edit; {} when nothing is publishedopeneng types draft open
Section titled “openeng types draft open”openeng types draft opendoes: opens a change set on the attached organisation's namespace, where type edits are draftedexample: openeng types draft openoutput: one line with the change set id and revision; under --json an object with changeSetId and revisionopeneng types draft current
Section titled “openeng types draft current”openeng types draft currentdoes: reads the attached organisation's open change set, if there is oneexample: openeng types draft current --jsonoutput: one line naming the change set and revision, or that none is open; under --json an object with changeSetId, revision and scope, or {scope, value: null} when none is openopeneng types draft show
Section titled “openeng types draft show”openeng types draft show --change-set <id> [--project <id>]does: prints a change set's prospective types; with --project it prints the delta against that project's published types insteadexample: openeng types draft show --change-set cs_abc123 --project proj_abc123output: text lines for the revision and each type or delta; under --json an object with revision and changes, and delta where --project is given (railGroups when the change set holds them)openeng types draft state
Section titled “openeng types draft state”openeng types draft state --change-set <id>does: reads whether a change set is open, accepted or discardedexample: openeng types draft state --change-set cs_abc123output: one line with the state and revision; under --json an object with state and revisionopeneng types draft revise
Section titled “openeng types draft revise”openeng types draft revise --change-set <id> --revision <rev> --from <file> [--rail-groups <json>]does: replaces the change set's delta with the JSON object in the file; the host validates itexample: openeng types draft revise --change-set cs_abc123 --revision rev_abc123 --from types.jsonoutput: one line with the new revision; under --json an object with revisionfile: a JSON object keyed by type key; --from gives its path.changes: required; map of type definitions. See `openeng help ontology-sdk reviseChangeSet` for each entry's fields.Direction:The graph places an edge's source before its target. Put the upstream end at source.parentEnd:This names the tree parent, independent of direction. A structural edge needs a non-null parentEnd; type validation can accept null, but an edge write cannot store it.Structural parents:An object has at most one structural parent in a project. The same object cannot be connected into a structural cycle.subjectEnd:No current read or write behaviour uses subjectEnd. Set it to "source".structureDeclaration.relationships:This list ranks parent edge types. The first listed edge type with a readable parent offer wins.structureDeclaration.views:Declaring any views replaces the relationship picker in the web app. Put the default view first.Rail and presentation:Use presentationBindings.rail with group and order to place a type in the rail.title selects its title property; typeIcon selects its icon. Supply the full group list with --rail-groups.typeIcon must be a Material Symbols Rounded name from @material-symbols/font-400, such as memory or developer_board; cpu is invalid.openeng types icons <text> lists valid names and needs no sign-in; the full list is at https://docs.openeng.io/reference/icons/.Reserved keys:Do not use __proto__, constructor or prototype as property keys or enumeration members. Validation refuses them with prototype-key.After acceptance:An edge's kind, endpoint types, subjectEnd, parentEnd, labels and read or write rules cannot change.A published type cannot add a required property or remove an enumeration member.First version:A new type key starts at version 1.Example model:These neutral keys show two object types, a structural has-* edge, a traceability edge, a rail group and two views: assembly and goal are object types with a title string; goal also has a title binding and rail group Work. goal.structureDeclaration.relationships ranks has-goal before refines; both edges place goal as the child. has-goal is structural: source assembly, target goal, parentEnd source. refines is traceability: source goal, target goal, parentEnd source. goal.structureDeclaration.views lists by-assembly first over has-goal, then refinement over refines.openeng types draft try
Section titled “openeng types draft try”openeng types draft try --type <key> --sample <file> [--change-set <id>]does: checks one sample instance against the open change set's version of a type, with the check a write runs; writes nothingexample: openeng types draft try --type part --sample sample.jsonoutput: a line saying the sample fits, or a count and one line per violation (exit 4); under --json an object with valid and violations, each with path and ruleopeneng types draft validate
Section titled “openeng types draft validate”openeng types draft validate --change-set <id> --revision <token>does: asks the host for the violations of a change set at a revision; exits 4 when there is one or moreexample: openeng types draft validate --change-set cs_abc123 --revision rev_abc123output: a count and one line per violation, or a line saying there are none; under --json an object with violations, an arrayopeneng types draft discard
Section titled “openeng types draft discard”openeng types draft discard --change-set <id>does: discards a change set and its drafted typesexample: openeng types draft discard --change-set cs_abc123output: one line naming the discarded change set; under --json an object with scope alone, because the result is emptyopeneng types draft accept
Section titled “openeng types draft accept”openeng types draft accept --change-set <id> --revision <token>does: publishes the change set's types at the revision the person reviewedexample: openeng types draft accept --change-set cs_abc123 --revision rev_abc123output: one line with the number of type versions published; under --json an object with versionIds, an arrayopeneng connector create
Section titled “openeng connector create”openeng connector create --system onshape --stack <stack> --name <text> [--company <id>] [--team <id> | --owner <id>] [--label <text>]does: creates a connection to an Onshape account, its mirror project and its service identity; the host generates their identifiersexample: openeng connector create --system onshape --stack cad --name "Onshape mirror" --company 5f1b2c3d4e5f6a7b8c9d0e1foutput: the new connection and project ids and whether the types were drafted; under --json an object with connectionId, mirrorProjectId, types and scope, where types is {outcome: drafted, changeSetId}, {outcome: already-approved}, {outcome: open-change-set, changeSetId} or {outcome: not-drafted, rule} --team or --owner limits the import to that upstream team or owner; with neither, the company's documents are imported and --company, the company's own identifier and never a user's, is required Everyone with access to this project sees every document this Onshape account can see. needs: administer projects and administer service identities in the organisation (the owner role)openeng connector set-credential
Section titled “openeng connector set-credential”openeng connector set-credential <connection>does: stores the Onshape keys for a connectionexample: openeng connector set-credential conn_abc123output: one line naming the Onshape account and the time the keys were set; under --json an object with upstreamIdentity and setAt asks for the Onshape access key and secret key at a terminal prompt, never from a flag or the environment; setting it again replaces the stored credential needs: administer projects in the organisationopeneng connector draft-types
Section titled “openeng connector draft-types”openeng connector draft-types <connection>does: drafts the connection's types for reviewexample: openeng connector draft-types conn_abc123output: a line saying what was drafted or why not; under --json an object with scope and outcome: {outcome: drafted, changeSetId}, {outcome: already-approved} or {outcome: open-change-set, changeSetId} drafts the connector's types as a change set for a person to review and accept with openeng types draft needs: administer types in the organisation, and read on the mirror projectopeneng connector revoke
Section titled “openeng connector revoke”openeng connector revoke <connection>does: revokes the connectionexample: openeng connector revoke conn_abc123output: one line naming the revoked connection; under --json an object with scope alone, because the result is empty revokes the connection: its running runs end as failed and its service identity can no longer act needs: administer projects and administer service identities in the organisationopeneng connector run
Section titled “openeng connector run”openeng connector run <connection>does: starts an import runexample: openeng connector run conn_abc123output: one line with the run id; under --json an object with runId starts a run that imports the connection's source into its mirror project, and answers the run's identifier once its row has committed needs: write ref on the mirror projectopeneng connector runs
Section titled “openeng connector runs”openeng connector runs <connection>does: lists the connection's runsexample: openeng connector runs conn_abc123 --jsonoutput: one line per run: id, state, start and finish times, completeness, counts and failure; under --json an object with scope and value, where value is the array of run records lists the connection's runs, newest first, each with its state, counts and failure kind needs: read on the mirror projectopeneng link
Section titled “openeng link”openeng link <branch-diff|project> --project <id> --ref <ref>openeng link explore --project <id> --ref <ref> (--object <id> | --object-set <id>)openeng link <ontology|change-set> --ref <ref>openeng link app-draft <appKey> --ref <ref>openeng link <object|type|proposal|app> <identifier> --project <id> --ref <ref>openeng link app-page <appKey> <pageKey> --project <id> --ref <ref>openeng link organisation-page <page>object: the object's type page with the object open; its type comes from the object readtype: the type's pageexplore: Explore with exactly one --object or --object-set seedbranch-diff: the branch comparison pageproject: the project pageproposal: the proposal review pageontology: the organisation's Types workspacechange-set: the organisation's Change set workspaceapp: the published app's first pageapp-page: the named page of a published appapp-draft: the app's draft screen in the Types workspaceorganisation-page: the named organisation administration page or settingsdoes: reads the page's subject before printing its web address for the attached organisationref: --ref takes main or <projectId>/<branch>, the ref the platform returns; match --project when givenrefusal: a subject not found by the page's own read prints no addressexample: openeng link explore --project proj_abc123 --ref main --object obj_abc123output: the address on one line; under --json an object with linkopeneng link app-draft
Section titled “openeng link app-draft”openeng link <branch-diff|project> --project <id> --ref <ref>openeng link explore --project <id> --ref <ref> (--object <id> | --object-set <id>)openeng link <ontology|change-set> --ref <ref>openeng link app-draft <appKey> --ref <ref>openeng link <object|type|proposal|app> <identifier> --project <id> --ref <ref>openeng link app-page <appKey> <pageKey> --project <id> --ref <ref>openeng link organisation-page <page>object: the object's type page with the object open; its type comes from the object readtype: the type's pageexplore: Explore with exactly one --object or --object-set seedbranch-diff: the branch comparison pageproject: the project pageproposal: the proposal review pageontology: the organisation's Types workspacechange-set: the organisation's Change set workspaceapp: the published app's first pageapp-page: the named page of a published appapp-draft: the app's draft screen in the Types workspaceorganisation-page: the named organisation administration page or settingsdoes: reads the page's subject before printing its web address for the attached organisationref: --ref takes main or <projectId>/<branch>, the ref the platform returns; match --project when givenrefusal: a subject not found by the page's own read prints no addressexample: openeng link explore --project proj_abc123 --ref main --object obj_abc123output: the address on one line; under --json an object with linkopeneng link app-page
Section titled “openeng link app-page”openeng link <branch-diff|project> --project <id> --ref <ref>openeng link explore --project <id> --ref <ref> (--object <id> | --object-set <id>)openeng link <ontology|change-set> --ref <ref>openeng link app-draft <appKey> --ref <ref>openeng link <object|type|proposal|app> <identifier> --project <id> --ref <ref>openeng link app-page <appKey> <pageKey> --project <id> --ref <ref>openeng link organisation-page <page>object: the object's type page with the object open; its type comes from the object readtype: the type's pageexplore: Explore with exactly one --object or --object-set seedbranch-diff: the branch comparison pageproject: the project pageproposal: the proposal review pageontology: the organisation's Types workspacechange-set: the organisation's Change set workspaceapp: the published app's first pageapp-page: the named page of a published appapp-draft: the app's draft screen in the Types workspaceorganisation-page: the named organisation administration page or settingsdoes: reads the page's subject before printing its web address for the attached organisationref: --ref takes main or <projectId>/<branch>, the ref the platform returns; match --project when givenrefusal: a subject not found by the page's own read prints no addressexample: openeng link explore --project proj_abc123 --ref main --object obj_abc123output: the address on one line; under --json an object with linkopeneng link organisation-page
Section titled “openeng link organisation-page”openeng link <branch-diff|project> --project <id> --ref <ref>openeng link explore --project <id> --ref <ref> (--object <id> | --object-set <id>)openeng link <ontology|change-set> --ref <ref>openeng link app-draft <appKey> --ref <ref>openeng link <object|type|proposal|app> <identifier> --project <id> --ref <ref>openeng link app-page <appKey> <pageKey> --project <id> --ref <ref>openeng link organisation-page <page>object: the object's type page with the object open; its type comes from the object readtype: the type's pageexplore: Explore with exactly one --object or --object-set seedbranch-diff: the branch comparison pageproject: the project pageproposal: the proposal review pageontology: the organisation's Types workspacechange-set: the organisation's Change set workspaceapp: the published app's first pageapp-page: the named page of a published appapp-draft: the app's draft screen in the Types workspaceorganisation-page: the named organisation administration page or settingsdoes: reads the page's subject before printing its web address for the attached organisationref: --ref takes main or <projectId>/<branch>, the ref the platform returns; match --project when givenrefusal: a subject not found by the page's own read prints no addressexample: openeng link explore --project proj_abc123 --ref main --object obj_abc123output: the address on one line; under --json an object with linkopeneng demo seed
Section titled “openeng demo seed”openeng demo seed --project <id> [--size standard|full]does: plays a generic open-cycle gas turbine plant into a project the signed-in person may list; a repeat completes what is leftexample: openeng demo seed --project proj_abc123 --size standardoutput: one line with the counts created and replayed; under --json an object with projectId, world, size, created and replayedopeneng skill
Section titled “openeng skill”openeng skill [<topic> | playbook <name>]does: prints a bundled agent skill; no host or session is needed. An agent starts here.example: openeng skill conventionsoutput: the skill text; under --json an object with skill and, for the main skill, topics (an array of topic names)Topics: openeng skill build-ui openeng skill conventions openeng skill demo openeng skill new-use-case openeng skill playbook engineering-requirements openeng skill playbook product-lifecycle openeng skill playbook project-managementopeneng types icons
Section titled “openeng types icons”openeng types icons [<text>]does: lists valid type icon names; no host, sign-in or session is neededexample: openeng types icons CHIPoutput: one name per line; under --json an object with a names arrayopeneng objects-sdk startBuild
Section titled “openeng objects-sdk startBuild”openeng objects-sdk startBuild --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: startBuild (POST /builds/start)module: objects-sdkcapability: objects.buildactors: person, agent:apply, app:clientstep-up: person: none; agent:apply: none; app:client: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Start a build of the named targets on the selected ref; a wholly current selection returns current and stale counts on the first response, but its replay returns only { kind: "unchanged" } because the counts are not stored. Each step runs on the engine image its function's runtime names. A step whose function holds a Python body is checked against the body's typed signature: an unknown argument, a missing required one or a mismatched type is refused binding-mismatch.input fields: target: required; kinds: outputs | case | build kind outputs: outputIds (array of string, required) kind case: caseId (string, required) kind build: buildId (string, required) choice: optional; "run-all" | "run-stale"selector keys: projectId: required; string ref: required; stringexample input: {"target":{"kind":"outputs","outputIds":[]}}openeng objects-sdk cancelBuild
Section titled “openeng objects-sdk cancelBuild”openeng objects-sdk cancelBuild --selector <json> [--input <json> | --input - | --input-file <path>]route: cancelBuild (POST /builds/cancel)module: objects-sdkcapability: objects.buildactors: person, agent:apply, app:clientstep-up: person: none; agent:apply: none; app:client: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Cancel a build and end its live step tokens.input fields: buildRunId: required; stringselector keys: projectId: required; stringexample input: {"buildRunId":"<buildRunId>"}openeng objects-sdk readBuildRun
Section titled “openeng objects-sdk readBuildRun”openeng objects-sdk readBuildRun --selector <json> [--input <json> | --input - | --input-file <path>]route: readBuildRun (POST /builds/read)module: objects-sdkcapability: objects.readactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Read a build and its step states. The state is running while any step run is unfinished, then canceled if a person cancelled any, complete, partial or failed. A read ends step runs past their deadline, and a read by a caller who may start builds starts queued step runs no execution holds.input fields: buildRunId: required; stringselector keys: projectId: required; stringexample input: {"buildRunId":"<buildRunId>"}openeng objects-sdk listBuildRuns
Section titled “openeng objects-sdk listBuildRuns”openeng objects-sdk listBuildRuns --selector <json> [--input <json> | --input - | --input-file <path>]route: listBuildRuns (POST /builds/list)module: objects-sdkcapability: objects.readactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: List the build runs that target an output or a case, or that hold a step run of a step, newest first, a page at a time. A list reads only; it ends no step run and starts none.input fields: objectId: required; string continuation: required; string | nullselector keys: projectId: required; stringexample input: {"objectId":"<objectId>","continuation":null}openeng objects-sdk readStepRun
Section titled “openeng objects-sdk readStepRun”openeng objects-sdk readStepRun --selector <json> [--input <json> | --input - | --input-file <path>]route: readStepRun (POST /step-runs/read)module: objects-sdkcapability: objects.readactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Read a step run and its immutable spec and provenance. The spec names each input and holds no input value. A step run waiting for its upstream shows as QUEUED.input fields: stepRunId: required; stringselector keys: projectId: required; stringexample input: {"stepRunId":"<stepRunId>"}openeng objects-sdk readOutputValues
Section titled “openeng objects-sdk readOutputValues”openeng objects-sdk readOutputValues --selector <json> [--input <json> | --input - | --input-file <path>]route: readOutputValues (POST /outputs/values)module: objects-sdkcapability: objects.readactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Read indexed output values and their freshness.input fields: outputId: required; string keys: required; array of kinds: component | step each element is one of these shapes: source component: sweep: required; map of number componentId: required; string variable: required; string source step: sweep: required; map of number variable: required; string runRef: optional; stringselector keys: projectId: required; string ref: required; stringexample input: {"outputId":"<outputId>","keys":[]}openeng objects-sdk readStepLog
Section titled “openeng objects-sdk readStepLog”openeng objects-sdk readStepLog --selector <json> [--input <json> | --input - | --input-file <path>]route: readStepLog (POST /step-runs/log)module: objects-sdkcapability: objects.readactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Read the step log as inert text and its truncation flag.input fields: stepRunId: required; stringselector keys: projectId: required; stringexample input: {"stepRunId":"<stepRunId>"}openeng objects-sdk checkCase
Section titled “openeng objects-sdk checkCase”openeng objects-sdk checkCase --selector <json> [--input <json> | --input - | --input-file <path>]route: checkCase (POST /cases/check)module: objects-sdkcapability: objects.readactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Check a case and list its object and port violations.input fields: caseId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"caseId":"<caseId>"}openeng objects-sdk createObjectSet
Section titled “openeng objects-sdk createObjectSet”openeng objects-sdk createObjectSet --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: createObjectSet (POST /object-sets)module: objects-sdkcapability: objects.createObjectSetactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Saves a named set of 1 to 200 object addresses in the caller's organisation. Concurrent retries with one key return the same saved set and revision.input fields: name: required; string members: required; array of object each element has: objectId: required; string projectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"name":"Saved set","members":[{"objectId":"obj_aaaaaaaaaaaaaaaaaaaaaaaaaa","projectId":"<projectId>"}]}openeng objects-sdk listObjectSets
Section titled “openeng objects-sdk listObjectSets”openeng objects-sdk listObjectSets [--input <json> | --input - | --input-file <path>]route: listObjectSets (POST /object-sets/list)module: objects-sdkcapability: objects.listObjectSetsactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the organisation's saved sets, newest update first, without members or counts.input fields: noneexample input: {}openeng objects-sdk readObjectSet
Section titled “openeng objects-sdk readObjectSet”openeng objects-sdk readObjectSet --selector <json> [--input <json> | --input - | --input-file <path>]route: readObjectSet (POST /object-sets/read)module: objects-sdkcapability: objects.readObjectSetactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads a saved set's visible objects on the selected branch or baseline, a count of missing visible members and one bit for members outside the caller's scope.input fields: setId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"setId":"ost_aaaaaaaaaaaaaaaaaaaaaaaaaa"}openeng objects-sdk updateObjectSet
Section titled “openeng objects-sdk updateObjectSet”openeng objects-sdk updateObjectSet --selector <json> [--input <json> | --input - | --input-file <path>]route: updateObjectSet (POST /object-sets/update)module: objects-sdkcapability: objects.updateObjectSetactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Renames a saved set or replaces its readable members at the expected revision. Members outside the caller's scope remain. A success raises the revision by one.input fields: setId: required; string revision: required; integer name: optional; string members: optional; array of object each element has: objectId: required; string projectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"setId":"ost_aaaaaaaaaaaaaaaaaaaaaaaaaa","revision":1,"name":"Renamed set"}openeng objects-sdk deleteObjectSet
Section titled “openeng objects-sdk deleteObjectSet”openeng objects-sdk deleteObjectSet [--input <json> | --input - | --input-file <path>]route: deleteObjectSet (POST /object-sets/delete)module: objects-sdkcapability: objects.deleteObjectSetactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Deletes a saved set and every member at the expected revision.input fields: setId: required; string revision: required; integerexample input: {"setId":"ost_aaaaaaaaaaaaaaaaaaaaaaaaaa","revision":1}openeng objects-sdk completeAttachmentUpload
Section titled “openeng objects-sdk completeAttachmentUpload”openeng objects-sdk completeAttachmentUpload --selector <json> [--input <json> | --input - | --input-file <path>]route: completeAttachmentUpload (POST /attachments/upload/complete)module: objects-sdkcapability: objects.writeactors: person, service, app:client, agent:applystep-up: person: none; service: none; app:client: none; agent:apply: noneidempotent: noselector: existingObject, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Finishes an upload the caller opened: checks the stored file and stages it for the caller, then answers its descriptor. The object's guard is asked again. A repeated call for the same upload answers the same descriptor. Admits person, service, app:client and agent:apply actors.input fields: uploadId: required; stringselector keys: projectId: required; string ref: required; string objectId: required; stringexample input: {"uploadId":"<uploadId>"}openeng objects-sdk readAttachment
Section titled “openeng objects-sdk readAttachment”openeng objects-sdk readAttachment --selector <json> [--input <json> | --input - | --input-file <path>]route: readAttachment (POST /attachments/read)module: objects-sdkcapability: objects.readactors: person, service, app:client, agent:explore, agent:applystep-up: person: none; service: none; app:client: none; agent:explore: none; agent:apply: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Downloads the attachment held by an object's property at its stored type version. A file within the download threshold is streamed in the answer; a larger file is answered with a redirect whose Location is a short-lived link to the stored file. Admits person, service, app:client, agent:explore and agent:apply actors.input fields: objectId: required; string property: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>","property":"<property>"}openeng objects-sdk readObject
Section titled “openeng objects-sdk readObject”openeng objects-sdk readObject --selector <json> [--input <json> | --input - | --input-file <path>]route: readObject (POST /objects/read)module: objects-sdkcapability: objects.readactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads one object at a branch or baseline. bodyCheck is present exactly when the body holds a block of a checked format; it is absent otherwise.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk queryObjects
Section titled “openeng objects-sdk queryObjects”openeng objects-sdk queryObjects --selector <json> [--input <json> | --input - | --input-file <path>]route: queryObjects (POST /objects/query)module: objects-sdkcapability: objects.queryactors: person, service, agent:explore, agent:apply, agent:types, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; agent:types: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Runs a filtered, ordered, paged query over the objects of a branch or baseline, or pages the union, intersection or difference of two plain object-set descriptions on that ref. A top-level type filter {kind:"type",op:"in",values:["part","system"]} selects any of 1 to 100 published type keys and may be combined with a text filter; continuation binds to the entire selection. Without input.projects, it reads every project the caller can read on the selected branch or baseline; selector.projectId does not narrow the set. To limit it to one project, include "projects":["<projectId>"] in input.input fields: kind objects: typeKey (string | null, required), projects (array of string, optional), filters (array of object, optional), steps (array of object, optional), sort (kinds: property | identity, optional), limit (integer, required), continuation (string | null, required) each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string each element has: edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" targetTypeKey: required; string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string the object is one of these shapes: kind property: property: required; string direction: required; "asc" | "desc" kind identity: direction: required; "asc" | "desc" kind set: op ("union" | "intersection" | "difference", required), left (object, required), right (object, required), limit (integer, required), continuation (string | null, required) the object has: kind: required; "objects" typeKey: required; string | null projects: optional; array of string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string steps: optional; array of object each element has: edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" targetTypeKey: required; string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string sort: optional; kinds: property | identity the object is one of these shapes: kind property: property: required; string direction: required; "asc" | "desc" kind identity: direction: required; "asc" | "desc" the object has: kind: required; "objects" typeKey: required; string | null projects: optional; array of string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string steps: optional; array of object each element has: edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" targetTypeKey: required; string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string sort: optional; kinds: property | identity the object is one of these shapes: kind property: property: required; string direction: required; "asc" | "desc" kind identity: direction: required; "asc" | "desc"selector keys: projectId: required; string ref: required; stringexample input: {"kind":"objects","typeKey":null,"limit":1,"continuation":null}openeng objects-sdk queryRows
Section titled “openeng objects-sdk queryRows”openeng objects-sdk queryRows --selector <json> [--input <json> | --input - | --input-file <path>]route: queryRows (POST /objects/rows)module: objects-sdkcapability: objects.queryactors: person, service, agent:explore, agent:apply, agent:types, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; agent:types: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Answers rows of named cells over a start set and up to three hops, or groups with counts, sums, minimums, maximums and weighted sums. Each hop names edgeTypeKeys as any or 1 through 8 names; optional targetTypeKeys also takes 1 through 8 names. Empty lists are malformed-query; more than 8 names is over-bound. A final hop may repeat to depth 1 through 3, without filters or targetTypeKeys, and answers groups only; a depth above 3 is over-bound, while 0, non-integers and non-numbers are malformed-query. A parent group key may name a repeat alias and uses its own edgeTypeKeys and optional parents filter. Each parent edge contributes a membership; a child with no matching parent forms no group. Parent keys carry address and readable, including readable: false for unreadable parents; hidden reached objects are counted per level including project, never keyed. After a successful walk, parent reads batch 100 children, at most 60 statements per key or 120 for two keys; an overflowing walk runs none. A weighted sum requires a final repeat hop and names 1 through 8 contributing types in over, an edge weight property and per-path or distinct multiplicity; the start never contributes. On an ancestor return, count and per-path sum or weightedSum refuse cycle-in-reach naming the readable object; distinct measures, min and max admit cycles. Repeat answers carry deeper, unvalued and unweighted; missing values and weights are counted separately. Every measure over a path names ends: visible or all. With any all measure, hidden counts appear per hop, on each group when every key names start, and on the answer otherwise; values still measure readable objects. Hidden counts deduplicate far identities including project per hop. countDistinct cannot be combined with sum, min or max. A property group key cannot mix numeric and nonnumeric declarations across its alias types. Distinct-count answers ordered by a measure or filtered by having, and hidden start-group merges, require complete reads: truncation refuses over-bound instead of returning a bounded prefix. Without input.start.projects, it reads every project the caller can read on the selected ref; selector.projectId does not narrow the set. To limit it to some projects, include "projects":["<projectId>"] in input.start.input fields: kind: required; "graph-query" start: required; object the object has: typeKey: required; string | null projects: optional; array of string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string path: optional; array of object each element has: alias: required; string edgeTypeKeys: required; "any" | array of string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" targetTypeKeys: optional; array of string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string repeat: optional; object the object has: depth: required; integer answer: required; kinds: rows | groups kind rows: columns (array of object, required), order (object, optional), limit (integer, required), continuation (string | null, required) each element is one of these shapes: shape: kind: required; "identity" | "typeKey" alias: required; string shape: kind: required; "property" alias: required; string property: required; string shape: kind: required; "edge" alias: required; string field: required; "identity" | "typeKey" shape: kind: required; "edge-property" alias: required; string property: required; string the object has: alias: required; string property: required; string direction: required; "asc" | "desc" kind groups: keys (array of object, required), measures (array of object, required), having (array of object, optional), order (object, optional), limit (integer, optional) each element is one of these shapes: shape: kind: required; "identity" | "typeKey" alias: required; string shape: kind: required; "property" alias: required; string property: required; string shape: kind: required; "parent" alias: required; string edgeTypeKeys: required; array of string parents: optional; array of object each element has: objectId: required; string projectId: required; string each element is one of these shapes: shape: kind: required; "count" over: optional; array of string ends: optional; "visible" | "all" shape: kind: required; "countDistinct" alias: required; string over: optional; array of string ends: optional; "visible" | "all" shape: kind: required; "sum" alias: required; string property: required; string over: optional; array of string multiplicity: optional; "per-path" | "distinct" ends: optional; "visible" | "all" shape: kind: required; "min" | "max" alias: required; string property: required; string over: optional; array of string ends: optional; "visible" | "all" shape: kind: required; "weightedSum" alias: required; string property: optional; string weight: required; string over: required; array of string multiplicity: required; "per-path" | "distinct" ends: required; "visible" | "all" each element has: measure: required; integer op: required; "=" | ">" | ">=" | "<" | "<=" value: required; number the object has: by: required; "key" | "measure" index: required; integer direction: required; "asc" | "desc"selector keys: projectId: required; string ref: required; stringexample input: {"kind":"graph-query","start":{"typeKey":null},"answer":{"kind":"rows","columns":[],"limit":1,"continuation":null}}openeng objects-sdk aggregateObjects
Section titled “openeng objects-sdk aggregateObjects”openeng objects-sdk aggregateObjects --selector <json> [--input <json> | --input - | --input-file <path>]route: aggregateObjects (POST /objects/aggregate)module: objects-sdkcapability: objects.aggregateactors: person, service, app:client, app:hostedstep-up: person: none; service: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Deprecated: use queryRows for graph aggregates. Runs an aggregate over the objects of a branch or baseline: a count, or a minimum, maximum, sum or average of one numeric property, answered as one value (an average also carries its count), or, with groupBy, a count, sum or average grouped by type or by a property's value, or a count grouped by structural parent, answered as groups. Without input.projects, it reads every project the caller can read on the selected branch or baseline; selector.projectId does not narrow the set. To limit it to one project, include "projects":["<projectId>"] in input.input fields: kind: required; "aggregate" typeKey: required; string | null projects: optional; array of string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string steps: optional; array of object each element has: edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" targetTypeKey: required; string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string operation: required; "count" | "min" | "max" | "sum" | "average" property: optional; string groupBy: optional; kinds: type | property | parent kind type: no further fields kind property: property (string, required) kind parent: edgeTypeKeys (array of string, required), multiplicity ("per-path" | "distinct", required), ends ("visible" | "all", required), parents (array of object, optional) each element has: objectId: required; string projectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"kind":"aggregate","typeKey":null,"operation":"count"}openeng objects-sdk discoverVerbs
Section titled “openeng objects-sdk discoverVerbs”openeng objects-sdk discoverVerbs --selector <json> [--input <json> | --input - | --input-file <path>]route: discoverVerbs (POST /objects/verbs)module: objects-sdkcapability: objects.readactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the verbs an object may be given.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk readHistory
Section titled “openeng objects-sdk readHistory”openeng objects-sdk readHistory --selector <json> [--input <json> | --input - | --input-file <path>]route: readHistory (POST /objects/history)module: objects-sdkcapability: objects.historyactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads one object's history of changes. Each bodyChanges entry carries lines exactly when either compared side is not markdown.input fields: objectId: required; string limit: required; integer continuation: required; string | nullselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>","limit":1,"continuation":null}openeng objects-sdk mutate
Section titled “openeng objects-sdk mutate”openeng objects-sdk mutate --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: mutate (POST /mutations)module: objects-sdkcapability: objects.writeactors: person, service, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Creates, changes or deletes an object on the selected writable branch. A protected refusal means the change needs a branch and a merge. For a property update, `from` is the value the caller expects now; a mismatch is refused as `conflict`, and `{"kind": "absent"}` clears the property; a present state is `{"kind": "value", "value": ...}`. The reason is required and is written first in the save's commit message, above the platform's lines, exactly as sent; it is refused as invalid-request when it is missing, empty after trimming white space, holds NUL or holds a lone UTF-16 surrogate.input fields: correlation: optional; minted when absent; kinds: mint | sent kind mint: no further fields kind sent: correlationId (string, required) operation: required; kinds: create-object | update-object | delete-object | create-edge | update-edge | delete-edge kind create-object: typeKey (string, required), typeVersion (integer, required), properties (map of any, required) kind update-object: objectId (string, required), typeVersion (integer, required), changes (map of object, required) each value has: from: required; kinds: absent | value the object is one of these shapes: kind absent: kind value: value: required; any to: required; kinds: absent | value the object is one of these shapes: kind absent: kind value: value: required; any kind delete-object: objectId (string, required) kind create-edge: typeKey (string, required), typeVersion (integer, required), sourceObjectId (string, required), targetObjectId (string, required), properties (map of any, required) kind update-edge: edgeId (string, required), typeVersion (integer, required), changes (map of object, required) each value has: from: required; kinds: absent | value the object is one of these shapes: kind absent: kind value: value: required; any to: required; kinds: absent | value the object is one of these shapes: kind absent: kind value: value: required; any kind delete-edge: edgeId (string, required) reason: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"operation":{"kind":"create-object","typeKey":"<typeKey>","typeVersion":1,"properties":{}},"reason":"<reason>"}openeng objects-sdk mutateBatch
Section titled “openeng objects-sdk mutateBatch”openeng objects-sdk mutateBatch --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: mutateBatch (POST /mutations/batch)module: objects-sdkcapability: objects.writeactors: person, service, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Applies a list of object and edge operations in one save and commit, with one audit record. A batch with no change makes no commit; a refused batch writes no engineering data, but its refusal is audited. An edge may name an object created earlier in the same batch. A batch with more operations than the maximum is refused as invalid-request naming input.operations, before any write. For a property update, `from` is the value the caller expects now; a mismatch is refused as `conflict`, and `{"kind": "absent"}` clears the property; a present state is `{"kind": "value", "value": ...}`. The reason is required and is written first in the save's commit message, above the platform's lines, exactly as sent; it is refused as invalid-request when it is missing, empty after trimming white space, holds NUL or holds a lone UTF-16 surrogate.input fields: correlation: optional; minted when absent; kinds: mint | sent kind mint: no further fields kind sent: correlationId (string, required) operations: required; array of kinds: create-object | update-object | delete-object | create-edge | update-edge | delete-edge each element is one of these shapes: kind create-object: typeKey: required; string typeVersion: required; integer properties: required; map of any kind update-object: objectId: required; string typeVersion: required; integer changes: required; map of object each value has: from: required; kinds: absent | value the object is one of these shapes: kind absent: kind value: value: required; any to: required; kinds: absent | value the object is one of these shapes: kind absent: kind value: value: required; any kind delete-object: objectId: required; string kind create-edge: typeKey: required; string typeVersion: required; integer source: required; kinds: existing | created the object is one of these shapes: kind existing: objectId: required; string kind created: operation: required; integer target: required; kinds: existing | created the object is one of these shapes: kind existing: objectId: required; string kind created: operation: required; integer properties: required; map of any kind update-edge: edgeId: required; string typeVersion: required; integer changes: required; map of object each value has: from: required; kinds: absent | value the object is one of these shapes: kind absent: kind value: value: required; any to: required; kinds: absent | value the object is one of these shapes: kind absent: kind value: value: required; any kind delete-edge: edgeId: required; string reason: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"operations":[],"reason":"<reason>"}openeng objects-sdk previewDelete
Section titled “openeng objects-sdk previewDelete”openeng objects-sdk previewDelete --selector <json> [--input <json> | --input - | --input-file <path>]route: previewDelete (POST /objects/delete-preview)module: objects-sdkcapability: objects.writeactors: person, service, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Previews deleting an object: the links the delete would remove, or the refusal it would meet. Changes nothing.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk recover
Section titled “openeng objects-sdk recover”openeng objects-sdk recover --selector <json> [--input <json> | --input - | --input-file <path>]route: recover (POST /recoveries)module: objects-sdkcapability: objects.recoveryactors: person, service, app:client, app:hostedstep-up: person: none; service: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Finds what an interrupted mutation did and finishes its record.input fields: correlationId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"correlationId":"<correlationId>"}openeng objects-sdk executeVerb
Section titled “openeng objects-sdk executeVerb”openeng objects-sdk executeVerb --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: executeVerb (POST /verb-executions)module: objects-sdkcapability: objects.verbactors: person, service, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Runs a verb on an object and records its result. The reason is required and is written first in the save's commit message, above the platform's lines, exactly as sent; it is refused as invalid-request when it is missing, empty after trimming white space, holds NUL or holds a lone UTF-16 surrogate.input fields: correlation: optional; minted when absent; kinds: mint | sent kind mint: no further fields kind sent: correlationId (string, required) verb: required; object the object has: typeKey: required; string typeVersion: required; integer subjectIds: required; array of string input: required; any reason: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"verb":{"typeKey":"<typeKey>","typeVersion":1},"subjectIds":[],"input":null,"reason":"<reason>"}openeng objects-sdk listProjects
Section titled “openeng objects-sdk listProjects”openeng objects-sdk listProjects [--input <json> | --input - | --input-file <path>]route: listProjects (POST /projects)module: objects-sdkcapability: objects.projectsactors: person, service, app:client, app:hostedstep-up: person: none; service: none; app:client: none; app:hosted: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists every project the caller may read in the organisation the session is attached to, with its namespace.input fields: noneexample input: {}openeng objects-sdk listRefs
Section titled “openeng objects-sdk listRefs”openeng objects-sdk listRefs --selector <json> [--input <json> | --input - | --input-file <path>]route: listRefs (POST /projects/refs)module: objects-sdkcapability: branches.listactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the branches of a project, each with its head: readable with a hash, withheld when the caller may not read the branch, or unread after the first 50 refs, including main (so at most 49 branch heads are read). Each row also carries a schema state as a convenience hint; the branch-needs-schema-update refusal on use remains the guard.input fields: noneselector keys: projectId: required; stringexample input: {}openeng objects-sdk readCatalogue
Section titled “openeng objects-sdk readCatalogue”openeng objects-sdk readCatalogue --selector <json> [--input <json> | --input - | --input-file <path>]route: readCatalogue (POST /projects/catalogue)module: objects-sdkcapability: objects.catalogueactors: person, service, agent:explore, agent:apply, agent:types, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; agent:types: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the published catalogue of a project's namespace.input fields: noneselector keys: projectId: required; stringexample input: {}openeng objects-sdk queryGraph
Section titled “openeng objects-sdk queryGraph”openeng objects-sdk queryGraph --selector <json> [--input <json> | --input - | --input-file <path>]route: queryGraph (POST /objects/graph)module: objects-sdkcapability: objects.traverseactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Walks the edges from a start of addresses or an object set, and answers the objects reached with every hop among them. Hops follow closeOver or the step's edge types, up to hopLimit. Example: one start address and one hop step of depth 1 reads that object's connections, with a marker for each kind of connection whose far object the caller cannot read. A start takes at most 200 addresses or set members; a walk takes at most 3 steps and 3 total levels. An explicit edgeTypeKeys list holds at most 8 edge types per step; when edgeTypeKeys is absent, the step traverses every edge type. objectLimit is at most 200 and hopLimit at most 400. A continuation reads the next page in the one-object form. For an object-set start, omitting input.start.set.projects reads every project the caller can read on the selected branch or baseline; selector.projectId does not narrow the set. To limit it to one project, include "projects":["<projectId>"] in input.start.set.input fields: kind: required; "graph" start: required; kinds: objects | set kind objects: objects (array of object, required) each element has: objectId: required; string projectId: required; string kind set: set (object, required) the object has: kind: required; "objects" typeKey: required; string | null projects: optional; array of string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string steps: optional; array of object each element has: edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" targetTypeKey: required; string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "or" filters: required; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" value: required; string | number | boolean shape: kind: required; "property" property: required; string op: required; ">" | ">=" | "<" | "<=" value: required; string | number shape: kind: required; "property" property: required; string op: required; "in" values: required; array of string | number | boolean shape: kind: required; "identity" op: required; "in" values: required; array of string shape: kind: required; "edge" edgeTypeKey: required; string direction: required; "outgoing" | "incoming" | "to-children" | "to-parent" has: required; boolean shape: kind: required; "text" term: required; string properties: optional; array of string shape: kind: required; "type" op: required; "in" values: required; array of string sort: optional; kinds: property | identity the object is one of these shapes: kind property: property: required; string direction: required; "asc" | "desc" kind identity: direction: required; "asc" | "desc" steps: required; array of object each element has: edgeTypeKeys: optional; array of string direction: optional; "outgoing" | "incoming" depth: required; integer targetTypeKeys: optional; array of string closeOver: optional; array of string keep: optional; "all" | "last" objectLimit: optional; integer hopLimit: optional; integer continuation: optional; string | nullselector keys: projectId: required; string ref: required; stringexample input: {"kind":"graph","start":{"kind":"objects","objects":[]},"steps":[]}openeng objects-sdk readStructure
Section titled “openeng objects-sdk readStructure”openeng objects-sdk readStructure --selector <json> [--input <json> | --input - | --input-file <path>]route: readStructure (POST /objects/structure)module: objects-sdkcapability: objects.traverseactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the structure of a type's objects as a tree: every root, one object's subtree or one object's ancestors, each placement an occurrence. Example: a forest anchor with maxDepth 1 reads its roots and their children. maxDepth is at most 32 and occurrenceLimit at most 2000. The answer reports whether it is complete or bounded, and a bounded answer says whether the limit was occurrences, depth or level rows; the route does not page. Narrow the walk with maxDepth and occurrenceLimit. A chosen relationship or one-step view places the type itself, and the types above it follow their own declared relationships.input fields: typeKey: required; string structure: required; kinds: declared | relationship | view kind declared: no further fields kind relationship: edgeTypeKey (string, required) kind view: viewKey (string, required) anchor: required; kinds: forest | subtree | ancestors kind forest: no further fields kind subtree: object (object, required) the object has: objectId: required; string projectId: required; string kind ancestors: object (object, required) the object has: objectId: required; string projectId: required; string maxDepth: optional; integer occurrenceLimit: optional; integerselector keys: projectId: required; string ref: required; stringexample input: {"typeKey":"<typeKey>","structure":{"kind":"declared"},"anchor":{"kind":"forest"}}openeng objects-sdk findPaths
Section titled “openeng objects-sdk findPaths”openeng objects-sdk findPaths --selector <json> [--input <json> | --input - | --input-file <path>]route: findPaths (POST /objects/paths)module: objects-sdkcapability: objects.traverseactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Finds shortest paths between two objects within a length, up to maxPaths; the answer may be bounded.input fields: from: required; object the object has: objectId: required; string projectId: required; string to: required; object the object has: objectId: required; string projectId: required; string edgeTypeKeys: optional; array of string direction: optional; "outgoing" | "incoming" maxLength: required; integer maxPaths: optional; integerselector keys: projectId: required; string ref: required; stringexample input: {"from":{"objectId":"<objectId>","projectId":"<projectId>"},"to":{"objectId":"<objectId>","projectId":"<projectId>"},"maxLength":1}openeng objects-sdk readLinkStatus
Section titled “openeng objects-sdk readLinkStatus”openeng objects-sdk readLinkStatus --selector <json> [--input <json> | --input - | --input-file <path>]route: readLinkStatus (POST /links/status)module: objects-sdkcapability: links.statusactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads an object's tracked links at a stable head: review (cleared, suspect, unreviewed, not-visible or too-many-links), clearing attribution, link bounds and aggregate bounds with units and coverage. Only a readable upstream supplies its opaque upstreamVersion, the precondition for clearing.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk clearLinks
Section titled “openeng objects-sdk clearLinks”openeng objects-sdk clearLinks --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: clearLinks (POST /link-clearings)module: objects-sdkcapability: links.clearactors: person, agent:apply, app:client, servicestep-up: person: none; agent:apply: none; app:client: none; service: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Clears 1 to 100 links atomically on the named ref. Send each linkId with the upstreamVersion from readLinkStatus as a precondition; upstream-changed requires a fresh read and review. Records the clearer and time without changing bounds. Admits user, `agent:apply`, client and service; `agent:explore` and `agent:types` are refused at admission. An unknown outcome must be recovered by correlation before retrying. The reason is required and is written first in the save's commit message, above the platform's lines, exactly as sent; it is refused as invalid-request when it is missing, empty after trimming white space, holds NUL or holds a lone UTF-16 surrogate.input fields: correlation: optional; minted when absent; kinds: mint | sent kind mint: no further fields kind sent: correlationId (string, required) ref: required; string entries: required; array of object each element has: linkId: required; string upstreamVersion: required; string reason: required; stringselector keys: projectId: required; stringexample input: {"ref":"main","entries":[{"linkId":"<linkId>","upstreamVersion":"<upstreamVersion>"}],"reason":"<reason>"}openeng objects-sdk setObjectLock
Section titled “openeng objects-sdk setObjectLock”openeng objects-sdk setObjectLock --selector <json> [--input <json> | --input - | --input-file <path>]route: setObjectLock (POST /object-locks)module: objects-sdkcapability: objects.locksactors: personstep-up: person: person-present when unlocks (lock is "none")idempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Sets an object's lock on the selected project branch to none, merge-only or frozen and answers objectId and lock. The lock also applies to its existing structural child edges in that project; none lifts the lock. New children on a writable branch are not thereby frozen. Use a baseline for a fixed snapshot. An unknown lock answers invalid-request at lock. The reason is required and is written first in the save's commit message, above the platform's lines, exactly as sent; it is refused as invalid-request when it is missing, empty after trimming white space, holds NUL or holds a lone UTF-16 surrogate.input fields: objectId: required; string lock: required; "none" | "merge-only" | "frozen" reason: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>","lock":"none","reason":"<reason>"}openeng objects-sdk readApp
Section titled “openeng objects-sdk readApp”openeng objects-sdk readApp [--input <json> | --input - | --input-file <path>]route: readApp (POST /apps/read)module: objects-sdkcapability: objects.catalogueactors: person, service, agent:explore, agent:apply, agent:types, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; agent:types: none; app:client: none; app:hosted: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads a published version of an app, the latest where none is named, with the app's history of versions.input fields: appKey: required; string version: optional; integerexample input: {"appKey":"<appKey>"}openeng objects-sdk listApps
Section titled “openeng objects-sdk listApps”openeng objects-sdk listApps [--input <json> | --input - | --input-file <path>]route: listApps (POST /apps)module: objects-sdkcapability: objects.catalogueactors: person, service, agent:explore, agent:apply, agent:types, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; agent:types: none; app:client: none; app:hosted: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the organisation's apps, each with its latest version's number, title and rail placement.input fields: noneexample input: {}openeng objects-sdk searchPeople
Section titled “openeng objects-sdk searchPeople”openeng objects-sdk searchPeople [--input <json> | --input - | --input-file <path>]route: searchPeople (POST /people/search)module: objects-sdkcapability: people.searchactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Finds people in the caller's organisation when every query word starts a word of their name.input fields: query: required; stringexample input: {"query":"<query>"}openeng objects-sdk searchObjectReaders
Section titled “openeng objects-sdk searchObjectReaders”openeng objects-sdk searchObjectReaders --selector <json> [--input <json> | --input - | --input-file <path>]route: searchObjectReaders (POST /objects/readers)module: objects-sdkcapability: people.objectReadersactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Finds the people who can read an object on a branch or baseline, by a name prefix.input fields: objectId: required; string prefix: optional; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk listSubscribers
Section titled “openeng objects-sdk listSubscribers”openeng objects-sdk listSubscribers --selector <json> [--input <json> | --input - | --input-file <path>]route: listSubscribers (POST /objects/subscribers)module: objects-sdkcapability: discussion.subscribersactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the subscriptions on an object.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk addSubscriber
Section titled “openeng objects-sdk addSubscriber”openeng objects-sdk addSubscriber --selector <json> [--input <json> | --input - | --input-file <path>]route: addSubscriber (POST /objects/subscribers/add)module: objects-sdkcapability: discussion.subscriberChangeactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Adds a person to an object's subscriptions as owner, approver or watcher, when the type's `subscriptionRoles` admits that role. The declaration may set maxima; owner is limited to one. With no declaration, only watchers are admitted.input fields: objectId: required; string role: required; "owner" | "approver" | "watcher" person: required; object the object has: kind: required; "person" id: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>","role":"owner","person":{"kind":"person","id":"<id>"}}openeng objects-sdk removeSubscriber
Section titled “openeng objects-sdk removeSubscriber”openeng objects-sdk removeSubscriber --selector <json> [--input <json> | --input - | --input-file <path>]route: removeSubscriber (POST /objects/subscribers/remove)module: objects-sdkcapability: discussion.subscriberChangeactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Removes a person's subscription to an object in a role.input fields: objectId: required; string role: required; "owner" | "approver" | "watcher" person: required; object the object has: kind: required; "person" id: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>","role":"owner","person":{"kind":"person","id":"<id>"}}openeng objects-sdk listComments
Section titled “openeng objects-sdk listComments”openeng objects-sdk listComments --selector <json> [--input <json> | --input - | --input-file <path>]route: listComments (POST /objects/comments)module: objects-sdkcapability: discussion.commentsactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the comments on an object, oldest first, a page at a time.input fields: objectId: required; string after: optional; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk acquireDraft
Section titled “openeng objects-sdk acquireDraft”openeng objects-sdk acquireDraft --selector <json> [--input <json> | --input - | --input-file <path>]route: acquireDraft (POST /objects/drafts/acquire)module: objects-sdkcapability: objects.writeactors: person, agent:apply, app:clientstep-up: person: none; agent:apply: none; app:client: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Acquires the subject’s draft and lock using the body and base hash read on the server from that object on the selected ref.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk saveDraft
Section titled “openeng objects-sdk saveDraft”openeng objects-sdk saveDraft --selector <json> [--input <json> | --input - | --input-file <path>]route: saveDraft (POST /objects/drafts/save)module: objects-sdkcapability: objects.writeactors: person, agent:apply, app:clientstep-up: person: none; agent:apply: none; app:client: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Saves draft blocks after comparing the current draft hash; the server mints an identifier for each added block and answers them in minted. Refuses body-wrong-format when a kind is outside the type's body formats, kinds are mixed, or a non-markdown body has more than one block.input fields: objectId: required; string blocks: required; map of kinds: markdown | python | json | yaml | typescript | javascript | plaintext | modelica | sysml | starlark each value is one of these shapes: kind markdown: text: required; string position: required; string kind python: text: required; string position: required; string kind json: text: required; string position: required; string kind yaml: text: required; string position: required; string kind typescript: text: required; string position: required; string kind javascript: text: required; string position: required; string kind plaintext: text: required; string position: required; string kind modelica: text: required; string position: required; string kind sysml: text: required; string position: required; string kind starlark: text: required; string position: required; string added: required; array of kinds: markdown | python | json | yaml | typescript | javascript | plaintext | modelica | sysml | starlark each element is one of these shapes: kind markdown: text: required; string position: required; string kind python: text: required; string position: required; string kind json: text: required; string position: required; string kind yaml: text: required; string position: required; string kind typescript: text: required; string position: required; string kind javascript: text: required; string position: required; string kind plaintext: text: required; string position: required; string kind modelica: text: required; string position: required; string kind sysml: text: required; string position: required; string kind starlark: text: required; string position: required; string draftHash: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>","blocks":{},"added":[],"draftHash":"<draftHash>"}openeng objects-sdk promoteDraft
Section titled “openeng objects-sdk promoteDraft”openeng objects-sdk promoteDraft --selector <json> [--input <json> | --input - | --input-file <path>]route: promoteDraft (POST /objects/drafts/promote)module: objects-sdkcapability: objects.writeactors: person, agent:apply, app:clientstep-up: person: none; agent:apply: none; app:client: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Publishes a checked draft. A draft with no edits returns committed false and records no commit; a recovered promote returns committed true with the current head and makes no second save. The reason is required and is written first in the save's commit message, above the platform's lines, exactly as sent; it is refused as invalid-request when it is missing, empty after trimming white space, holds NUL or holds a lone UTF-16 surrogate.input fields: objectId: required; string draftHash: required; string reason: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>","draftHash":"<draftHash>","reason":"<reason>"}openeng objects-sdk releaseDraft
Section titled “openeng objects-sdk releaseDraft”openeng objects-sdk releaseDraft --selector <json> [--input <json> | --input - | --input-file <path>]route: releaseDraft (POST /objects/drafts/release)module: objects-sdkcapability: objects.writeactors: person, agent:apply, app:clientstep-up: person: none; agent:apply: none; app:client: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Releases an unchanged draft.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk discardDraft
Section titled “openeng objects-sdk discardDraft”openeng objects-sdk discardDraft --selector <json> [--input <json> | --input - | --input-file <path>]route: discardDraft (POST /objects/drafts/discard)module: objects-sdkcapability: objects.writeactors: person, agent:apply, app:clientstep-up: person: none; agent:apply: none; app:client: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Discards the holder’s draft.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk breakDraftLock
Section titled “openeng objects-sdk breakDraftLock”openeng objects-sdk breakDraftLock --selector <json> [--input <json> | --input - | --input-file <path>]route: breakDraftLock (POST /objects/drafts/break)module: objects-sdkcapability: objects.draftAdminactors: personstep-up: person: person-presentidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Breaks a draft lock as a project administrator; person-only objects.draftAdmin capability.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk readDraftLock
Section titled “openeng objects-sdk readDraftLock”openeng objects-sdk readDraftLock --selector <json> [--input <json> | --input - | --input-file <path>]route: readDraftLock (POST /objects/drafts/lock)module: objects-sdkcapability: objects.readactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Returns { kind: "held", holderDisplayName, expiresAt } for a live lock, or { kind: "free" }.input fields: objectId: required; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>"}openeng objects-sdk restoreDraft
Section titled “openeng objects-sdk restoreDraft”openeng objects-sdk restoreDraft [--input <json> | --input - | --input-file <path>]route: restoreDraft (POST /draft-restorations)module: objects-sdkcapability: objects.draftAdminactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Restores a saved draft onto a new branch using its saved body; person-only objects.draftAdmin capability.input fields: trashId: required; string newRefName: required; stringexample input: {"trashId":"<trashId>","newRefName":"<newRefName>"}openeng objects-sdk setCommentResolved
Section titled “openeng objects-sdk setCommentResolved”openeng objects-sdk setCommentResolved [--input <json> | --input - | --input-file <path>]route: setCommentResolved (POST /objects/comments/resolve)module: objects-sdkcapability: discussion.commentWriteactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Resolves or reopens a comment.input fields: commentId: required; string resolved: required; booleanexample input: {"commentId":"<commentId>","resolved":false}openeng objects-sdk addComment
Section titled “openeng objects-sdk addComment”openeng objects-sdk addComment --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: addComment (POST /objects/comments/add)module: objects-sdkcapability: discussion.commentWriteactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: object, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Adds a comment to an object, naming the people it mentions and optionally anchoring a quoted block.input fields: objectId: required; string body: required; string mentions: required; array of object each element has: from: required; integer to: required; integer person: required; object the object has: kind: required; "person" id: required; string anchor: optional; object the object has: blockId: required; string from: required; integer to: required; integer exact: required; string prefix: required; string suffix: required; string correlationId: optional; stringselector keys: projectId: required; string ref: required; stringexample input: {"objectId":"<objectId>","body":"<body>","mentions":[]}openeng branches-sdk createBranch
Section titled “openeng branches-sdk createBranch”openeng branches-sdk createBranch --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: createBranch (POST /branches)module: branches-sdkcapability: branches.createactors: person, service, agent:explore, agent:apply, app:clientstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Creates a project branch from a branch, a baseline or an admitted current head. The optional from is tagged kind ref with ref, or kind hash with hash.input fields: correlation: optional; minted when absent; kinds: mint | sent kind mint: no further fields kind sent: correlationId (string, required) name: required; string from: optional; kinds: ref | hash kind ref: ref (string, required) kind hash: hash (string, required)selector keys: projectId: required; stringexample input: {"name":"<name>"}openeng branches-sdk merge
Section titled “openeng branches-sdk merge”openeng branches-sdk merge --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: merge (POST /merges)module: branches-sdkcapability: branches.mergeactors: person, service, app:clientstep-up: person: person-present; service: none; app:client: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Merges a reviewed head of a project branch or an organisation branch or baseline source into main, or into the writable branch the optional target names; absent target means main. For a proposal, send the source branch's current head as sourceHash. Success closes only that source ref's pending proposal for this target. Matching rules may require a proposal and current approvals unless bypassed; approvals-required carries approvals.counted and approvals.required for the subject project. A merge that changes rows a rule protects in another project the caller writes is refused protected, with protection naming the patterns. With no matching rule, writers of every affected project can merge, including Contributors. A merge names exactly one of name and source. name is checked against the source branch's bound head and is refused stale-source when it differs.input fields: correlation: optional; minted when absent; kinds: mint | sent kind mint: no further fields kind sent: correlationId (string, required) sourceHash: required; string message: required; string name: optional; string source: optional; string target: optional; stringselector keys: projectId: required; stringexample input: {"sourceHash":"<sourceHash>","message":"<message>","name":"feature"}openeng branches-sdk readMergeConflicts
Section titled “openeng branches-sdk readMergeConflicts”openeng branches-sdk readMergeConflicts --selector <json> [--input <json> | --input - | --input-file <path>]route: readMergeConflicts (POST /branches/conflicts)module: branches-sdkcapability: branches.conflictsactors: person, service, app:client, app:hostedstep-up: person: none; service: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads conflicts for the source branch named in input.name, always comparing it with main. For each field, base is the common value before either side changed it, ours is main, and theirs is the source branch. If the merge targeted another branch, this read still compares with main and does not report that merge's conflicts. Body blocks carry oursLines from base to ours and theirsLines from base to theirs, each exactly when either side it compares is not markdown.input fields: name: required; stringselector keys: projectId: required; stringexample input: {"name":"<name>"}openeng branches-sdk disposeRef
Section titled “openeng branches-sdk disposeRef”openeng branches-sdk disposeRef --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: disposeRef (POST /branch-disposals)module: branches-sdkcapability: branches.disposalactors: person, service, app:clientstep-up: person: person-present; service: none; app:client: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Disposes a project branch. A writer can dispose when no matching rule restricts deletions and no proposal is pending, or when no rule matches even with a pending proposal. Otherwise the caller must bypass every matching rule. Success discards the pending proposal after the engine disposal. Merge and disposal admit people, services and client apps; agents and hosted apps are refused. Only drafts in projects the caller can read and write block disposal: the call is refused ref-has-drafts and lists each draft's object and holder; send deleteDrafts true to consent, and the disposal then removes the drafts you may write and keeps each in the draft trash for the people who saved it.input fields: deleteDrafts: optional; boolean correlation: optional; minted when absent; kinds: mint | sent kind mint: no further fields kind sent: correlationId (string, required) name: required; string atHash: required; stringselector keys: projectId: required; stringexample input: {"name":"<name>","atHash":"<atHash>"}openeng branches-sdk readPendingProposal
Section titled “openeng branches-sdk readPendingProposal”openeng branches-sdk readPendingProposal --selector <json> [--input <json> | --input - | --input-file <path>]route: readPendingProposal (POST /proposals/pending)module: branches-sdkcapability: branches.pendingProposalactors: person, app:client, app:hostedstep-up: person: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the proposal waiting for review on a branch, if any.input fields: name: required; stringselector keys: projectId: required; stringexample input: {"name":"<name>"}openeng branches-sdk submitProposal
Section titled “openeng branches-sdk submitProposal”openeng branches-sdk submitProposal --selector <json> [--input <json> | --input - | --input-file <path>]route: submitProposal (POST /proposals)module: branches-sdkcapability: branches.proposalSubmitactors: person, app:client, agent:applystep-up: person: none; app:client: none; agent:apply: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Submits a branch for review. Optional target names main, a writable organisation ref or a project branch; it defaults to main. A client holding branches.proposalSubmit may submit within the person's project permissions. That grant alone permits no other branch write. An apply run that names any ref other than its plan's is refused write-refused.input fields: name: required; string title: required; string summary: required; string target: optional; stringselector keys: projectId: required; stringexample input: {"name":"<name>","title":"<title>","summary":"<summary>"}openeng branches-sdk listProposals
Section titled “openeng branches-sdk listProposals”openeng branches-sdk listProposals --selector <json> [--input <json> | --input - | --input-file <path>]route: listProposals (POST /proposals/list)module: branches-sdkcapability: branches.proposalListactors: person, app:client, app:hostedstep-up: person: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the proposals of a project.input fields: state: required; "pending" | "merged" | "refused" | "discarded" | "all" cursor: optional; stringselector keys: projectId: required; stringexample input: {"state":"pending"}openeng branches-sdk readProposal
Section titled “openeng branches-sdk readProposal”openeng branches-sdk readProposal --selector <json> [--input <json> | --input - | --input-file <path>]route: readProposal (POST /proposals/read)module: branches-sdkcapability: branches.proposalReadactors: person, app:client, app:hostedstep-up: person: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads one proposal.input fields: proposalId: required; stringselector keys: projectId: required; stringexample input: {"proposalId":"<proposalId>"}openeng branches-sdk refuseProposal
Section titled “openeng branches-sdk refuseProposal”openeng branches-sdk refuseProposal --selector <json> [--input <json> | --input - | --input-file <path>]route: refuseProposal (POST /proposal-refusals)module: branches-sdkcapability: branches.proposalRefusalactors: person, app:clientstep-up: person: none; app:client: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Refuses a proposal and returns its branch to its author.input fields: proposalId: required; string reason: required; stringselector keys: projectId: required; stringexample input: {"proposalId":"<proposalId>","reason":"<reason>"}openeng branches-sdk approveProposal
Section titled “openeng branches-sdk approveProposal”openeng branches-sdk approveProposal --selector <json> [--input <json> | --input - | --input-file <path>]route: approveProposal (POST /proposal-approvals)module: branches-sdkcapability: branches.proposalApprovalactors: personstep-up: person: person-presentidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Records the caller's approval of a pending proposal at the head hash the caller read; send that hash as headHash. Any person who reads the project and the proposal's target and is not an author may approve; a target the caller cannot read answers not-found. An approval counts toward a rule only while its hash is the branch's head and the approver holds the rule's approver role or is named on it.input fields: proposalId: required; string headHash: required; stringselector keys: projectId: required; stringexample input: {"proposalId":"<proposalId>","headHash":"<headHash>"}openeng branches-sdk readBranchDiff
Section titled “openeng branches-sdk readBranchDiff”openeng branches-sdk readBranchDiff --selector <json> [--input <json> | --input - | --input-file <path>]route: readBranchDiff (POST /branches/diff)module: branches-sdkcapability: branches.proposalDiffactors: person, service, app:client, app:hostedstep-up: person: none; service: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the objects and edges a proposal's branch changes against its target. While the proposal is pending the diff is taken at the branch's current head, and atHash names that head; a closed proposal reads at its reviewed head. A target the caller cannot read answers not-found. Each bodyChanges entry carries lines exactly when either compared side is not markdown.input fields: proposalId: required; string cursor: optional; stringselector keys: projectId: required; stringexample input: {"proposalId":"<proposalId>"}openeng branches-sdk readChangeImpact
Section titled “openeng branches-sdk readChangeImpact”openeng branches-sdk readChangeImpact --selector <json> [--input <json> | --input - | --input-file <path>]route: readChangeImpact (POST /branches/impact)module: branches-sdkcapability: branches.impactactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads review, link bounds and aggregate bounds state changes against the branch's merge base, plus downstream reach to depth three and hidden counts. Both ref and base are required. Includes added and removed states and pins both heads; over-bound and head-moved refuse the entire read without a partial answer.input fields: ref: required; string base: required; stringselector keys: projectId: required; stringexample input: {"ref":"project/branch","base":"main"}openeng branches-sdk diffBranches
Section titled “openeng branches-sdk diffBranches”openeng branches-sdk diffBranches --selector <json> [--input <json> | --input - | --input-file <path>]route: diffBranches (POST /branches/difference)module: branches-sdkcapability: branches.diffactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the objects and edges one branch or baseline changes against another.input fields: ref: required; string base: required; string cursor: optional; stringselector keys: projectId: required; stringexample input: {"ref":"<ref>","base":"<base>"}openeng branches-sdk readBranchHistory
Section titled “openeng branches-sdk readBranchHistory”openeng branches-sdk readBranchHistory --selector <json> [--input <json> | --input - | --input-file <path>]route: readBranchHistory (POST /branches/history)module: branches-sdkcapability: branches.historyactors: person, service, agent:explore, agent:apply, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads a branch's history of commits.input fields: name: required; string cursor: optional; stringselector keys: projectId: required; stringexample input: {"name":"<name>"}openeng branches-sdk readRefHead
Section titled “openeng branches-sdk readRefHead”openeng branches-sdk readRefHead --selector <json> [--input <json> | --input - | --input-file <path>]route: readRefHead (POST /branches/head)module: branches-sdkcapability: branches.headactors: person, service, agent:explore, agent:apply, agent:types, app:client, app:hostedstep-up: person: none; service: none; agent:explore: none; agent:apply: none; agent:types: none; app:client: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the head of a branch or baseline.input fields: name: required; stringselector keys: projectId: required; stringexample input: {"name":"<name>"}openeng branches-sdk inspectBranchOperation
Section titled “openeng branches-sdk inspectBranchOperation”openeng branches-sdk inspectBranchOperation --selector <json> [--input <json> | --input - | --input-file <path>]route: inspectBranchOperation (POST /branch-inspections)module: branches-sdkcapability: branches.inspectionactors: person, service, app:clientstep-up: person: none; service: none; app:client: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads any branch operation record the caller may read; only the caller that started it may settle it.input fields: correlationId: required; stringselector keys: projectId: required; stringexample input: {"correlationId":"<correlationId>"}openeng branches-sdk abandonBranch
Section titled “openeng branches-sdk abandonBranch”openeng branches-sdk abandonBranch --selector <json> [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: abandonBranch (POST /branch-abandonments)module: branches-sdkcapability: branches.abandonmentactors: person, service, app:clientstep-up: person: none; service: none; app:client: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Refuses branch abandonment because this operation is not available in this release.input fields: correlation: optional; minted when absent; kinds: mint | sent kind mint: no further fields kind sent: correlationId (string, required) name: required; string atHash: required; stringselector keys: projectId: required; stringexample input: {"name":"<name>","atHash":"<atHash>"}openeng branches-sdk requestSchemaUpdate
Section titled “openeng branches-sdk requestSchemaUpdate”openeng branches-sdk requestSchemaUpdate [--input <json> | --input - | --input-file <path>]route: requestSchemaUpdate (POST /schema-update-requests)module: branches-sdkcapability: branches.schema-updateactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Records a schema update request for a project branch or organisation branch or baseline and answers its state and attribution. Project refs use `<projectId>/<branch>` with a one-segment branch name; the request may name a branch that does not exist. Organisation refs use one segment. The trunk `main` answers invalid-request at `ref`. Execution is separate.input fields: ref: required; stringexample input: {"ref":"<ref>"}openeng branches-sdk readSchemaUpdateRequest
Section titled “openeng branches-sdk readSchemaUpdateRequest”openeng branches-sdk readSchemaUpdateRequest [--input <json> | --input - | --input-file <path>]route: readSchemaUpdateRequest (POST /schema-update-requests/read)module: branches-sdkcapability: branches.schema-updateactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the caller's latest schema update request for the branch or baseline in the token's organisation, or null. Project read access is not required. Project refs use `<projectId>/<branch>` with a one-segment branch name; organisation refs use one segment. The trunk `main` answers invalid-request at `ref`.input fields: ref: required; stringexample input: {"ref":"<ref>"}openeng admin-sdk registerEngine
Section titled “openeng admin-sdk registerEngine”openeng admin-sdk registerEngine [--input <json> | --input - | --input-file <path>]route: registerEngine (POST /engines/register)module: admin-sdkcapability: admin.engineRegistrationactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Register an ephemeral engine in the token organisation.input fields: name: required; string isolation: required; "ephemeral" properties: required; map of string runtime: required; object the object has: image: required; stringexample input: {"name":"<name>","isolation":"ephemeral","properties":{},"runtime":{"image":"<image>"}}openeng admin-sdk listEngines
Section titled “openeng admin-sdk listEngines”openeng admin-sdk listEngines [--input <json> | --input - | --input-file <path>]route: listEngines (POST /engines/list)module: admin-sdkcapability: admin.enginesactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: List engines in the token organisation.input fields: noneexample input: {}openeng admin-sdk createFeedback
Section titled “openeng admin-sdk createFeedback”openeng admin-sdk createFeedback [--input <json> | --input - | --input-file <path>]route: createFeedback (POST /feedback)module: admin-sdkcapability: admin.feedbackactors: person, servicestep-up: person: person-present; service: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Files one bug report or feature request in the organisation the session is attached to, answering its identifier and filing time. The title is 1 to 200 characters after trimming, the body 1 to 8,000 characters; an optional projectId names a project the caller reads, and an optional context carries routeName, correlationId, cliVersion and protocolVersion. A route name the host does not know is admitted and recorded as unknown. Not idempotent: a retry files a second entry. A call from an agent-mode session waits until the person confirms it in the browser. A filer may file 100 entries in any 24 hours in one organisation; the next is refused bound-exceeded naming feedback-per-filer.input fields: kind: required; "bug" | "feature" title: required; string body: required; string projectId: optional; string context: optional; object the object has: routeName: optional; string correlationId: optional; string cliVersion: optional; string protocolVersion: optional; integerexample input: {"kind":"bug","title":"<title>","body":"<body>"}openeng admin-sdk listFeedback
Section titled “openeng admin-sdk listFeedback”openeng admin-sdk listFeedback [--input <json> | --input - | --input-file <path>]route: listFeedback (POST /feedback/list)module: admin-sdkcapability: admin.feedbackListactors: person, servicestep-up: person: none; service: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists feedback entries of the organisation the session is attached to, newest first, at most limit (1 to 50, default 20) per page with an opaque continuation. An organisation administrator lists every entry; any other caller lists only the entries they filed.input fields: limit: optional; integer continuation: optional; stringexample input: {}openeng admin-sdk registerClient
Section titled “openeng admin-sdk registerClient”openeng admin-sdk registerClient [--input <json> | --input - | --input-file <path>]route: registerClient (POST /clients)module: admin-sdkcapability: admin.clientRegistrationactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Registers a third-party application as a client of the caller's organisation.input fields: displayName: required; string clientType: required; "public" | "confidential" redirectUris: required; array of string scopes: required; array of "objects.read" | "objects.write" | "branches.read" | "branches.write" | "branches.manage" | "builds.run" | "offline_access" publicKeySet: optional; object the object has: keys: required; array of map of nestedexample input: {"displayName":"Example client","clientType":"public","redirectUris":["https://example.com/callback"],"scopes":[]}openeng admin-sdk listClients
Section titled “openeng admin-sdk listClients”openeng admin-sdk listClients [--input <json> | --input - | --input-file <path>]route: listClients (POST /clients/list)module: admin-sdkcapability: admin.clientsactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the clients of the caller's organisation, for a caller who administers them.input fields: noneexample input: {}openeng admin-sdk revokeClient
Section titled “openeng admin-sdk revokeClient”openeng admin-sdk revokeClient [--input <json> | --input - | --input-file <path>]route: revokeClient (POST /client-revocations)module: admin-sdkcapability: admin.clientRevocationactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Revokes a client; its grants and tokens stop on their next use.input fields: clientId: required; stringexample input: {"clientId":"<clientId>"}openeng admin-sdk replaceClientKeys
Section titled “openeng admin-sdk replaceClientKeys”openeng admin-sdk replaceClientKeys [--input <json> | --input - | --input-file <path>]route: replaceClientKeys (POST /client-keys)module: admin-sdkcapability: admin.clientKeysactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Replaces a confidential client's public key set.input fields: clientId: required; string publicKeySet: required; object the object has: keys: required; array of map of nestedexample input: {"clientId":"<clientId>","publicKeySet":{"keys":[{"kty":"EC","crv":"P-256","x":"axfR8uEsQkf4vOblY6RA8ncDfYEt6zOg9KE5RdiYwpY","y":"T-NC4v4af5uO5-tKfA-eFivOM1drMV7Oy7ZAaDe_UfU"}]}}openeng admin-sdk createServiceIdentity
Section titled “openeng admin-sdk createServiceIdentity”openeng admin-sdk createServiceIdentity [--input <json> | --input - | --input-file <path>]route: createServiceIdentity (POST /service-identities)module: admin-sdkcapability: admin.serviceIdentityactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Creates a service identity in an organisation.input fields: name: required; stringexample input: {"name":"<name>"}openeng admin-sdk revokeServiceIdentity
Section titled “openeng admin-sdk revokeServiceIdentity”openeng admin-sdk revokeServiceIdentity [--input <json> | --input - | --input-file <path>]route: revokeServiceIdentity (POST /service-identities/revocation)module: admin-sdkcapability: admin.serviceIdentityRevocationactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Revokes a service identity.input fields: principalId: required; stringexample input: {"principalId":"<principalId>"}openeng admin-sdk revokeServiceCredential
Section titled “openeng admin-sdk revokeServiceCredential”openeng admin-sdk revokeServiceCredential [--input <json> | --input - | --input-file <path>]route: revokeServiceCredential (POST /service-credentials/revocation)module: admin-sdkcapability: admin.serviceCredentialRevocationactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Revokes a service identity's credential.input fields: credentialId: required; stringexample input: {"credentialId":"<credentialId>"}openeng admin-sdk grantMembership
Section titled “openeng admin-sdk grantMembership”openeng admin-sdk grantMembership [--input <json> | --input - | --input-file <path>]route: grantMembership (POST /memberships)module: admin-sdkcapability: admin.membershipactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Grants a principal a role in a scope. An unknown role answers unknown-role with the deployment's roleKeys.input fields: principalId: required; string scopeKind: required; "organisation" | "project" scopeId: required; string roleKey: required; stringexample input: {"principalId":"<principalId>","scopeKind":"organisation","scopeId":"<scopeId>","roleKey":"<roleKey>"}openeng admin-sdk revokeMembership
Section titled “openeng admin-sdk revokeMembership”openeng admin-sdk revokeMembership [--input <json> | --input - | --input-file <path>]route: revokeMembership (POST /membership-revocations)module: admin-sdkcapability: admin.membershipRevocationactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Revokes a principal's membership of a scope; at organisation scope, also revokes their memberships in its projects.input fields: principalId: required; string scopeKind: required; "organisation" | "project" scopeId: required; stringexample input: {"principalId":"<principalId>","scopeKind":"organisation","scopeId":"<scopeId>"}openeng admin-sdk leaveMembership
Section titled “openeng admin-sdk leaveMembership”openeng admin-sdk leaveMembership [--input <json> | --input - | --input-file <path>]route: leaveMembership (POST /memberships/leave)module: admin-sdkcapability: admin.membershipRevocationactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Leaves the caller's own membership of a scope; at organisation scope, also removes their project memberships and ends their work, run sessions and open launches. An ended project permits departure.input fields: scopeKind: required; "organisation" | "project" scopeId: required; stringexample input: {"scopeKind":"organisation","scopeId":"<scopeId>"}openeng admin-sdk setModelId
Section titled “openeng admin-sdk setModelId”openeng admin-sdk setModelId [--input <json> | --input - | --input-file <path>]route: setModelId (POST /model-configuration/model)module: admin-sdkcapability: admin.modelIdactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Changes the model an organisation's agents use, keeping the key it holds, for a caller who administers agents.input fields: model: required; stringexample input: {"model":"<model>"}openeng admin-sdk readModelConfigurationStatus
Section titled “openeng admin-sdk readModelConfigurationStatus”openeng admin-sdk readModelConfigurationStatus [--input <json> | --input - | --input-file <path>]route: readModelConfigurationStatus (POST /model-configuration/status)module: admin-sdkcapability: admin.modelConfigurationStatusactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads whether the caller's organisation has a model configured, and its provider, model and the time it was set, for a caller who administers agents. The key is never answered.input fields: noneexample input: {}openeng admin-sdk readAccount
Section titled “openeng admin-sdk readAccount”openeng admin-sdk readAccount [--input <json> | --input - | --input-file <path>]route: readAccount (POST /account)module: admin-sdkcapability: admin.accountactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the caller's own principal identifier, display name and registered email.input fields: noneexample input: {}openeng admin-sdk readDisplayNames
Section titled “openeng admin-sdk readDisplayNames”openeng admin-sdk readDisplayNames [--input <json> | --input - | --input-file <path>]route: readDisplayNames (POST /principals/names)module: admin-sdkcapability: admin.displayNamesactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the display names of principals the caller may see.input fields: principalIds: required; array of stringexample input: {"principalIds":[]}openeng admin-sdk listMembers
Section titled “openeng admin-sdk listMembers”openeng admin-sdk listMembers --selector <json> [--input <json> | --input - | --input-file <path>]route: listMembers (POST /projects/members)module: admin-sdkcapability: admin.membersactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the members of a project and the role options, each with its capabilities sorted by name. An empty capabilities list means that the role grants no capability.input fields: noneselector keys: projectId: required; stringexample input: {}openeng admin-sdk changeMembershipRole
Section titled “openeng admin-sdk changeMembershipRole”openeng admin-sdk changeMembershipRole [--input <json> | --input - | --input-file <path>]route: changeMembershipRole (POST /membership-roles)module: admin-sdkcapability: admin.membershipRoleactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Changes a principal's role in a scope; missing membership administration answers `capability-missing`.input fields: principalId: required; string scopeKind: required; "organisation" | "project" scopeId: required; string roleKey: required; stringexample input: {"principalId":"<principalId>","scopeKind":"organisation","scopeId":"<scopeId>","roleKey":"<roleKey>"}openeng admin-sdk listOrganisationMembers
Section titled “openeng admin-sdk listOrganisationMembers”openeng admin-sdk listOrganisationMembers [--input <json> | --input - | --input-file <path>]route: listOrganisationMembers (POST /organisation/members)module: admin-sdkcapability: admin.organisationMembersactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the memberships of the caller's organisation and of the projects of it the caller may read.input fields: noneexample input: {}openeng admin-sdk listServiceIdentities
Section titled “openeng admin-sdk listServiceIdentities”openeng admin-sdk listServiceIdentities [--input <json> | --input - | --input-file <path>]route: listServiceIdentities (POST /organisation/service-identities)module: admin-sdkcapability: admin.serviceIdentitiesactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the service identities of the caller's organisation, for a caller who administers them.input fields: noneexample input: {}openeng admin-sdk createInvitation
Section titled “openeng admin-sdk createInvitation”openeng admin-sdk createInvitation [--input <json> | --input - | --input-file <path>]route: createInvitation (POST /invitations)module: admin-sdkcapability: admin.invitationactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Invites an address in an organisation role with up to 50 optional projectRoles, each a projectId and roleKey. Every project must belong to the invitation's organisation. The caller must administer members there and on each project. An unknown role answers unknown-role with the deployment's roleKeys; a known role above the caller's answers above-caller-role.input fields: email: required; string roleKey: required; string projectRoles: optional; array of object each element has: projectId: required; string roleKey: required; stringexample input: {"email":"<email>","roleKey":"<roleKey>"}openeng admin-sdk listInvitations
Section titled “openeng admin-sdk listInvitations”openeng admin-sdk listInvitations [--input <json> | --input - | --input-file <path>]route: listInvitations (POST /invitations/list)module: admin-sdkcapability: admin.invitationListactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists pending invitations of the caller's organisation, including each invitation's projectRoles, for a caller who administers its members.input fields: noneexample input: {}openeng admin-sdk revokeInvitation
Section titled “openeng admin-sdk revokeInvitation”openeng admin-sdk revokeInvitation [--input <json> | --input - | --input-file <path>]route: revokeInvitation (POST /invitation-revocations)module: admin-sdkcapability: admin.invitationRevocationactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Revokes a pending invitation of the caller's organisation, for a caller who administers its members.input fields: invitationId: required; stringexample input: {"invitationId":"<invitationId>"}openeng admin-sdk readInvitationDomainRule
Section titled “openeng admin-sdk readInvitationDomainRule”openeng admin-sdk readInvitationDomainRule [--input <json> | --input - | --input-file <path>]route: readInvitationDomainRule (POST /invitation-domain-rule/read)module: admin-sdkcapability: admin.invitationDomainRuleReadactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the domains the caller's organisation invites from, for an owner.input fields: noneexample input: {}openeng admin-sdk setInvitationDomainRule
Section titled “openeng admin-sdk setInvitationDomainRule”openeng admin-sdk setInvitationDomainRule [--input <json> | --input - | --input-file <path>]route: setInvitationDomainRule (POST /invitation-domain-rule)module: admin-sdkcapability: admin.invitationDomainRuleactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Replaces the domains the caller's organisation invites from, for an owner.input fields: restricted: required; boolean domains: required; array of stringexample input: {"restricted":false,"domains":[]}openeng admin-sdk reissueInvitation
Section titled “openeng admin-sdk reissueInvitation”openeng admin-sdk reissueInvitation [--input <json> | --input - | --input-file <path>]route: reissueInvitation (POST /invitation-reissues)module: admin-sdkcapability: admin.invitationReissueactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Replaces the code and the expiry of a pending invitation of the caller's organisation and answers the new link, for a caller who administers its members.input fields: invitationId: required; stringexample input: {"invitationId":"<invitationId>"}openeng admin-sdk createPlatformInvitation
Section titled “openeng admin-sdk createPlatformInvitation”openeng admin-sdk createPlatformInvitation [--input <json> | --input - | --input-file <path>]route: createPlatformInvitation (POST /platform-invitations)module: admin-sdkcapability: admin.platformInvitationactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Invites an address to create a new organisation, for a platform administrator, and answers the link.input fields: email: required; string organisationName: optional; stringexample input: {"email":"<email>"}openeng admin-sdk listPlatformInvitations
Section titled “openeng admin-sdk listPlatformInvitations”openeng admin-sdk listPlatformInvitations [--input <json> | --input - | --input-file <path>]route: listPlatformInvitations (POST /platform-invitations/list)module: admin-sdkcapability: admin.platformInvitationListactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the pending platform invitations, for a platform administrator.input fields: noneexample input: {}openeng admin-sdk revokePlatformInvitation
Section titled “openeng admin-sdk revokePlatformInvitation”openeng admin-sdk revokePlatformInvitation [--input <json> | --input - | --input-file <path>]route: revokePlatformInvitation (POST /platform-invitation-revocations)module: admin-sdkcapability: admin.platformInvitationRevocationactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Revokes a pending platform invitation, for a platform administrator.input fields: invitationId: required; stringexample input: {"invitationId":"<invitationId>"}openeng admin-sdk reissuePlatformInvitation
Section titled “openeng admin-sdk reissuePlatformInvitation”openeng admin-sdk reissuePlatformInvitation [--input <json> | --input - | --input-file <path>]route: reissuePlatformInvitation (POST /platform-invitation-reissues)module: admin-sdkcapability: admin.platformInvitationReissueactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Replaces the code and the expiry of a pending platform invitation and answers the new link, for a platform administrator.input fields: invitationId: required; stringexample input: {"invitationId":"<invitationId>"}openeng admin-sdk readWebOrigin
Section titled “openeng admin-sdk readWebOrigin”openeng admin-sdk readWebOrigin [--input <json> | --input - | --input-file <path>]route: readWebOrigin (POST /web-origin/read)module: admin-sdkcapability: admin.webOriginactors: person, servicestep-up: person: none; service: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the origin of the deployment's web application, or null when the host is given none.input fields: noneexample input: {}openeng admin-sdk readCallerCapabilities
Section titled “openeng admin-sdk readCallerCapabilities”openeng admin-sdk readCallerCapabilities [--input <json> | --input - | --input-file <path>]route: readCallerCapabilities (POST /caller-capabilities/read)module: admin-sdkcapability: admin.callerCapabilitiesactors: person, app:hostedstep-up: person: none; app:hosted: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the capabilities the caller holds in the token's organisation and its projects, and the platform capability for a platform administrator.input fields: noneexample input: {}openeng admin-sdk listAudit
Section titled “openeng admin-sdk listAudit”openeng admin-sdk listAudit --selector <json> [--input <json> | --input - | --input-file <path>]route: listAudit (POST /audit)module: admin-sdkcapability: admin.auditactors: person, agent:explore, agent:apply, agent:typesstep-up: person: none; agent:explore: none; agent:apply: none; agent:types: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the audit records of a project.input fields: limit: required; integer cursor: optional; stringselector keys: projectId: required; stringexample input: {"limit":1}openeng admin-sdk listOrganisationAudit
Section titled “openeng admin-sdk listOrganisationAudit”openeng admin-sdk listOrganisationAudit [--input <json> | --input - | --input-file <path>]route: listOrganisationAudit (POST /organisation-audit)module: admin-sdkcapability: admin.organisationAuditactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the organisation-level actions the caller may read.input fields: limit: required; integer verbPrefix: required; string cursor: optional; stringexample input: {"limit":1,"verbPrefix":"<verbPrefix>"}openeng admin-sdk addRefRule
Section titled “openeng admin-sdk addRefRule”openeng admin-sdk addRefRule --selector <json> [--input <json> | --input - | --input-file <path>]route: addRefRule (POST /ref-rules)module: admin-sdkcapability: admin.ref-rulesactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Adds one of the selected project's rules with extent, pattern and settings, and answers the full rule. Extent is ref or rows; organisation rules take ref only. Settings include consequence (open, merge-only or locked-rows-only), requireProposal, requiredApprovals, approverMinRole, restrictDeletions, approvers and bypass. Omitted settings take the defaults. Only project ref rules may restrict deletions; approvals need a proposal and an approver. An add with the same owner, case-insensitive pattern, extent and consequence returns the existing rule without an audit write if its settings are identical; otherwise it is refused with duplicate-rule. A different consequence can create a separate rule.input fields: extent: required; "ref" | "rows" pattern: required; string settings: optional; object the object has: consequence: optional; "open" | "merge-only" | "locked-rows-only" requireProposal: optional; boolean requiredApprovals: optional; integer approverMinRole: optional; "contributor" | "maintainer" | "owner" | null restrictDeletions: optional; boolean approvers: optional; array of string bypass: optional; array of kinds: role | person | service | client each element is one of these shapes: kind role: roleKey: required; "contributor" | "maintainer" | "owner" kind person: personId: required; string kind service: serviceIdentityId: required; string kind client: clientId: required; stringselector keys: projectId: required; stringexample input: {"extent":"ref","pattern":"<pattern>"}openeng admin-sdk listRefRules
Section titled “openeng admin-sdk listRefRules”openeng admin-sdk listRefRules --selector <json> [--input <json> | --input - | --input-file <path>]route: listRefRules (POST /projects/ref-rules)module: admin-sdkcapability: admin.ref-rulesactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the selected project's visible rules with each identifier, extent and pattern, and every setting and member list.input fields: noneselector keys: projectId: required; stringexample input: {}openeng admin-sdk removeRefRule
Section titled “openeng admin-sdk removeRefRule”openeng admin-sdk removeRefRule --selector <json> [--input <json> | --input - | --input-file <path>]route: removeRefRule (POST /ref-rule-removals)module: admin-sdkcapability: admin.ref-rulesactors: personstep-up: person: person-presentidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Removes one of the selected project's rules by identifier and answers its ruleId. An absent, unreadable or other owner's identifier answers not-found.input fields: ruleId: required; stringselector keys: projectId: required; stringexample input: {"ruleId":"<ruleId>"}openeng admin-sdk updateRefRule
Section titled “openeng admin-sdk updateRefRule”openeng admin-sdk updateRefRule --selector <json> [--input <json> | --input - | --input-file <path>]route: updateRefRule (POST /ref-rule-updates)module: admin-sdkcapability: admin.ref-rulesactors: personstep-up: person: person-presentidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Changes one of the selected project's rules in place and answers the full rule. Send ruleId and settings only. Omitted settings keep their values; supplied lists replace their members. A consequence already held by another rule on this pattern is refused duplicate-rule. Extent and pattern cannot change. Every update requires step-up confirmation in an agent-mode session. An absent, unreadable or other owner's identifier answers not-found.input fields: ruleId: required; string settings: required; object the object has: consequence: optional; "open" | "merge-only" | "locked-rows-only" requireProposal: optional; boolean requiredApprovals: optional; integer approverMinRole: optional; "contributor" | "maintainer" | "owner" | null restrictDeletions: optional; boolean approvers: optional; array of string bypass: optional; array of kinds: role | person | service | client each element is one of these shapes: kind role: roleKey: required; "contributor" | "maintainer" | "owner" kind person: personId: required; string kind service: serviceIdentityId: required; string kind client: clientId: required; stringselector keys: projectId: required; stringexample input: {"ruleId":"<ruleId>","settings":{}}openeng admin-sdk addOrganisationRule
Section titled “openeng admin-sdk addOrganisationRule”openeng admin-sdk addOrganisationRule [--input <json> | --input - | --input-file <path>]route: addOrganisationRule (POST /organisation-ref-rules)module: admin-sdkcapability: admin.organisation-ref-rulesactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Adds one of the attached organisation's rules with extent, pattern and settings, and answers the full rule. Extent is ref or rows; organisation rules take ref only. Settings include consequence (open, merge-only or locked-rows-only), requireProposal, requiredApprovals, approverMinRole, restrictDeletions, approvers and bypass. Omitted settings take the defaults. Only project ref rules may restrict deletions; approvals need a proposal and an approver. An add with the same owner, case-insensitive pattern, extent and consequence returns the existing rule without an audit write if its settings are identical; otherwise it is refused with duplicate-rule. A different consequence can create a separate rule.input fields: extent: required; "ref" | "rows" pattern: required; string settings: optional; object the object has: consequence: optional; "open" | "merge-only" | "locked-rows-only" requireProposal: optional; boolean requiredApprovals: optional; integer approverMinRole: optional; "contributor" | "maintainer" | "owner" | null restrictDeletions: optional; boolean approvers: optional; array of string bypass: optional; array of kinds: role | person | service | client each element is one of these shapes: kind role: roleKey: required; "contributor" | "maintainer" | "owner" kind person: personId: required; string kind service: serviceIdentityId: required; string kind client: clientId: required; stringexample input: {"extent":"ref","pattern":"<pattern>"}openeng admin-sdk listOrganisationRules
Section titled “openeng admin-sdk listOrganisationRules”openeng admin-sdk listOrganisationRules [--input <json> | --input - | --input-file <path>]route: listOrganisationRules (POST /organisation-ref-rules/list)module: admin-sdkcapability: admin.organisation-ref-rulesactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the attached organisation's visible rules with each identifier, extent and pattern, and every setting and member list; read on a project in the organisation is enough.input fields: noneexample input: {}openeng admin-sdk removeOrganisationRule
Section titled “openeng admin-sdk removeOrganisationRule”openeng admin-sdk removeOrganisationRule [--input <json> | --input - | --input-file <path>]route: removeOrganisationRule (POST /organisation-ref-rule-removals)module: admin-sdkcapability: admin.organisation-ref-rulesactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Removes one of the attached organisation's rules by identifier and answers its ruleId. An absent, unreadable or other owner's identifier answers not-found.input fields: ruleId: required; stringexample input: {"ruleId":"<ruleId>"}openeng admin-sdk updateOrganisationRule
Section titled “openeng admin-sdk updateOrganisationRule”openeng admin-sdk updateOrganisationRule [--input <json> | --input - | --input-file <path>]route: updateOrganisationRule (POST /organisation-ref-rule-updates)module: admin-sdkcapability: admin.organisation-ref-rulesactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Changes one of the attached organisation's rules in place and answers the full rule. Send ruleId and settings only. Omitted settings keep their values; supplied lists replace their members. A consequence already held by another rule on this pattern is refused duplicate-rule. Extent and pattern cannot change. Every update requires step-up confirmation in an agent-mode session. An absent, unreadable or other owner's identifier answers not-found.input fields: ruleId: required; string settings: required; object the object has: consequence: optional; "open" | "merge-only" | "locked-rows-only" requireProposal: optional; boolean requiredApprovals: optional; integer approverMinRole: optional; "contributor" | "maintainer" | "owner" | null restrictDeletions: optional; boolean approvers: optional; array of string bypass: optional; array of kinds: role | person | service | client each element is one of these shapes: kind role: roleKey: required; "contributor" | "maintainer" | "owner" kind person: personId: required; string kind service: serviceIdentityId: required; string kind client: clientId: required; stringexample input: {"ruleId":"<ruleId>","settings":{}}openeng admin-sdk createOrganisationRef
Section titled “openeng admin-sdk createOrganisationRef”openeng admin-sdk createOrganisationRef [--input <json> | --input - | --input-file <path>]route: createOrganisationRef (POST /organisation-refs)module: admin-sdkcapability: admin.organisation-refsactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Creates a branch or baseline at the organisation's trunk head and answers its name, readOnly and creation attribution. The optional readOnly flag defaults to false; the name is one non-reserved name segment.input fields: name: required; string readOnly: optional; booleanexample input: {"name":"<name>"}openeng admin-sdk listOrganisationRefs
Section titled “openeng admin-sdk listOrganisationRefs”openeng admin-sdk listOrganisationRefs [--input <json> | --input - | --input-file <path>]route: listOrganisationRefs (POST /organisation-refs/list)module: admin-sdkcapability: admin.organisation-refsactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists branches and baselines in the attached organisation, including each name, readOnly and creation attribution; read on a project in the organisation is enough.input fields: noneexample input: {}openeng admin-sdk deleteOrganisationRef
Section titled “openeng admin-sdk deleteOrganisationRef”openeng admin-sdk deleteOrganisationRef [--input <json> | --input - | --input-file <path>]route: deleteOrganisationRef (POST /organisation-ref-deletions)module: admin-sdkcapability: admin.organisation-refsactors: personstep-up: person: person-presentidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Deletes a writable branch from the attached organisation and answers its name. A baseline cannot be deleted.input fields: name: required; stringexample input: {"name":"<name>"}openeng admin-sdk markOrganisationRefReadOnly
Section titled “openeng admin-sdk markOrganisationRefReadOnly”openeng admin-sdk markOrganisationRefReadOnly [--input <json> | --input - | --input-file <path>]route: markOrganisationRefReadOnly (POST /organisation-ref-read-only)module: admin-sdkcapability: admin.organisation-refsactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Marks an organisation branch read-only as a baseline and answers its full record. An absent name answers not-found; an unauthorised caller answers not-permitted.input fields: name: required; stringexample input: {"name":"<name>"}openeng admin-sdk readAgentCeiling
Section titled “openeng admin-sdk readAgentCeiling”openeng admin-sdk readAgentCeiling --selector <json> [--input <json> | --input - | --input-file <path>]route: readAgentCeiling (POST /projects/agent-ceiling)module: admin-sdkcapability: admin.agent-ceilingactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the selected project's maximum agent role as { ceiling }: contributor or maintainer. An absent or unreadable project answers not-found.input fields: noneselector keys: projectId: required; stringexample input: {}openeng admin-sdk renameProject
Section titled “openeng admin-sdk renameProject”openeng admin-sdk renameProject --selector <json> [--input <json> | --input - | --input-file <path>]route: renameProject (POST /projects/rename)module: admin-sdkcapability: admin.projectRenameactors: personstep-up: person: person-presentidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Changes the selected project's display name and answers its project id and name. An empty name answers invalid-request at name; whitespace is preserved. A reader's rename, an absent project and an unreadable project each answer not-found.input fields: name: required; stringselector keys: projectId: required; stringexample input: {"name":"<name>"}openeng admin-sdk setAgentCeiling
Section titled “openeng admin-sdk setAgentCeiling”openeng admin-sdk setAgentCeiling --selector <json> [--input <json> | --input - | --input-file <path>]route: setAgentCeiling (POST /agent-ceiling)module: admin-sdkcapability: admin.agent-ceilingactors: personstep-up: person: person-presentidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Sets the selected project's maximum agent role to contributor or maintainer and answers { ceiling }. An unknown role answers invalid-request at ceiling.input fields: ceiling: required; "contributor" | "maintainer"selector keys: projectId: required; stringexample input: {"ceiling":"contributor"}openeng admin-sdk createProject
Section titled “openeng admin-sdk createProject”openeng admin-sdk createProject [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: createProject (POST /project-creations)module: admin-sdkcapability: admin.projectsactors: personstep-up: person: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Creates a project in the organisation the session is attached to and answers it with its namespace.input fields: name: required; string correlationId: optional; stringexample input: {"name":"<name>"}openeng admin-sdk createOrganisation
Section titled “openeng admin-sdk createOrganisation”openeng admin-sdk createOrganisation [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: createOrganisation (POST /organisation-creations)module: admin-sdkcapability: admin.organisationsactors: personstep-up: person: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Creates an organisation for the signed-in user, who becomes its owner, and answers it with its namespace.input fields: name: required; string correlationId: optional; stringexample input: {"name":"<name>"}openeng admin-sdk createConnection
Section titled “openeng admin-sdk createConnection”openeng admin-sdk createConnection [--input <json> | --input - | --input-file <path>]route: createConnection (POST /connections)module: admin-sdkcapability: admin.connectionCreationactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Creates a connection to an external source system for the signed-in person: its mirror project and its service identity. The connection commits whether or not its types could be drafted, and the answer says which.input fields: name: required; string system: required; "onshape" stack: required; string companyId: required; string | null selection: required; kinds: company | team | owner kind company: label (string, optional) kind team: teamId (string, required), label (string, optional) kind owner: ownerId (string, required), label (string, optional)example input: {"name":"<name>","system":"onshape","stack":"<stack>","companyId":null,"selection":{"kind":"company"}}openeng admin-sdk listConnections
Section titled “openeng admin-sdk listConnections”openeng admin-sdk listConnections [--input <json> | --input - | --input-file <path>]route: listConnections (POST /connections/list)module: admin-sdkcapability: admin.connectionsactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the connections whose mirror project the caller reads, each with its last run and whether the caller may start a run.input fields: noneexample input: {}openeng admin-sdk readConnectionIdentity
Section titled “openeng admin-sdk readConnectionIdentity”openeng admin-sdk readConnectionIdentity --selector <json> [--input <json> | --input - | --input-file <path>]route: readConnectionIdentity (POST /connections/identity)module: admin-sdkcapability: admin.connectionIdentityactors: personstep-up: person: noneidempotent: noselector: connection, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the upstream account, company and selection of a connection, for a caller who administers projects.input fields: noneselector keys: connectionId: required; stringexample input: {}openeng admin-sdk draftConnectorTypes
Section titled “openeng admin-sdk draftConnectorTypes”openeng admin-sdk draftConnectorTypes --selector <json> [--input <json> | --input - | --input-file <path>]route: draftConnectorTypes (POST /connections/types)module: admin-sdkcapability: admin.connectorTypesactors: personstep-up: person: noneidempotent: noselector: connection, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Drafts the connector's types as a change set for a person to review and accept, or answers that they are already approved or already waiting.input fields: noneselector keys: connectionId: required; stringexample input: {}openeng admin-sdk revokeConnection
Section titled “openeng admin-sdk revokeConnection”openeng admin-sdk revokeConnection --selector <json> [--input <json> | --input - | --input-file <path>]route: revokeConnection (POST /connection-revocations)module: admin-sdkcapability: admin.connectionRevocationactors: personstep-up: person: noneidempotent: noselector: connection, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Revokes a connection: its running runs end as failed and its service identity can no longer act.input fields: noneselector keys: connectionId: required; stringexample input: {}openeng admin-sdk startImportRun
Section titled “openeng admin-sdk startImportRun”openeng admin-sdk startImportRun --selector <json> [--input <json> | --input - | --input-file <path>]route: startImportRun (POST /import-runs)module: admin-sdkcapability: admin.importRunStartactors: personstep-up: person: noneidempotent: noselector: connection, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Starts a run that imports the connection's source into its mirror project, and answers the run once its row has committed.input fields: noneselector keys: connectionId: required; stringexample input: {}openeng admin-sdk listImportRuns
Section titled “openeng admin-sdk listImportRuns”openeng admin-sdk listImportRuns --selector <json> [--input <json> | --input - | --input-file <path>]route: listImportRuns (POST /import-runs/list)module: admin-sdkcapability: admin.importRunsactors: personstep-up: person: noneidempotent: noselector: connection, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists the runs of a connection, newest first, or the one run named.input fields: runId: optional; stringselector keys: connectionId: required; stringexample input: {}openeng admin-sdk closeImportRun
Section titled “openeng admin-sdk closeImportRun”openeng admin-sdk closeImportRun --selector <json> [--input <json> | --input - | --input-file <path>]route: closeImportRun (POST /import-run-closes)module: admin-sdkcapability: admin.importRunCloseactors: service, personstep-up: service: none; person: noneidempotent: noselector: connection, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Ends a running run: the connection's service identity as succeeded or failed, or the person who started it as failed.input fields: outcome succeeded: runId (string, required), commits (array of string, required), complete (boolean, required), sourceCheckpoint (integer | null, required), counts (object, required) the object has: created: required; integer updated: required; integer unchanged: required; integer withdrawn: required; integer carried: required; integer overwritten: required; integer outcome failed: runId (string, required), failure ("auth" | "timeout" | "size" | "shape" | "upstream-error" | "unreachable" | "allowance-spent" | "duplicate-identifier" | "dangling-reference" | "undeclared-type" | "credential-unreadable" | "connection-revoked" | "abandoned" | "apply-refused" | "apply-conflict" | "apply-unknown" | "duplicate-upstream" | "types-not-approved" | "internal" | "mirror-row-unreadable", required)selector keys: connectionId: required; stringexample input: {"runId":"<runId>","outcome":"succeeded","commits":[],"complete":false,"sourceCheckpoint":null,"counts":{"created":1,"updated":1,"unchanged":1,"withdrawn":1,"carried":1,"overwritten":1}}openeng agents-sdk openAgentSession
Section titled “openeng agents-sdk openAgentSession”openeng agents-sdk openAgentSession --selector <json> [--input <json> | --input - | --input-file <path>]route: openAgentSession (POST /agent-sessions)module: agents-sdkcapability: agents.sessionactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Opens an agent session on a project.input fields: agent: required; "object" | "ontology"selector keys: projectId: required; stringexample input: {"agent":"object"}openeng agents-sdk listAgentSessions
Section titled “openeng agents-sdk listAgentSessions”openeng agents-sdk listAgentSessions --selector <json> [--input <json> | --input - | --input-file <path>]route: listAgentSessions (POST /agent-sessions/list)module: agents-sdkcapability: agents.sessionListactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Lists every session of the selected agent in the project.input fields: agent: required; "object" | "ontology"selector keys: projectId: required; stringexample input: {"agent":"object"}openeng agents-sdk readAgentSession
Section titled “openeng agents-sdk readAgentSession”openeng agents-sdk readAgentSession --selector <json> [--input <json> | --input - | --input-file <path>]route: readAgentSession (POST /agent-sessions/read)module: agents-sdkcapability: agents.sessionReadactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads one agent session and its runs.input fields: agentSessionId: required; stringselector keys: projectId: required; stringexample input: {"agentSessionId":"<agentSessionId>"}openeng agents-sdk sendMessage
Section titled “openeng agents-sdk sendMessage”openeng agents-sdk sendMessage --selector <json> [--input <json> | --input - | --input-file <path>]route: sendMessage (POST /agent-messages)module: agents-sdkcapability: agents.messageactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Sends a message to an agent session and starts a run.input fields: agentSessionId: required; string message: required; string activeRef: required; string viewContext: optional; object the object has: typeKey: optional; string objectId: optional; string viewName: optional; stringselector keys: projectId: required; stringexample input: {"agentSessionId":"<agentSessionId>","message":"<message>","activeRef":"<activeRef>"}openeng agents-sdk answerPlan
Section titled “openeng agents-sdk answerPlan”openeng agents-sdk answerPlan --selector <json> [--input <json> | --input - | --input-file <path>]route: answerPlan (POST /agent-plan-answers)module: agents-sdkcapability: agents.planAnsweractors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Answers the plan a run proposed.input fields: runId: required; string verdict: required; "approve" | "reject"selector keys: projectId: required; stringexample input: {"runId":"<runId>","verdict":"approve"}openeng agents-sdk stopRun
Section titled “openeng agents-sdk stopRun”openeng agents-sdk stopRun --selector <json> [--input <json> | --input - | --input-file <path>]route: stopRun (POST /agent-run-stops)module: agents-sdkcapability: agents.runStopactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Stops a run that is working.input fields: runId: required; stringselector keys: projectId: required; stringexample input: {"runId":"<runId>"}openeng agents-sdk closePlan
Section titled “openeng agents-sdk closePlan”openeng agents-sdk closePlan --selector <json> [--input <json> | --input - | --input-file <path>]route: closePlan (POST /agent-plan-closes)module: agents-sdkcapability: agents.planCloseactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Closes a plan that no longer applies.input fields: agentSessionId: required; stringselector keys: projectId: required; stringexample input: {"agentSessionId":"<agentSessionId>"}openeng agents-sdk sendMessageStreamed
Section titled “openeng agents-sdk sendMessageStreamed”openeng agents-sdk sendMessageStreamed --selector <json> [--input <json> | --input - | --input-file <path>]route: sendMessageStreamed (POST /agent-messages/stream)module: agents-sdkcapability: agents.messageStreamedactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Sends a message to an agent session and streams the run's events.input fields: agentSessionId: required; string message: required; string activeRef: required; string viewContext: optional; object the object has: typeKey: optional; string objectId: optional; string viewName: optional; stringselector keys: projectId: required; stringexample input: {"agentSessionId":"<agentSessionId>","message":"<message>","activeRef":"<activeRef>"}openeng agents-sdk answerPlanStreamed
Section titled “openeng agents-sdk answerPlanStreamed”openeng agents-sdk answerPlanStreamed --selector <json> [--input <json> | --input - | --input-file <path>]route: answerPlanStreamed (POST /agent-plan-answers/stream)module: agents-sdkcapability: agents.planAnswerStreamedactors: personstep-up: person: noneidempotent: noselector: project, given as --selector <json>input: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Answers the plan a run proposed and streams the run's events.input fields: runId: required; string verdict: required; "approve" | "reject"selector keys: projectId: required; stringexample input: {"runId":"<runId>","verdict":"approve"}openeng ontology-sdk openChangeSet
Section titled “openeng ontology-sdk openChangeSet”openeng ontology-sdk openChangeSet [--input <json> | --input - | --input-file <path>]route: openChangeSet (POST /change-sets)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Opens the organisation's one change set of the catalogue.input fields: noneexample input: {}openeng ontology-sdk readCurrentChangeSet
Section titled “openeng ontology-sdk readCurrentChangeSet”openeng ontology-sdk readCurrentChangeSet [--input <json> | --input - | --input-file <path>]route: readCurrentChangeSet (POST /change-sets/current)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads the organisation's open change set, or none.input fields: noneexample input: {}openeng ontology-sdk readChangeSet
Section titled “openeng ontology-sdk readChangeSet”openeng ontology-sdk readChangeSet [--input <json> | --input - | --input-file <path>]route: readChangeSet (POST /change-sets/read)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads a change set's changes and the catalogue they apply to.input fields: changeSetId: required; stringexample input: {"changeSetId":"<changeSetId>"}openeng ontology-sdk readChangeSetState
Section titled “openeng ontology-sdk readChangeSetState”openeng ontology-sdk readChangeSetState [--input <json> | --input - | --input-file <path>]route: readChangeSetState (POST /change-sets/state)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads whether a change set is open, accepted or discarded.input fields: changeSetId: required; stringexample input: {"changeSetId":"<changeSetId>"}openeng ontology-sdk reviseChangeSet
Section titled “openeng ontology-sdk reviseChangeSet”openeng ontology-sdk reviseChangeSet [--input <json> | --input - | --input-file <path>]route: reviseChangeSet (POST /change-sets/revisions)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Saves the whole set of changes against the revision the caller last read.input fields: changeSetId: required; string expectedRevision: required; string changes: required; map of kinds: object | edge | verb each value is one of these shapes: typeCategory object: instanceRule: optional; "direct" | "immutable" typeKey: required; string version: required; integer displayName: required; string description: required; string | null schemaLanguageVersion: required; string propertyDefinitions: required; map of any requiredPropertyKeys: required; array of string presentationBindings: optional; object the object has: views: optional; object the object has: object: optional; object the object has: root: required; string elements: required; map of object each value has: type: required; string props: required; map of any children: required; array of string repeat: optional; object (fields nested deeper than shown) on: optional; object (fields nested deeper than shown) app: optional; object the object has: root: required; string elements: required; map of object each value has: type: required; string props: required; map of any children: required; array of string repeat: optional; object (fields nested deeper than shown) on: optional; object (fields nested deeper than shown) card: optional; object the object has: root: required; string elements: required; map of object each value has: type: required; string props: required; map of any children: required; array of string repeat: optional; object (fields nested deeper than shown) on: optional; object (fields nested deeper than shown) title: optional; string summary: optional; string icon: optional; string typeIcon: optional; string propertyLabels: optional; map of string propertyOrder: optional; array of string multiline: optional; array of string rail: optional; object the object has: group: required; string order: required; number structureDeclaration: optional; object the object has: relationships: optional; array of string views: optional; array of object each element has: key: required; string label: required; string steps: required; array of string decoration: optional; array of object each element has: key: required; string label: required; string bodyFormats: optional; array of "markdown" | "python" | "json" | "yaml" | "typescript" | "javascript" | "plaintext" | "modelica" | "sysml" | "starlark" subscriptionRoles: optional; object the object has: owner: optional; object the object has: max: optional; number approver: optional; object the object has: max: optional; number watcher: optional; object the object has: max: optional; number typeCategory edge: typeKey: required; string version: required; integer displayName: required; string sourceObjectType: required; string targetObjectType: required; string kind: required; "structural" | "traceability" subjectEnd: required; "source" | "target" parentEnd: required; "source" | "target" | null sourceLabel: required; string targetLabel: required; string schemaLanguageVersion: required; string propertyDefinitions: required; map of any requiredPropertyKeys: required; array of string readRule: required; "both-endpoints" | "either-endpoint" writeRule: required; "both-endpoints" | "either-endpoint" editorHidden: optional; boolean review: optional; object the object has: upstream: required; "source" | "target" significant: optional; array of string newLinks: optional; "cleared" | "unreviewed" propagation: optional; "direct" | "chain" chainDepth: optional; number typeCategory verb: typeKey: required; string version: required; integer displayName: required; string description: required; string | null allowedSubjectTypes: required; kinds: none | types the object is one of these shapes: kind none: kind types: types: required; array of string inputSchema: required; any resultSchema: required; any handlerKey: optional; string template: optional; object the object has: query: optional; object the object has: typeKey: required; string filters: optional; array of object each element is one of these shapes: shape: kind: required; "property" property: required; string op: required; "=" | ">" | ">=" | "<" | "<=" value: required; kinds: literal | input | subject the object is one of these shapes: slot literal: value: required; any slot input: key: required; string slot subject: property: optional; string shape: kind: required; "property" property: required; string op: required; "in" values: required; array of kinds: literal | input | subject each element is one of these shapes: slot literal: value: required; any slot input: key: required; string slot subject: property: optional; string shape: kind: required; "text" term: required; kinds: literal | input | subject the object is one of these shapes: slot literal: value: required; any slot input: key: required; string slot subject: property: optional; string properties: optional; array of string sort: optional; kinds: property | identity the object is one of these shapes: kind property: property: required; string direction: required; "asc" | "desc" kind identity: direction: required; "asc" | "desc" limit: required; integer operations: required; array of kinds: create-object | update-object | delete-object | create-edge | delete-edge each element is one of these shapes: kind create-object: typeKey: required; string properties: required; map of kinds: literal | input | subject | item | step each value is one of these shapes: slot literal: value: required; any slot input: key: required; string slot subject: property: optional; string slot item: property: optional; string slot step: index: required; integer kind update-object: typeKey: required; string target: required; kinds: input | subject | item | step the object is one of these shapes: slot input: key: required; string slot subject: slot item: slot step: index: required; integer changes: required; map of object each value has: from: required; kinds: literal | input | subject | item | step | absent the object is one of these shapes: slot literal: value: required; any slot input: key: required; string slot subject: property: optional; string slot item: property: optional; string slot step: index: required; integer slot absent: to: required; kinds: literal | input | subject | item | step | absent the object is one of these shapes: slot literal: value: required; any slot input: key: required; string slot subject: property: optional; string slot item: property: optional; string slot step: index: required; integer slot absent: kind delete-object: typeKey: required; string target: required; kinds: input | subject | item | step the object is one of these shapes: slot input: key: required; string slot subject: slot item: slot step: index: required; integer kind create-edge: typeKey: required; string source: required; kinds: input | subject | item | step the object is one of these shapes: slot input: key: required; string slot subject: slot item: slot step: index: required; integer target: required; kinds: input | subject | item | step the object is one of these shapes: slot input: key: required; string slot subject: slot item: slot step: index: required; integer properties: required; map of kinds: literal | input | subject | item | step each value is one of these shapes: slot literal: value: required; any slot input: key: required; string slot subject: property: optional; string slot item: property: optional; string slot step: index: required; integer kind delete-edge: typeKey: required; string target: required; kinds: input | subject | item | step the object is one of these shapes: slot input: key: required; string slot subject: slot item: slot step: index: required; integer schemaLanguageVersion: required; string railGroups: optional; array of stringexample input: {"changeSetId":"<changeSetId>","expectedRevision":"<expectedRevision>","changes":{}}openeng ontology-sdk validateChangeSet
Section titled “openeng ontology-sdk validateChangeSet”openeng ontology-sdk validateChangeSet [--input <json> | --input - | --input-file <path>]route: validateChangeSet (POST /change-sets/validation)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Validates a change set at a revision and lists its violations.input fields: changeSetId: required; string revision: required; stringexample input: {"changeSetId":"<changeSetId>","revision":"<revision>"}openeng ontology-sdk discardChangeSet
Section titled “openeng ontology-sdk discardChangeSet”openeng ontology-sdk discardChangeSet [--input <json> | --input - | --input-file <path>]route: discardChangeSet (POST /change-set-discards)module: ontology-sdkcapability: ontology.publishactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Discards an open change set.input fields: changeSetId: required; stringexample input: {"changeSetId":"<changeSetId>"}openeng ontology-sdk acceptChangeSet
Section titled “openeng ontology-sdk acceptChangeSet”openeng ontology-sdk acceptChangeSet [--input <json> | --input - | --input-file <path>] [--idempotency-key <key>]route: acceptChangeSet (POST /change-set-acceptances)module: ontology-sdkcapability: ontology.publishactors: personstep-up: person: noneidempotent: yes; a key is minted and printed when --idempotency-key is absentselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Publishes a change set's catalogue at the revision the caller reviewed.input fields: changeSetId: required; string revision: required; string correlationId: optional; stringexample input: {"changeSetId":"<changeSetId>","revision":"<revision>"}openeng ontology-sdk openAppDraft
Section titled “openeng ontology-sdk openAppDraft”openeng ontology-sdk openAppDraft [--input <json> | --input - | --input-file <path>]route: openAppDraft (POST /app-drafts)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Opens the one draft of an app, creating the app where the key has none.input fields: appKey: required; stringexample input: {"appKey":"<appKey>"}openeng ontology-sdk readAppDraft
Section titled “openeng ontology-sdk readAppDraft”openeng ontology-sdk readAppDraft [--input <json> | --input - | --input-file <path>]route: readAppDraft (POST /app-drafts/read)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Reads an app draft's state and its latest revision. The input is tagged kind draft with appDraftId, or kind app with appKey.input fields: kind draft: appDraftId (string, required) kind app: appKey (string, required)example input: {"kind":"draft","appDraftId":"<appDraftId>"}openeng ontology-sdk reviseAppDraft
Section titled “openeng ontology-sdk reviseAppDraft”openeng ontology-sdk reviseAppDraft [--input <json> | --input - | --input-file <path>]route: reviseAppDraft (POST /app-drafts/revisions)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Saves a whole app document as the successor of the revision the caller last read.input fields: appDraftId: required; string revision: required; integer document: required; object the object has: title: required; string rail: optional; object the object has: group: required; string order: required; number pages: required; array of object each element has: key: required; string title: required; string view: required; object the object has: root: required; string elements: required; map of object each value has: type: required; string props: required; map of any children: required; array of string repeat: optional; object the object has: statePath: required; string key: optional; string on: optional; object the object has: press: required; kinds: set-properties | run-verb (fields nested deeper than shown)example input: {"appDraftId":"<appDraftId>","revision":1,"document":{"title":"Example app","pages":[{"key":"home","title":"Home","view":{"root":"root","elements":{"root":{"type":"AppBody","props":{},"children":["text"]},"text":{"type":"Text","props":{"text":"Example page"},"children":[]}}}}]}}openeng ontology-sdk acceptAppDraft
Section titled “openeng ontology-sdk acceptAppDraft”openeng ontology-sdk acceptAppDraft [--input <json> | --input - | --input-file <path>]route: acceptAppDraft (POST /app-draft-acceptances)module: ontology-sdkcapability: ontology.publishactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Publishes an app draft's revision as the app's next version.input fields: appDraftId: required; string revision: required; integerexample input: {"appDraftId":"<appDraftId>","revision":1}openeng ontology-sdk validateAppDraft
Section titled “openeng ontology-sdk validateAppDraft”openeng ontology-sdk validateAppDraft [--input <json> | --input - | --input-file <path>]route: validateAppDraft (POST /app-drafts/validation)module: ontology-sdkcapability: ontology.draftactors: person, agent:typesstep-up: person: none; agent:types: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Checks an app draft's revision against the published types and answers the violations it holds.input fields: appDraftId: required; string revision: required; integerexample input: {"appDraftId":"<appDraftId>","revision":1}openeng ontology-sdk discardAppDraft
Section titled “openeng ontology-sdk discardAppDraft”openeng ontology-sdk discardAppDraft [--input <json> | --input - | --input-file <path>]route: discardAppDraft (POST /app-draft-discards)module: ontology-sdkcapability: ontology.publishactors: personstep-up: person: noneidempotent: noselector: noneinput: a JSON object, given as --input <json>, --input - (standard input) or --input-file <path>; {} when none is givendoes: Moves an open app draft to discarded; the app's published versions stay.input fields: appDraftId: required; stringexample input: {"appDraftId":"<appDraftId>"}