Skip to content

getUserItems

getUserItems(page, accountId, listType, itemType, sortOrder, appIds, queryConfig?): Promise<WorkshopPaginatedResult>

Queries one page of the Workshop items related to one user, such as their published, subscribed or favorited items. 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 the same fields as getAllItems: items for this page, returnedResults, totalResults and wasCached. Entries are null where Steam returned no record. Paging works as described for getAllItems. 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

number

the 32-bit account id of the user (the lower 32 bits of their SteamID64)

UserListType

which list to read, a UserListType value such as Published or Subscribed

UGCType

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

UserListOrder

the order of the list, a UserListOrder value such as LastUpdatedDesc

AppIDs

the creator and consumer app ids; a missing one is sent as 0, and what Steam does with 0 is unverified

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.