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:
get:
tags:
- projects
summary: List projects
description: List your projects, newest first.
operationId: list_projects_projects_get
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Maximum objects to return.
default: 20
title: Limit
description: Maximum objects to return.
- name: before_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Before Id
- name: after_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: After Id
responses:
'200':
description: Page of projects.
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectList'
example:
type: list
data:
- id: prj_014OwAG97UY0UfcHlLHQRnKO
type: project
title: BRCA1 variant workup
description: Clinical genomics workup for three BRCA1 variants.
created_at: '2026-08-12T21:21:01.919000Z'
updated_at: '2026-08-12T22:05:44.612000Z'
- id: prj_017gU3qa8ThpctG238f0HF9a
type: project
title: Patient001 BRCA1 variant analysis
description: ''
created_at: '2026-08-12T19:30:20.048000Z'
updated_at: '2026-08-12T19:30:20.048000Z'
has_more: true
first_id: prj_014OwAG97UY0UfcHlLHQRnKO
last_id: prj_017gU3qa8ThpctG238f0HF9a
security:
- bearerAuth: []
components:
schemas:
ProjectList:
properties:
type:
type: string
const: list
title: Type
default: list
data:
items:
$ref: '#/components/schemas/Project'
type: array
title: Data
has_more:
type: boolean
title: Has More
default: false
first_id:
anyOf:
- type: string
- type: 'null'
title: First Id
last_id:
anyOf:
- type: string
- type: 'null'
title: Last Id
type: object
required:
- data
title: ProjectList
Project:
properties:
id:
type: string
title: Id
type:
type: string
const: project
title: Type
default: project
title:
type: string
title: Title
description:
anyOf:
- type: string
- type: 'null'
title: Description
description: Free-text description of the project.
created_at:
type: string
format: date-time
title: Created At
updated_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Updated At
type: object
required:
- id
- title
- created_at
title: Project
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Requires an API key. See the Authentication guide.