Get a group
GET
/groups/{id}
const url = 'https://localhost:3000/api/v1/groups/example';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:3000/api/v1/groups/example \ --header 'Authorization: <Authorization>'Returns details of a specific group with trigger and event counts. Personal groups belong to their owner; tenant groups are readable by any tenant member (tenant:read:
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Group ID (UUID)
Responses
Section titled “Responses”Group details
Media typeapplication/json
object
color
required
string
created_at
required
string format: date-time
icon
required
string
id
required
string format: uuid
name
required
string
owner_id
required
string format: uuid
owner_name
Organization name, only set by owner=all
string
owner_type
required
string
total_events
required
integer
trigger_count
required
integer
updated_at
required
string format: date-time
Example
{ "owner_name": "Acme"}Invalid group ID
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}Unauthorized
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}Credential lacks tenant:read:
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}Group not found or not accessible
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}Internal error
Media typeapplication/json
object
error
required
string
message
string
Example
{ "error": "invalid_request", "message": "Invalid request body"}