Skip to content

getAllItems

getAllItems(page, queryType, itemType, creatorAppId, consumerAppId, queryConfig?): Promise<WorkshopPaginatedResult>

Queries one page of all Workshop items that match the given type, ranking and app ids. The query runs through the Steam client, so a running Steam client is needed. Whether a logged-in account is also required is unverified against a live Steam client.

Resolves with items for this page, returnedResults (the number of entries on this page), totalResults (the matches across all pages) and wasCached. Entries are null where Steam returned no record. To read everything, keep requesting pages while the collected count is below totalResults and the last page returned items. The page size is set by Steam; the README and the skill give 50 per page, unverified against a live Steam client. Rejects when the query cannot be created or Steam returns an error.

number

the page to read, passed to Steam as given; the first page index is unverified against a live Steam client

UGCQueryType

the ranking and filter of the query, a UGCQueryType value such as RankedByPublicationDate

UGCType

the kind of item to list, a UGCType value such as Items

number

the app id that created the items

number

the app id that uses the items; Steam filters by both app ids

WorkshopItemQueryConfig | null

optional query options; see WorkshopItemQueryConfig. Omitted, no options are set.

Promise<WorkshopPaginatedResult>

the page of items with returnedResults, totalResults and wasCached

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.