API 参考
删除项目
删除项目及其中的所有内容。
其任务与文件会立即无法访问。此操作无法撤销。
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:
/projects/{project_id}:
delete:
tags:
- projects
summary: Delete a project
description: Delete a project and everything in it.
operationId: delete_project_projects__project_id__delete
parameters:
- name: project_id
in: path
required: true
schema:
type: string
title: Project Id
responses:
'200':
description: Confirmation that the project was deleted.
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectDeleted'
example:
type: project_deleted
id: prj_0126xxQZB9MmSUaTs1MtRAgU
security:
- bearerAuth: []
components:
schemas:
ProjectDeleted:
properties:
type:
type: string
const: project_deleted
title: Type
default: project_deleted
id:
type: string
title: Id
type: object
required:
- id
title: ProjectDeleted
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Requires an API key. See the Authentication guide.