查询异步聊天任务
/v1/async/chat/completions/{job_id}查询 POST /v1/async/chat/completions 创建的任务。没有列表接口。
Authentication
Authorization Bearer
Path Parameters
job_idstringrequiredJob ID(chatjob_ 前缀)。
Response
idstringJob ID。
objectstringchat.completion.job
statusenum<string>modelstring对外模型名。
request_idstring计费关联 id。
resultobjectstatus=completed 时的 chat completion。
errorobject失败时的错误。
error.messagestringHuman-readable error message.
error.codestringMachine-readable error code.
error.typestringError category when returned.
error.stagestringProcessing stage where the error occurred.
error.upstream_http_statusintegerProvider HTTP status when the error came from upstream.
error.upstream_messagestringProvider error message when available.
usageobject可用时的 token 用量。
usage.prompt_tokensintegerInput token count when returned.
usage.completion_tokensintegerOutput token count when returned.
usage.total_tokensintegerTotal token count when returned.
usage.input_tokensintegerInput token count for providers that use input/output names.
usage.output_tokensintegerOutput token count for providers that use input/output names.
usage.generated_imagesintegerGenerated image count when returned.
usage.audio_duration_secondsnumberAudio duration used for billing when returned.
usage.video_duration_secondsnumberVideo duration used for billing when returned.
usage.provider_request_idstringProvider request ID used for upstream correlation.