Skip to content

Commit 17895a4

Browse files
committed
Add /api/v2.1/org/{org_id}/admin/python-runs/ endpoint
1 parent 35ad808 commit 17895a4

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

team_admin_account_operations.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,6 +2213,52 @@ paths:
22132213
22142214
warnings: null
22152215
total_count: 2
2216+
/api/v2.1/org/{org_id}/admin/python-runs/:
2217+
get:
2218+
tags:
2219+
- Activities & Logs
2220+
summary: List Python Runs
2221+
operationId: listPythonRuns
2222+
description: Returns a list of python runs inside a specific team.
2223+
security:
2224+
- AccountTokenAuth: []
2225+
parameters:
2226+
- $ref: "#/components/parameters/dtable_uuid"
2227+
name: base_uuid
2228+
- $ref: "#/components/parameters/start"
2229+
- $ref: "#/components/parameters/end"
2230+
- $ref: "#/components/parameters/page"
2231+
- $ref: "#/components/parameters/per_page"
2232+
responses:
2233+
"200":
2234+
description: OK
2235+
content:
2236+
application/json:
2237+
schema:
2238+
type: object
2239+
example:
2240+
runs:
2241+
- dtable_uuid: 306acc83-5305-45b4-b34b-528f6f51d7b8
2242+
finished_at: "2026-01-06T11:57:11+01:00"
2243+
id: 3,
2244+
operate_from: manualy
2245+
2246+
return_code: 0,
2247+
script_name: DDx0.py
2248+
started_at: "2026-01-06T11:57:10+01:00"
2249+
success: true
2250+
script_display_name: "Hello World"
2251+
- dtable_uuid: 149cd597-dcbc-4e2a-8344-91651a1b4853
2252+
finished_at: "2026-01-06T12:11:18+01:00"
2253+
id: 4
2254+
operate_from: manualy
2255+
2256+
return_code: 0
2257+
script_name: O60m.py
2258+
started_at: "2026-01-06T12:11:18+01:00"
2259+
success: true
2260+
script_display_name: "Base 2 Script"
2261+
total_count: 2
22162262

22172263
# Statistics
22182264
/api/v2.1/org/{org_id}/admin/statistics/admin-logs/by-day/:

0 commit comments

Comments
 (0)