steamworks-workshop-query
Read-only. Nothing here changes the account, the Workshop, or local files. Complete the setup in steamworks-js first.
Calls (from the installed typings)
Section titled “Calls (from the installed typings)”workshop.getItem(publishedFileId, config?): one item, ornull.workshop.getItems(ids[], config?): a batch of ids; returnsitemsandwasCached.workshop.getAllItems(page, queryType, itemType, creatorAppId, consumerAppId, config?): the general query.queryTypeanditemTypeare theUGCQueryTypeandUGCTypeconst enums.workshop.getUserItems(page, accountId, listType, itemType, sortOrder, appIds, config?): items for one user.appIdstakes{ creator?, consumer? }.workshop.getAppDependencies(itemId): the apps an item requires, as{ result, appIds, totalAppDependencies }. IfappIdsis shorter thantotalAppDependencies, the list is incomplete; report that instead of treating it as the full list. Paging is unverified against a live client.workshop.getUserItemVote(itemId): the logged-in user’s vote, as{ votedUp, votedDown, skipped }. It reads the account’s state, not the item’s, so say whose vote it is when you report it.
Query config
Section titled “Query config”Useful fields on WorkshopItemQueryConfig: requiredTags, excludedTags, matchAnyTag, searchText, rankedByTrendDays, language, includeMetadata, includeLongDescription, includeAdditionalPreviews, onlyIds, onlyTotal, cachedResponseMaxAge, returnChildren.
returnChildren: truefillschildren(the ids of the item’s required items,bigint) andnumChildrenis the count; without itchildrenis absent. This is how the current dependencies of an item are read; changing them belongs tosteamworks-workshop-update.- Use
onlyTotaloronlyIdswhen you only need counts or ids; they are cheaper. - Paginated results carry
returnedResults,totalResultsandwasCached. Loop pages until the collected count reachestotalResultsor a page returns no items.
- Confirm the AppID (
creatorAppId/consumerAppId) with the user. Results for the wrong AppID look valid but are for another game. - Start with
onlyTotalto size the result. Then page through with a fixed page size. - Treat
undefinedornullentries initemsas missing, not as errors to hide. Report how many were missing. - Report the query used (AppID, filters, page range) next to the results, so the list can be reproduced.
Limits to confirm
Section titled “Limits to confirm”Steam documents a per-page maximum (the plan states 50). Confirm this against the Steamworks documentation or a live query before relying on it. The first page index is also unconfirmed here; check the typings’ doc comments before paging.
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:
