Skip to content

API reference

Base URL: https://api.spawnbase.gg/api/v1 · Auth: Authentication · Errors: Errors

This page renders the OpenAPI spec generated from the API code (Hono zod-openapi). If an operation is missing here, it is missing from the spec — file it against the API package, do not document it by hand.

MethodPathSummary
GET/api/v1/fileList files
POST/api/v1/fileUpload a file (multipart)
POST/api/v1/file/base64Upload a file (base64 JSON)
GET/api/v1/file/presigned-urlCreate a presigned upload URL (GET, Fivemanage shape)
POST/api/v1/file/presigned-urlCreate a presigned upload URL (POST, bindable)
POST/api/v1/file/presigned-url/{token}Upload to a presigned URL (multipart POST or raw PUT)
GET/api/v1/file/usageCurrent-period usage vs plan limits
GET/api/v1/file/{path}File metadata by id or path
DELETE/api/v1/file/{path}Delete a file
PATCH/api/v1/file/{id}Publish or unpublish a file (files:publish)
POST/api/v1/file/{id}/shareCreate a bearer read link (files:publish)
DELETE/api/v1/file/{id}/shareRevoke all shares for a file (files:publish)
GET/api/v1/file/{id}/contentRead file bytes with files:read or a valid bearer share
GET/api/v1/logs/aggregateAggregate retained logs into bounded chronological buckets
GET/api/v1/dashboardsList saved dashboards
POST/api/v1/logs/datasetsCreate a log dataset
DELETE/api/v1/logs/datasets/{name}Delete a dataset and its logs
GET/api/v1/support/team/viewTeam support grants, signed history and dashboard notifications
POST/api/v1/support/team/grantsApprove exact read-only resources for a named operator
DELETE/api/v1/support/team/grants/{id}Revoke support consent immediately; audit retries on outage
GET/api/v1/support/staff/grantsList grants for the live immutable staff identity
GET/api/v1/support/staff/grants/{id}/{kind}/{resource}Audited exact resource read; at most 1 MiB per request

Raw spec: /openapi.json · version 1.0.0