Workspace Orchestrator API: schemas

The request and response bodies of the operations in this API.

ApplyLockfileUpgradesResponseDto

PropertyTypeRequiredDescription
lockfileobjectyesThe new lockfile after all dependencies have been re-resolved to latest versions.
upgradesarray of LockfileUpgradeEntryDtoyesEntries that were upgraded.

ApplyLockfileUpgradesResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataApplyLockfileUpgradesResponseDtoyes

CreateRuntimeProfileDto

PropertyTypeRequiredDescription
slugstringyes

FreezeLockfileItemRequestDto

PropertyTypeRequiredDescription
refstringyesThe dependency ref to freeze (e.g. "skill:doc-editor"). Sets pinned: true on this entry in the lockfile so it is excluded from future upgrade diffs.

FreezeLockfileItemResponseDto

PropertyTypeRequiredDescription
frozenbooleanyesTrue if the entry was found and frozen.
lockfileobjectnoUpdated lockfile after the freeze.
refstringyes

FreezeLockfileItemResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataFreezeLockfileItemResponseDtoyes

LockfileUpgradeEntryDto

PropertyTypeRequiredDescription
currentVersionstringyes
latestVersionstringyes
refstringyesDependency ref string, e.g. "skill:doc-editor", "agent:build", "workflow:software-dev", "biome:ubuntu-22.04", "runtimeImage:<image>".
riskClassone of "patch", "minor", "major"yesSemver distance between currentVersion and latestVersion.

PendingLockfileUpgradesResponseDto

PropertyTypeRequiredDescription
pendingarray of LockfileUpgradeEntryDtoyesNon-pinned lockfile entries whose registry-latest version differs from the version currently locked for the session. Empty when the session has no lockfile, every entry is pinned, or everything is already on the latest published version.

PendingLockfileUpgradesResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataPendingLockfileUpgradesResponseDtoyes

ProblemActionableBy

Who can act on this refusal: user (correct the input, sign in), org-admin (an administrator of the organisation), platform (the operators of this installation), none (nobody — it cannot succeed). ABSENT when not known; never guessed.

Type: one of "user", "org-admin", "platform", "none"

ProblemDetailsDto

RFC 9457 problem document. The declared members are the reserved core; extension members are TOP-LEVEL and OPEN, owned by the refusing plane.

PropertyTypeRequiredDescription
actionableByProblemActionableBynoWho can act on this refusal: user (correct the input, sign in), org-admin (an administrator of the organisation), platform (the operators of this installation), none (nobody — it cannot succeed). ABSENT when not known; never guessed.
codestringyesSCREAMING_SNAKE_CASE. The machine-branchable refusal, and the value a policy rule, a retry predicate and a UI branch all name.
detailstringnoHuman-readable and specific to THIS occurrence.
errorsarray of ProblemFieldIssueDtonoField-level issues, when the refusal is about the request body.
instancestringnoURI reference identifying the occurrence — a request path, a run, a row.
paramsmap of string or number or booleannoSafe i18n interpolation values for the message keyed by code — typed and allowlisted per code by its declaration. Never server-authored copy, never internal diagnostics.
retryProblemRetrynoWhat a retry can achieve: transient (later, unchanged), after-change (only after someone changes something), never (a defect until a fixed version ships). ABSENT when not known.
statusnumberyesThe HTTP status code, repeated in the body so a logged document is self-contained.
titlestringyesShort, human-readable, and STABLE for a given type. Never per-occurrence — that is detail.
traceIdstringnoW3C trace-context trace-id, present when the caller sent a traceparent. Omitted rather than invented when it did not.
typestringyesAbsolute URI identifying the refusal TYPE. Derived one-to-one from code, so a caller may branch on either and can never be told two different things. Never about:blank.

ProblemFieldIssueDto

PropertyTypeRequiredDescription
codestringnoSCREAMING_SNAKE_CASE code of THIS issue, for a frontend i18n key. Present when the issue was minted by a declared problem.
detailstringyesProse for logs and developers. A frontend localises from code + params instead.
paramsmap of string or number or booleannoSafe i18n interpolation values for this issue's code.
pointerstringyesRFC 6901 JSON Pointer into the request body. Root is "/".

ProblemRetry

What a retry can achieve: transient (later, unchanged), after-change (only after someone changes something), never (a defect until a fixed version ships). ABSENT when not known.

