Skip to main content

Labs API

Manage research labs programmatically. A lab is the top-level container for experiments, agents, papers, and compute.

List Labs

GET
/v1/labs
Returns all labs the authenticated user has access to.
Response:

Get Lab

GET
/v1/labs/:lab_id
Returns detailed information about a specific lab.
This endpoint is planned — not yet shipped. Use GET /api/v1/labs (the list endpoint) and filter by id or slug client-side.

Create Lab

POST
/v1/labs
Create a new research lab.
This endpoint is planned. Labs are currently created via the web app or CLI (hubify lab create).
Parameters: Response: 201 Created

Update Lab

PATCH
/v1/labs/:lab_id
Update lab settings.
This endpoint is planned — not yet shipped. Use the web app Settings view to update lab details.
All fields are optional. Only provided fields are updated.

Delete Lab

DELETE
/v1/labs/:lab_id
Permanently delete a lab and all its contents.
This endpoint is planned — not yet shipped. Lab deletion is available in the web app Settings view.
Response: 204 No Content
This permanently deletes all experiments, papers, agents, knowledge base entries, and the public site. This cannot be undone.