---
agentTools:
  projectIndex: https://seafile-api.readme.io/llms.txt
---

# Get info of a group

Get the specific information of one group by its ID.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Account Operations - User",
    "description": "The official SeaTable API Reference (OpenAPI 3.0). - Part 'User Account Operations'.",
    "version": "13.0"
  },
  "servers": [
    {
      "url": "https://{server}",
      "variables": {
        "server": {
          "default": "cloud.seafile.com"
        }
      }
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "metrics-enabled": false,
    "proxy-enabled": false
  },
  "components": {
    "securitySchemes": {
      "AccountTokenAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This is the [Account-Token](/reference/authentication)."
      }
    },
    "parameters": {
      "avatar_size": {
        "name": "avatar_size",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer"
        },
        "example": 72
      },
      "group_id": {
        "name": "group_id",
        "in": "path",
        "description": "The unique identifier of a group",
        "required": true,
        "schema": {
          "type": "integer"
        }
      }
    }
  },
  "paths": {
    "/api/v2.1/groups/{group_id}/": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get info of a group",
        "description": "Get the specific information of one group by its ID.",
        "security": [
          {
            "AccountTokenAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/group_id"
          },
          {
            "$ref": "#/components/parameters/avatar_size"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Group information",
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "parent_group_id": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "owner": {
                      "type": "string"
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "avatar_url": {
                      "type": "string"
                    },
                    "admins": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "group_quota_usage": {
                      "type": "integer"
                    }
                  },
                  "example": {
                    "id": 3479,
                    "parent_group_id": 0,
                    "name": "group",
                    "owner": "77a423e4804a4d7ca1ec78a150d71229@auth.local",
                    "created_at": "2024-03-11T15:41:55+08:00",
                    "avatar_url": "https://cloud.seafile.com/media/avatars/groups/default.png",
                    "admins": [
                      "77a423e4804a4d7ca1ec78a150d71229@auth.local"
                    ],
                    "group_quota_usage": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 183,
      "2": 248,
      "3": 230,
      "4": 103,
      "5": 20,
      "6": 160,
      "7": 0,
      "8": 41,
      "9": 50,
      "10": 176,
      "11": 71
    }
  }
}
```