Skip to main content

Base URL

In production, set HOSTNAME to your public URL (e.g., https://stashy.example.com).

Authentication

All /v1/* endpoints require a Bearer token:
Generate API keys from the web dashboard after signing in with Google OAuth.

Endpoints

Pagination

GET /v1/files returns your files newest first, up to limit per page (default 50, max 100). To fetch the next page, pass the last file’s id as after. A page shorter than limit is the last one.

OpenAPI Spec

The full OpenAPI 3.1 spec is available at spec.stashy.sh/openapi.yaml or at /openapi.yaml on your running instance.