> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: WorkshopAPI
icon: braces
---

# <ApiPageIcon icon="braces" />WorkshopAPI

## panorama.WorkshopAPI<ApiTag label="object type" />

JavaScript global object `WorkshopAPI`, reached from Lua as `panorama.WorkshopAPI`. Call its members with a dot.

<ApiMembers>
  <ApiMember kind="fn" name="panorama.WorkshopAPI.GetAvailableWorkshopMaps" args="...?" sig="[{&#x22;s&#x22;:&#x22;panorama.WorkshopAPI.GetAvailableWorkshopMaps&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;[&#x22;},{&#x22;s&#x22;:&#x22;...&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;any&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;},{&#x22;s&#x22;:&#x22;]&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;...&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;any&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;}],&#x22;o&#x22;:true}]" />

  <ApiMember kind="fn" name="panorama.WorkshopAPI.QueryUGCItemSubscriptions" args="" sig="[{&#x22;s&#x22;:&#x22;panorama.WorkshopAPI.QueryUGCItemSubscriptions&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" />

  <ApiMember kind="fn" name="panorama.WorkshopAPI.RemoveInstalledItem" summary="Mark an installed (unsubscribed) workshop item as unused so Steam deletes it" args="arg1" sig="[{&#x22;s&#x22;:&#x22;panorama.WorkshopAPI.RemoveInstalledItem&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;arg1&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;string&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#string&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;arg1&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;string&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#string&#x22;}]}]" />

  <ApiMember kind="fn" name="panorama.WorkshopAPI.UnsubscribeItem" summary="Unsubscribe from a workshop item" args="arg1" sig="[{&#x22;s&#x22;:&#x22;panorama.WorkshopAPI.UnsubscribeItem&#x22;},{&#x22;s&#x22;:&#x22;(&#x22;},{&#x22;s&#x22;:&#x22;arg1&#x22;},{&#x22;s&#x22;:&#x22;: &#x22;},{&#x22;s&#x22;:&#x22;string&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#string&#x22;},{&#x22;s&#x22;:&#x22;)&#x22;}]" params="[{&#x22;n&#x22;:&#x22;arg1&#x22;,&#x22;t&#x22;:[{&#x22;s&#x22;:&#x22;string&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#string&#x22;}]}]" />
</ApiMembers>
