Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions system_admin_account_operations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,23 @@ components:
type: boolean
example: "false"
description: Set this to `true` to export the base without assets. Default is `false`.
group_by:
name: group_by
in: query
schema:
type: string
enum: [owner, org_id]
required: true
description: Query by owner or organization
example: "owner"
date_YYYY_MM_DD:
name: date
in: query
schema:
type: string
required: true
description: A date string in YYYY-MM-DD format
example: "2025-01-01"

#=======================Path parameters=======================#
base_uuid:
Expand Down Expand Up @@ -468,6 +485,9 @@ components:
asset_quota_mb:
type: string
description: The asset quota in MB.
automation_limit_per_month:
type: integer
description: Monthly limit on the number of automated rules
file:
type: string
format: binary
Expand Down Expand Up @@ -808,6 +828,8 @@ paths:
$ref: "#/components/schemas/quota_total"
asset_quota_mb:
$ref: "#/components/schemas/asset_quota_mb"
automation_limit_per_month:
$ref: "#/components/schemas/automation_limit_per_month"
security:
- AccountTokenAuth: []
parameters:
Expand All @@ -834,6 +856,7 @@ paths:
create_time: "2020-11-18T12:30:31+00:00"
role: default
update_status_tip: ""
automation_limit_per_month: 1000
delete:
tags:
- Users
Expand Down Expand Up @@ -1969,6 +1992,8 @@ paths:
$ref: "#/components/schemas/max_user_number"
asset_quota_mb:
$ref: "#/components/schemas/asset_quota_mb"
automation_limit_per_month:
$ref: "#/components/schemas/automation_limit_per_month"
security:
- AccountTokenAuth: []
parameters:
Expand All @@ -1995,6 +2020,7 @@ paths:
max_user_number: 3
rows_count: 7185
row_limit: -1
automation_limit_per_month: 1000
get:
tags:
- Teams
Expand Down Expand Up @@ -4096,6 +4122,51 @@ paths:
latest_visit_at: "2022-07-02T14:09:37+00:00"
org_name: SeaTable GmbH
count: 1
/api/v2.1/admin/statistics/ai/:
get:
tags:
- Statistics
summary: Get AI statistics by owner/team
operationId: getOwnerOrTeamAIStatistics
description: Get AI usage statistics monthly by owner/team.
security:
- AccountTokenAuth: []
parameters:
- $ref: "#/components/parameters/group_by"
- $ref: "#/components/parameters/date_YYYY_MM_DD"
- $ref: "#/components/parameters/page"
- $ref: "#/components/parameters/per_page"
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
examples:
group_by_owner:
summary: Query group by owner
value:
results:
- org_id: 176
org_name: SeaTable
owner: 1@seafile_group
group_name: group-11
total_cost: 0.25
is_department_v2_group: false
- org_id: 176
org_name: SeaTable
owner: [email protected]
nickname: test
count: 2
group_by_team:
summary: Query group by organization
value:
results:
- org_id: 176
org_name: SeaTable
total_cost: 0.25
count: 1

# Maintenance
/api/v2.1/admin/dtable/{base_uuid}/repair/:
Expand Down
Loading