Type: one of "transient", "after-change", "never"

PublishRuntimeProfileDto

PropertyTypeRequiredDescription
expectedDraftIdstringyes
idempotencyKeystringyes

PublishRuntimeProfileResponseDto

PropertyTypeRequiredDescription
reusedbooleanyes
revisionRuntimeProfileRevisionResponseDtoyes

PublishRuntimeProfileResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataPublishRuntimeProfileResponseDtoyes

RestoreRuntimeProfileRevisionDto

PropertyTypeRequiredDescription
expectedDraftIdstring or nullyes

RetireRuntimeProfileDto

Type: object

RollbackRuntimeProfileDto

PropertyTypeRequiredDescription
priorReleaseSetIdstringyes

RuntimeProfileDraftResponseDto

PropertyTypeRequiredDescription
baseRevisionIdstring or nullno
contentobjectyes
draftIdstringyes
resourceIdstringyes
restoredFromRevisionIdstring or nullno
updatedAtstring (date-time)yes
updatedByRuntimeProfileSubjectRefResponseDtoyes

RuntimeProfileDraftResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of RuntimeProfileDraftResponseDtoyes

RuntimeProfileDraftResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataRuntimeProfileDraftResponseDtoyes

RuntimeProfileIdentityFieldsResponseDto

PropertyTypeRequiredDescription
createdAtstring (date-time)yes
createdByRuntimeProfileSubjectRefResponseDtoyes
ownerSpaceRefRuntimeProfileOwnerSpaceRefResponseDtoyes
resourceIdstringyes
resourceKindone of "runtime-profile"yes
slugstringyes

RuntimeProfileOwnerSpaceRefResponseDto

PropertyTypeRequiredDescription
fenceone of "global", "tenant"yes
orgIdstring or nullno
spaceobjectyes

RuntimeProfilePointersResponseDto

PropertyTypeRequiredDescription
draftIdstring or nullno
resourceIdstringyes

RuntimeProfileReleaseHistoryResponseDto

PropertyTypeRequiredDescription
actorClientIdstringyes
channelone of "stable"yes
channelVersionnumberyes
createdAtstring (date-time)yes
operationone of "promote", "rollback", "retire"yes
reasonstringyes
releaseSetIdstringyes
retiredbooleanyes
rollbackOfReleaseSetIdstringno
targetRuntimeProfileReleaseTargetResponseDtoyes

RuntimeProfileReleaseHistoryResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of RuntimeProfileReleaseHistoryResponseDtoyes

RuntimeProfileReleaseSelectorResponseDto

PropertyTypeRequiredDescription
contentHashstring (sha256)yes
kindone of "exact"yes
revisionIdstringyes

RuntimeProfileReleaseTargetResponseDto

PropertyTypeRequiredDescription
resourceIdstringyes
resourceKindone of "runtime-profile"yes
selectorRuntimeProfileReleaseSelectorResponseDtoyes

RuntimeProfileResponseDto

PropertyTypeRequiredDescription
identityRuntimeProfileIdentityFieldsResponseDtoyes
pointersRuntimeProfilePointersResponseDtoyes

RuntimeProfileResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of RuntimeProfileResponseDtoyes

RuntimeProfileResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataRuntimeProfileResponseDtoyes

RuntimeProfileRevisionResponseDto

PropertyTypeRequiredDescription
contentobjectyes
contentHashstring (sha256)yes
createdAtstring (date-time)yes
createdByRuntimeProfileSubjectRefResponseDtoyes
idempotencyKeystringyes
ownerSpaceRefRuntimeProfileOwnerSpaceRefResponseDtoyes
resourceIdstringyes
restoredFromRevisionIdstring or nullno
revisionIdstringyes
sequencenumberyes

RuntimeProfileRevisionResponseDtoDataArrayEnvelope

PropertyTypeRequiredDescription
dataarray of RuntimeProfileRevisionResponseDtoyes

RuntimeProfileRevisionResponseDtoDataEnvelope

PropertyTypeRequiredDescription
dataRuntimeProfileRevisionResponseDtoyes

RuntimeProfileSubjectRefResponseDto

PropertyTypeRequiredDescription
idstringyes
kindstringyes

SaveRuntimeProfileDraftDto

PropertyTypeRequiredDescription
contentobjectyes
expectedDraftIdstring or nullyes