TheDocumentation Index
Fetch the complete documentation index at: https://swc-sdk.zeltros.dev/llms.txt
Use this file to discover all available pages before exploring further.
client.inventory resource lets you list and inspect entities — ships, vehicles, facilities, items, NPCs, and more — that belong to a character or a faction. The uid parameter on every method accepts either a character UID (e.g. 1:12345) or a faction UID (e.g. 20:123); the SDK does not have a separate client.faction.entities accessor — faction-owned entities are queried through this resource.
inventory.get()
Get inventory summary by UID. Returns the inventory summary object directly — not wrapped in aPage.
Accepts either a character UID or a faction UID.
The uid parameter.
Entities
inventory.entities.addTag()
Add tag to entityThe entityType parameter.
The tag parameter.
The uid parameter.
inventory.entities.get()
Get a specific inventory entity by type and UID. Returns theEntity object directly — not wrapped in a Page.
The entityType parameter.
The uid parameter.
inventory.entities.list()
List entities in inventory (paginated with optional filtering) Supports filtering by various entity properties. Filter arrays must have matching lengths. Theuid argument accepts either a character UID (e.g. 1:12345) or a faction UID
(e.g. 20:123) — there is no separate client.faction.entities accessor; faction-owned
entities are queried through this method.
Assignment type: ‘owner’, ‘commander’, or ‘pilot’
Entity type: ‘ships’, ‘vehicles’, ‘stations’, ‘cities’, ‘facilities’, ‘planets’, ‘items’, ‘npcs’, ‘droids’, ‘creatures’, or ‘materials’
Whether each filter should include or exclude matches. Default: ‘includes’
Filter types to apply to the query
Values corresponding to each filter type
Number of items to retrieve. Default: 50, Max: 200
Milliseconds to wait before fetching each subsequent page. Helps avoid rate limits during auto-pagination.
Starting position for pagination (1-based). Default: 1
The uid parameter.
inventory.entities.removeAllTags()
Remove all tags from entityThe entityType parameter.
The uid parameter.
inventory.entities.removeTag()
Remove tag from entityThe entityType parameter.
The tag parameter.
The uid parameter.
inventory.entities.updateProperty()
Update entity propertyEntity type (ships, vehicles, stations, etc.)
New value for the property
property
'name' \| 'owner' \| 'infotext' \| 'commander' \| 'pilot' \| 'open-to' \| 'action' \| 'crewlist-add' \| 'crewlist-remove' \| 'crewlist-clear'
required
Property to update
Optional reason for the change
Entity UID
Related resources
Character
Access the character who owns or pilots these entities.
Faction
Access the faction whose entities you are listing.
Types
Look up entity type details and stats.
Location
Look up entity locations.