Benchmark Hub

Ingest API

Hardware-bound inference libraries publish declarative benchmark specs here. Authenticate with a Supabase service-account token: Authorization: Bearer <jwt>. There is intentionally no delete endpoint — deletion is a human, UI-only action.

Endpoints

MethodPathDescription
GET/api/v1/projectsList all visible projects.
POST/api/v1/projectsCreate or update a project (own projects only).
GET/api/v1/projects/{slug}/benchmarksList a project's benchmarks.
POST/api/v1/projects/{slug}/benchmarksPublish a benchmark. Its render spec is validated against the whitelist before storage.

Component whitelist

A spec is a JSON list of nodes, each discriminated on a type. Only these types are accepted; anything else (or any extra key) is rejected. There is no raw-HTML node — this whitelist is the injection boundary.

headerparagraphnotecode_blockdividertablekey_valuekpi_rowimageline_chartbar_chartscatter_chartroofline_chartrowcolumnstabs