API 参考
下载文件
下载输入或结果文件。
返回 302 Found,Location 头指向约 5 分钟后过期的下载链接。请使用会跟随重定向的客户端,例如 curl -L。
OpenAPI
openapi: 3.1.0
info:
title: BioAgent API — V1
description: Public API for BioAgent, the biomedical AI agent platform.
version: 0.1.0
servers:
- url: https://bioagent.cloud/api/v1
description: >-
BioAgent public API base URL. Every endpoint on this page is served from
this host.
security: []
paths:
/experimental/files/{file_id}/content:
get:
tags:
- files
summary: Download a file
description: Download an input or result file.
operationId: download_file_experimental_files__file_id__content_get
parameters:
- name: file_id
in: path
required: true
schema:
type: string
title: File Id
responses:
'200':
description: File contents returned inline.
content:
application/json:
schema: {}
application/octet-stream: {}
security:
- bearerAuth: []
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Requires an API key. See the Authentication guide.