Get group details
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/groups/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/groups/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/groups/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 123,
"name": "<string>",
"category": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user_role": "<string>",
"members_count": 123
}User Groups
Get group details
Retrieve the details of a group you are member of.
Members are not included in the response — use the dedicated /groups/{id}/members endpoint to retrieve them.
Returns the user’s user_role (their highest role in the group) and the members_count (number of members).
GET
/
api
/
v3
/
groups
/
{id}
Get group details
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/groups/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/groups/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/groups/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 123,
"name": "<string>",
"category": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user_role": "<string>",
"members_count": 123
}Authorizations
Response
Group details
GET /api/v3/groups (list) and GET /api/v3/groups/{id} (retrieve).
A single group the authenticated user is a member of (private groups never appear). The members themselves are exposed by the dedicated members endpoint.