Skip to content

Commit e6b87ac

Browse files
remove admin
1 parent 9ada070 commit e6b87ac

1 file changed

Lines changed: 1 addition & 147 deletions

File tree

openapi.yaml

Lines changed: 1 addition & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -3281,11 +3281,6 @@ paths:
32813281
description: Get a list of evaluation jobs with optional filtering
32823282
operationId: evaluations-list
32833283
parameters:
3284-
- name: userId
3285-
in: query
3286-
description: Filter by user ID (admin only)
3287-
schema:
3288-
type: string
32893284
- name: status
32903285
in: query
32913286
description: Filter by job status
@@ -3484,127 +3479,6 @@ paths:
34843479
schema:
34853480
$ref: '#/components/schemas/ErrorData'
34863481

3487-
/privileged/evaluation/admin:
3488-
get:
3489-
tags: ['Admin']
3490-
summary: Admin endpoint for querying evaluation jobs
3491-
description: Advanced admin endpoint for querying evaluation jobs with extensive filtering options
3492-
operationId: admin-evaluations-list
3493-
parameters:
3494-
- name: email
3495-
in: query
3496-
description: Filter by user email
3497-
schema:
3498-
type: string
3499-
- name: user_id
3500-
in: query
3501-
description: Filter by user ID
3502-
schema:
3503-
type: string
3504-
- name: id
3505-
in: query
3506-
description: Filter by evaluation job ID
3507-
schema:
3508-
type: string
3509-
- name: type
3510-
in: query
3511-
description: Filter by job types (comma-separated)
3512-
schema:
3513-
type: string
3514-
example: "score,compare,classify"
3515-
- name: status
3516-
in: query
3517-
description: Filter by job statuses (comma-separated)
3518-
schema:
3519-
type: string
3520-
example: "completed,error"
3521-
- name: start_date
3522-
in: query
3523-
description: Filter by start date (ISO 8601 format)
3524-
schema:
3525-
type: string
3526-
format: date-time
3527-
- name: end_date
3528-
in: query
3529-
description: Filter by end date (ISO 8601 format)
3530-
schema:
3531-
type: string
3532-
format: date-time
3533-
- name: sort_field
3534-
in: query
3535-
description: Field to sort by
3536-
schema:
3537-
type: string
3538-
enum: [created_at, updated_at, type, status]
3539-
default: created_at
3540-
- name: order
3541-
in: query
3542-
description: Sort order
3543-
schema:
3544-
type: string
3545-
enum: [asc, desc]
3546-
default: desc
3547-
- name: page
3548-
in: query
3549-
description: Page number for pagination
3550-
schema:
3551-
type: integer
3552-
minimum: 1
3553-
default: 1
3554-
- name: page_size
3555-
in: query
3556-
description: Number of results per page
3557-
schema:
3558-
type: integer
3559-
minimum: 1
3560-
maximum: 100
3561-
default: 20
3562-
- name: time_out
3563-
in: query
3564-
description: Database query timeout in seconds
3565-
schema:
3566-
type: integer
3567-
minimum: 1
3568-
default: 30
3569-
responses:
3570-
'200':
3571-
description: Successful response
3572-
content:
3573-
application/json:
3574-
schema:
3575-
type: object
3576-
properties:
3577-
evaluations:
3578-
type: array
3579-
items:
3580-
$ref: '#/components/schemas/EvaluationJob'
3581-
total:
3582-
type: integer
3583-
description: Total number of matching records
3584-
page:
3585-
type: integer
3586-
description: Current page number
3587-
page_size:
3588-
type: integer
3589-
description: Number of results per page
3590-
'400':
3591-
description: Bad request
3592-
content:
3593-
application/json:
3594-
schema:
3595-
$ref: '#/components/schemas/ErrorData'
3596-
'403':
3597-
description: Forbidden - admin access required
3598-
content:
3599-
application/json:
3600-
schema:
3601-
$ref: '#/components/schemas/ErrorData'
3602-
'500':
3603-
description: Internal server error
3604-
content:
3605-
application/json:
3606-
schema:
3607-
$ref: '#/components/schemas/ErrorData'
36083482
components:
36093483
securitySchemes:
36103484
bearerAuth:
@@ -6961,32 +6835,12 @@ components:
69616835
A_wins:
69626836
type: integer
69636837
description: Number of times model A won
6964-
A_pct:
6965-
type: number
6966-
format: float
6967-
description: Percentage of model A wins
69686838
B_wins:
69696839
type: integer
69706840
description: Number of times model B won
6971-
B_pct:
6972-
type: number
6973-
format: float
6974-
description: Percentage of model B wins
69756841
Ties:
69766842
type: integer
69776843
description: Number of ties
6978-
Tie_pct:
6979-
type: number
6980-
format: float
6981-
description: Percentage of ties
6982-
final_decisions:
6983-
type: array
6984-
items:
6985-
type: string
6986-
description: Decision for each comparison
6987-
incomplete_decisions:
6988-
type: integer
6989-
description: Number of incomplete comparisons
6990-
result_file:
6844+
result_file_id:
69916845
type: string
69926846
description: Data File ID

0 commit comments

Comments
 (0)