{
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"request_id": {
"type": "string"
},
"request_path": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"running",
"completed",
"failed",
"interrupted",
"unknown"
]
},
"created_at": {
"type": "integer"
},
"updated_at": {
"type": "integer"
},
"http_status": {
"type": "integer"
},
"retry_allowed": {
"type": "boolean",
"const": false
},
"billing_state": {
"type": "string",
"enum": [
"unknown",
"reserved",
"settled",
"released"
]
},
"charge_quota": {
"type": [
"integer",
"null"
]
},
"reserved_quota": {
"type": [
"integer",
"null"
]
},
"task_id": {
"type": [
"string",
"null"
]
},
"task_status": {
"type": [
"string",
"null"
]
},
"task_status_url": {
"type": [
"string",
"null"
]
},
"result_available": {
"type": "boolean"
},
"result_expires_at": {
"type": "integer"
},
"response": {
"type": [
"object",
"null"
],
"properties": {
"status": {
"type": "integer"
},
"content_type": {
"type": "string"
},
"body": {
"type": "string",
"description": "Original text or Base64 when encoding=base64. Maximum 4 MiB original bytes and 24-hour retention; expiry never releases the execution guard."
},
"complete": {
"type": "boolean"
},
"encoding": {
"type": "string",
"const": "base64",
"description": "Only for binary speech. Decode body to bytes; absent means existing UTF-8 JSON/SSE/text."
}
}
}
},
"required": [
"request_id",
"status",
"retry_allowed",
"billing_state",
"charge_quota",
"result_available",
"response"
]
}
}
},
"headers": {
"X-OneAster-Request-ID": {
"schema": {
"type": "string"
},
"description": "原请求稳定 ID"
}
}
}