Docs

Docs

x-cpod-domain: assets

Assets

Physical and cloud assets in the inventory.

Try in explorer client.assets · client.cloudResources

PhysicalAsset

A tracked physical asset (laptop, monitor, IoT device).

REST path/api/v1/physical-assets
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.assets.physicalAssets.list()

// create:
await client.assets.physicalAssets.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  app_id: "example app_id",
  created_by: "rec_01HXEXAMPLE",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
asset_tagstringEnterprise inventory asset tag — the physical or logical label affixed to or associated with the device by IT.
namestringHuman-readable name or hostname for the device.
serial_numberstringManufacturer serial number of the device. Used for warranty lookups and insurance claims.
modelstringManufacturer model name or product line.
manufacturerstringName of the device manufacturer.
typestringHardware category of this physical asset.
statusstringCurrent operational status. 'lost_stolen' assets should trigger immediate security review of associated accounts.
assigned_tojsonCurrent assignment details for this device.
purchase_datedate-timeDate on which this device was purchased by the enterprise.
purchase_costjsonOriginal purchase cost of this device.
warranty_expirydate-timeDate on which the manufacturer or extended warranty expires.
osjsonOperating system installed on this device.
managed_bystringName of the MDM or endpoint management tool currently managing this device (e.g. 'Jamf Pro', 'Microsoft Intune', 'CrowdStrike Falcon').
last_seen_atdate-timeISO 8601 timestamp of the last check-in or heartbeat received from this device by the MDM system. Set by the platform during sync.

CloudResource

A cloud resource discovered or managed (EC2, S3, GKE node).

REST path/api/v1/cloud-resources
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.assets.cloudResources.list()

// create:
await client.assets.cloudResources.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  app_id: "example app_id",
  created_by: "rec_01HXEXAMPLE",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
external_idstringNative cloud provider resource identifier (e.g. EC2 instance ID 'i-0a1b2c3d4e5f67890', Azure resource ID, GCP resource name).
providerstringCloud provider hosting this resource.
account_idstringCloud provider account or subscription ID where this resource resides.
regionstringCloud provider region where this resource is located.
resource_typestringCloud provider resource type in dot-notation format (e.g. 'ec2.instance', 's3.bucket', 'rds.instance', 'lambda.function', 'azure.vm', 'gcp.compute.instance').
resource_namestringHuman-readable name or tag-based name of this cloud resource. May be the 'Name' tag value for AWS resources.
arnstringAmazon Resource Name (ARN) for AWS resources. Null for non-AWS resources.
statusstringCurrent operational state of the cloud resource as reported by the cloud provider.
asset_iduuidUUID of the TechnologyAsset this CloudResource is part of or implements. Links infrastructure-level resources to business-level asset records.
tagsjsonCloud provider tags applied to this resource as key-value pairs. Synced directly from the cloud provider.
costjsonEstimated monthly cost for this cloud resource based on cloud provider billing data.