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.
string
required
The uid parameter.
Entities
inventory.entities.addTag()
Add tag to entitystring
required
The entityType parameter.
string
required
The tag parameter.
string
required
The uid parameter.
inventory.entities.get()
Get a specific inventory entity by type and UID. Returns the entity object directly — not wrapped in aPage. The return type
is narrowed by entityType, so entityType: 'npcs' yields an NpcEntityDetail
with race, gender and level.
T
required
Entity type: ‘ships’, ‘vehicles’, ‘stations’, ‘cities’, ‘facilities’, ‘planets’, ‘items’, ‘npcs’, ‘droids’, ‘creatures’, or ‘materials’
string
required
Entity UID, e.g. “2:283”
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.
InventoryAssignType
required
Assignment type: ‘owner’, ‘commander’, or ‘pilot’
T
required
Entity type: ‘ships’, ‘vehicles’, ‘stations’, ‘cities’, ‘facilities’, ‘planets’, ‘items’, ‘npcs’, ‘droids’, ‘creatures’, or ‘materials’
**filter\_inclusion**: InventoryFilterInclusion[]
Whether each filter should include or exclude matches. Default: ‘includes’
**filter\_type**: InventoryFilterType[]
Filter types to apply to the query
**filter\_value**: string[]
Values corresponding to each filter type
**item\_count**: number
default:"50"
Number of items to retrieve. Default: 50, Max: 200
number
Milliseconds to wait before fetching each subsequent page. Helps avoid rate limits during auto-pagination.
**start\_index**: number
default:"1"
Starting position for pagination (1-based). Default: 1
string
required
The uid parameter.
inventory.entities.removeAllTags()
Remove all tags from entitystring
required
The entityType parameter.
string
required
The uid parameter.
inventory.entities.removeTag()
Remove tag from entitystring
required
The entityType parameter.
string
required
The tag parameter.
string
required
The uid parameter.
inventory.entities.updateProperty()
Update entity propertystring
required
Entity type (ships, vehicles, stations, etc.)
string
required
New value for the property
'name' \| 'owner' \| 'commander' \| 'pilot' \| 'infotext' \| 'open-to' \| 'action' \| 'crewlist-add' \| 'crewlist-remove' \| 'crewlist-clear'
required
Property to update
string
Optional reason for the change
string
required
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.