Skip to main content
GET
List organization asset groups

Overview

List all asset groups belonging to your organization. Asset groups help you organize your assets by category, project, or purpose. Each group includes a count of assigned assets for easy inventory management.

Quick Start

Authentication

Include your API key in the X-API-KEY header:

Example Request

Response

Success Response

Response Fields

Error Responses

401 Unauthorized

Returned when the API key is missing, invalid, or doesn’t have organization access:

Use Cases

Display Group Statistics

Find Group by Name

Identify Empty Groups

Build Group Selector UI

Export Group Summary

Monitor Group Growth

Best Practices

Caching

  • Cache group lists when building UI dropdowns to reduce API calls
  • Invalidate cache when groups are created, updated, or deleted
  • Consider a cache TTL of 5-10 minutes for typical use cases

Performance

  • This endpoint returns all groups in a single request (no pagination needed)
  • Groups are typically small in number (< 100 for most organizations)
  • Use this endpoint to build lookup tables for group ID to name mappings

Integration

Notes

  • Organization is automatically determined from your API key
  • All groups belonging to your organization are returned in a single response
  • The assetCount reflects the current number of assets assigned to each group
  • Groups with zero assets are still included in the response
  • Group IDs are unique within your organization
  • This endpoint does not support pagination as the number of groups is typically small

Authorizations

X-API-KEY
string
header
required

Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.

Response

Successful response

groups
object[]
required