Public API

Connect your tools to SpoolyTracker

The public API lets third-party apps read inventory, push consumption logs, and fetch analytics with scoped organization tokens.

Public documentation

The public Swagger only contains endpoints exposed to external integrations.

Open public Swagger
Available endpoints
GET
/public-api/v1/filaments

List spools

GET
/public-api/v1/filaments/:id

Read one spool

PATCH
/public-api/v1/filaments/:id/stock

Update stock

GET
/public-api/v1/consumption

Read consumption logs

POST
/public-api/v1/consumption

Create a consumption log

GET
/public-api/v1/analytics/stock

Stock analytics

GET
/public-api/v1/analytics/consumption

Consumption analytics

curl example
curl https://api.spoolytracker.com/public-api/v1/filaments \
  -H "Authorization: Bearer sk_zsp_xxx"

AI Engine

The self-calibrating AI engine, documented end to end

SpoolyTracker ships a self-calibrating, push-only analysis engine: the app pushes workshop state, the engine answers with depletion forecasts, risks, learning reports and chat. It is LLM-free by default, keeps every workshop separate, and can run entirely on your infrastructure when self-hosted.

AI engine Swagger

Every route is documented: the v1 snapshot contract, forecasts, learning, observability and administration.

Open AI Swagger
Main endpoints
PUT
/v1/workspaces/:id/snapshot

Replace the full workshop state

POST
/v1/workspaces/:id/events

Push idempotent event batches

GET
/v1/workspaces/:id/forecast/stock

Per-spool depletion forecasts

GET
/v1/workspaces/:id/risks

Per-material risks

GET
/v1/workspaces/:id/learning

Learning report (walk-forward verdict, guardrails)

POST
/v1/workspaces/:id/chat

AI chat over the workshop state

curl example
curl https://ia.spoolytracker.com/v1/workspaces/my-workshop/forecast/stock \
  -H "Authorization: Bearer aie_xxx"