Skip to content

getItems

getItems(items, queryConfig?): Promise<WorkshopItemsResult>

Gets several Workshop items in one query. 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 and wasCached. items has one entry per record Steam returned, and an entry is null where Steam returned no record. The entries are not matched back to the input ids, so use each item’s publishedFileId to match them. Rejects when the query cannot be created or Steam returns an error.

bigint[]

the published file ids to read

WorkshopItemQueryConfig | null

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

Promise<WorkshopItemsResult>

items, and wasCached for whether the answer came from Steam’s cache

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.