# Get company assets The endpoint is used to get all company assets. Endpoint: GET /v2/assets Version: 2 Security: bearer ## Query parameters: - `limit` (number) Number of records to return in the response - `sortBy` (string) Name of the field to sort by Enum: "name", "type", "insert_ts" - `sortDirection` (string) The direction of the field sort specified by sort_by Enum: "ASC", "asc", "1", "DESC", "desc", "-1" - `next_token` (string) Token received from a previous request to obtain the next chunk of data - `fields` (array) Asset will only contain specified fields (all if none) Enum: "name", "insert_ts", "type", "is_up", "location", "domains", "ips", "asset_lifecycle", "dispute_status", "id", "discovery_origin", "segments" - `name` (array) Name of the asset - `type` (array) Asset type Enum: "DOMAIN", "SUBDOMAIN", "IP", "IP_RANGE", "domain", "subdomain", "ip", "ip_range" - `is_up` (boolean) Is the asset active or not - `segments` (array) Ids of the segments ## Response 200 fields (application/json): - `type` (string, required) Enum: "DOMAIN", "SUBDOMAIN", "IP", "IP_RANGE" - `is_up` (boolean, required) Is the asset active or not - `location` (string, required) The asset location, two letter country code - `domains` (array,null) List of domains corresponding with the asset. Only for assets of type IP - `ips` (array,null) List of ips corresponding with the asset. Only for assets of type DOMAIN or SUBDOMAIN - `asset_lifecycle` (string, required) Assets Lifecycle - `dispute_status` (string, required) Dispute status - `discovery_origin` (string, required) Asset discovery origin - `name` (string, required) - `insert_ts` (string, required) ## Response 401 fields ## Response 403 fields ## Response 429 fields