@@ -3953,91 +3953,61 @@ components:
39533953 properties :
39543954 id :
39553955 type : string
3956- example : " batch_job_abc123def456"
3956+ format : uuid
3957+ example : " 01234567-8901-2345-6789-012345678901"
39573958 user_id :
39583959 type : string
39593960 example : " user_789xyz012"
3960- endpoint :
3961- type : string
3962- example : " /v1/chat/completions"
39633961 input_file_id :
39643962 type : string
39653963 example : " file-input123abc456def"
3966- output_file_id :
3967- type : string
3968- example : " file-output789xyz012ghi"
3969- error_file_id :
3970- type : string
3971- example : " file-errors456def789jkl"
3964+ file_size_bytes :
3965+ type : integer
3966+ format : int64
3967+ example : 1048576
3968+ description : " Size of input file in bytes"
39723969 status :
39733970 $ref : ' #/components/schemas/BatchJobStatus'
3974- created_at :
3975- type : string
3976- example : " 2024-01-15T14:30:00Z"
3977- updated_at :
3978- type : string
3979- example : " 2024-01-15T14:35:22Z"
3980- completed_at :
3981- type : string
3982- example : " 2024-01-15T15:45:30Z"
3983- heartbeat_at :
3984- type : string
3985- example : " 2024-01-15T14:35:00Z"
39863971 job_deadline :
39873972 type : string
3988- example : " 2024-01-15T14:35:00Z"
3989- tokens_reserved_at :
3973+ format : date-time
3974+ example : " 2024-01-15T15:30:00Z"
3975+ created_at :
39903976 type : string
3991- example : " 2024-01-15T14:35:00Z"
3992- tokens_released_at :
3977+ format : date-time
3978+ example : " 2024-01-15T14:30:00Z"
3979+ endpoint :
39933980 type : string
3994- example : " 2024-01-15T14:35:00Z"
3995- priority :
3996- type : integer
3997- example : 1
3998- description : " Job priority (1 = highest, 5 = lowest)"
3999- file_size_bytes :
4000- type : integer
4001- example : 1048576
4002- description : " Size of input file in bytes"
4003- total_chunks :
4004- type : integer
4005- example : 250
4006- description : " Total number of requests in the batch"
4007- total_tokens :
4008- type : integer
4009- example : 125000
4010- description : " Estimated total tokens for all requests"
4011- request_count :
4012- type : integer
4013- example : 1000
4014- description : " Total number of requests in the batch"
4015- retry_count :
4016- type : integer
4017- example : 0
4018- description : " Number of retries attempted"
3981+ example : " /v1/chat/completions"
3982+ progress :
3983+ type : number
3984+ format : float64
3985+ example : 75.0
3986+ description : " Completion progress (0.0 to 100)"
40193987 model_id :
40203988 type : string
40213989 example : " meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"
40223990 description : " Model used for processing requests"
4023- progress :
4024- type : number
4025- example : 0.75
4026- description : " Completion progress as a decimal (0.0 to 1.0)"
3991+ output_file_id :
3992+ type : string
3993+ example : " file-output789xyz012ghi"
3994+ error_file_id :
3995+ type : string
3996+ example : " file-errors456def789jkl"
40273997 error :
40283998 type : string
3999+ completed_at :
4000+ type : string
4001+ format : date-time
4002+ example : " 2024-01-15T15:45:30Z"
40294003 BatchJobStatus :
40304004 type : string
40314005 enum :
40324006 - VALIDATING
4033- - QUEUED
4034- - CHUNKING
4035- - CHUNKS_QUEUED
4036- - AGGREGATION_QUEUED
4037- - AGGREGATING
4007+ - IN_PROGRESS
40384008 - COMPLETED
40394009 - FAILED
40404010 - EXPIRED
40414011 - CANCELLED
4042- example : " QUEUED "
4012+ example : " IN_PROGRESS "
40434013 description : " Current status of the batch job"
0 commit comments