使用原生登录 access_token(Authorization: Bearer)读取本人任务产物二进制字节(如音轨 MP3),在浏览器中通过 URL.createObjectURL(blob) 绑定播放器并在卸载时 revokeObjectURL;不可将 content_url 直接放入 <audio src> 或拼接 token。
HEAD
/pg/tasks/{task_id}/artifacts/{artifact_key}/contentAuthorizations
AuthorizationstringrequiredUse a native login access_token (required access: Native access token) with owner isolation and trusted browser Origin; generation writes use wallet billing while reads do not precharge; inference API Keys (sk-…) and PATs (nap_…) are rejected.
Authorization: Bearer $ONEASTER_ACCESS_TOKEN
Parameters
task_idstringrequiredpath · 任务 ID(Go 路由参数名为 key)
artifact_keystringrequiredpath · 产物 key