POST
/
v2
/
groups
Create Group
curl --request POST \
  --url https://api.galileo.ai/v2/groups \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "visibility": "public",
  "users": []
}'
{
  "id": "<string>",
  "permissions": [],
  "name": "<string>",
  "description": "<string>",
  "visibility": "public",
  "size": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "role": "maintainer"
}

Authorizations

Galileo-API-Key
string
header
required

Body

application/json
name
string
required
Required string length: 1 - 128
description
string | null
visibility
enum<string>
Available options:
public,
private,
hidden,
protected
users
GroupMemberCreate · object[]

Response

Successful Response

id
string<uuid4>
required
name
string
required
Required string length: 1 - 128
size
integer
required
created_at
string<date-time>
required
permissions
Permission · object[]
description
string | null
visibility
enum<string>
Available options:
public,
private,
hidden,
protected
role
enum<string> | null

The role of the current user in the group.

Available options:
maintainer,
member,
pending