@@ -7211,181 +7211,6 @@ paths:
72117211 required : true
72127212 type : string
72137213
7214- /queue/cancel :
7215- post :
7216- description : Cancel a pending or running job. Returns the job status after the
7217- cancellation attempt.
7218- requestBody :
7219- content :
7220- application/json :
7221- schema :
7222- $ref : " #/components/schemas/QueueCancelRequest"
7223- description : Cancel request
7224- required : true
7225- responses :
7226- " 200 " :
7227- description : Successfully canceled
7228- content :
7229- application/json :
7230- schema :
7231- $ref : " #/components/schemas/QueueCancelResponse"
7232- " 400 " :
7233- description : Invalid request
7234- content :
7235- application/json :
7236- schema :
7237- $ref : " #/components/schemas/QueueError"
7238- " 404 " :
7239- description : Request not found
7240- content :
7241- application/json :
7242- schema :
7243- $ref : " #/components/schemas/QueueError"
7244- " 409 " :
7245- description : Job could not be canceled (already completed/failed)
7246- content :
7247- application/json :
7248- schema :
7249- $ref : " #/components/schemas/QueueCancelResponse"
7250- " 500 " :
7251- description : Internal server error
7252- content :
7253- application/json :
7254- schema :
7255- $ref : " #/components/schemas/QueueError"
7256- summary : Cancel a queued job
7257- tags :
7258- - Queue
7259- /queue/metrics :
7260- get :
7261- description : Get the current queue statistics including pending and running job
7262- counts.
7263- parameters :
7264- - description : Model name to get metrics for
7265- in : query
7266- name : model
7267- required : true
7268- schema :
7269- type : string
7270- responses :
7271- " 200 " :
7272- description : Queue metrics
7273- content :
7274- application/json :
7275- schema :
7276- additionalProperties : true
7277- type : object
7278- " 400 " :
7279- description : Invalid request
7280- content :
7281- application/json :
7282- schema :
7283- $ref : " #/components/schemas/QueueError"
7284- " 401 " :
7285- description : Unauthorized
7286- content :
7287- application/json :
7288- schema :
7289- $ref : " #/components/schemas/QueueError"
7290- " 500 " :
7291- description : Internal server error
7292- content :
7293- application/json :
7294- schema :
7295- $ref : " #/components/schemas/QueueError"
7296- summary : Get queue metrics
7297- tags :
7298- - Queue
7299- /queue/status :
7300- get :
7301- description : Check the status of a job using request_id and model query parameters.
7302- parameters :
7303- - description : Request ID
7304- in : query
7305- name : request_id
7306- required : true
7307- schema :
7308- type : string
7309- - description : Model name
7310- in : query
7311- name : model
7312- required : true
7313- schema :
7314- type : string
7315- responses :
7316- " 200 " :
7317- description : Status information
7318- content :
7319- application/json :
7320- schema :
7321- $ref : " #/components/schemas/QueueJobStatusResponse"
7322- " 400 " :
7323- description : Invalid request
7324- content :
7325- application/json :
7326- schema :
7327- $ref : " #/components/schemas/QueueError"
7328- " 401 " :
7329- description : Unauthorized
7330- content :
7331- application/json :
7332- schema :
7333- $ref : " #/components/schemas/QueueError"
7334- " 404 " :
7335- description : Request not found
7336- content :
7337- application/json :
7338- schema :
7339- $ref : " #/components/schemas/QueueError"
7340- " 500 " :
7341- description : Internal server error
7342- content :
7343- application/json :
7344- schema :
7345- $ref : " #/components/schemas/QueueError"
7346- summary : Get job status
7347- tags :
7348- - Queue
7349- /queue/submit :
7350- post :
7351- description : Submit a new job to the queue. Returns a request ID that can be
7352- used to check status.
7353- requestBody :
7354- content :
7355- application/json :
7356- schema :
7357- $ref : " #/components/schemas/QueueJobRequest"
7358- description : Job request
7359- required : true
7360- responses :
7361- " 200 " :
7362- description : Successfully queued request
7363- content :
7364- application/json :
7365- schema :
7366- $ref : " #/components/schemas/QueueJobResponse"
7367- " 400 " :
7368- description : Invalid request
7369- content :
7370- application/json :
7371- schema :
7372- $ref : " #/components/schemas/QueueError"
7373- " 401 " :
7374- description : Unauthorized
7375- content :
7376- application/json :
7377- schema :
7378- $ref : " #/components/schemas/QueueError"
7379- " 500 " :
7380- description : Internal server error
7381- content :
7382- application/json :
7383- schema :
7384- $ref : " #/components/schemas/QueueError"
7385- summary : Submit a queued job
7386- tags :
7387- - Queue
7388-
73897214components :
73907215 securitySchemes :
73917216 bearerAuth :
0 commit comments