Projects & Data
Projects control-plane + the per-project Data API (customer tables with auto-CRUD).
Endpoints · 11
POST/v1/data/{table}/deleteclient.data.delete
delete(input: { project: string; table: string; id: string; }): Promise<{ deleted: number; }>;POST/v1/data/{table}/getclient.data.get
get(input: { project: string; table: string; id: string; }): Promise<{ row: DataRow; }>;POST/v1/data/{table}/insertclient.data.insert
insert(input: { project: string; table: string; values: DataRow; }): Promise<{ row: DataRow; }>;POST/v1/data/{table}/listclient.data.list
list(input: { project: string; table: string; limit?: number; offset?: number; }): Promise<{ rows: DataRow[]; }>;POST/v1/data/{table}/updateclient.data.update
update(input: { project: string; table: string; id: string; values: DataRow; }): Promise<{ row: DataRow; }>;POST/v1/data/tables/createclient.data.createTable
Define a new table in the project's `data` schema (id/created_at/updated_at are added automatically).
createTable(input: { project: string; name: string; columns?: DataColumnDef[]; }): Promise<{ table: string; columns: DataColumnDef[]; }>;POST/v1/data/tables/listclient.data.listTables
listTables(input: { project: string; }): Promise<{ tables: string[]; }>;POST/v1/projects/createclient.projects.create
create(input: { slug: string; name?: string; organizationId?: string; }): Promise<CreateProjectResult>;POST/v1/projects/deleteclient.projects.delete
Soft-deprovision: mark the project deleted + free its pool. The database is kept (recoverable); a hard drop is a separate admin step.
delete(input: { id?: string; slug?: string; }): Promise<{ project: ProjectInfo; deprovisioned: true; }>;POST/v1/projects/getclient.projects.get
get(input: { id?: string; slug?: string; }): Promise<{ project: ProjectInfo; }>;POST/v1/projects/listclient.projects.list
list(): Promise<{ projects: ProjectInfo[]; }>;Widgets · 4
Embeddable React components for this App. Click one to preview its UI. Previews render the component only — live data calls are disabled here (wire the Provider's basePath to a connector, as the Console does, to make them functional).