updateItem
updateItem(
itemId,updateDetails,appId?):Promise<UgcResult>
Updates an existing Workshop item on Steam. Every field of updateDetails is optional: a field
that is left out keeps the item’s current value, so a call with only previewPath changes only
the preview. The fields are checked first, and a bad YouTube video id or a string with a NUL byte
rejects with the entry named, before anything is sent.
Once submitted, the change is applied to the item on Steam and cannot be cancelled. A running, logged-in Steam client is needed.
Resolves with the item id and needsToAcceptAgreement. Rejects when the update cannot be started,
when Steam returns an error, or when no completion arrives; in that last case the outcome is
unknown, so read the item before retrying.
Parameters
Section titled “Parameters”itemId
Section titled “itemId”bigint
the Workshop item to update (its published file id)
updateDetails
Section titled “updateDetails”the fields to change; see UgcUpdate
appId?
Section titled “appId?”number | null
defaults to the app id the client was initialized with
Returns
Section titled “Returns”Promise<UgcResult>
the item id and whether the account still has to accept the Workshop legal agreement
Turn ideas into shipped software.
HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.
- Smart
- OpenSpec workflows turn intent into a path from proposal to shipped change.
- Efficient
- Multi-agent execution runs research, build, and review in parallel.
- Fun
- Rich UI interactions make planning, agent work, and projects easier to follow.
© 2026 HagiCode | Powered By hagilight-starlight@0.23.0 | Branch: main | Commit: 7164ec7 | Built:
