Spacefast API - Spacefast Docs

Spacefast API

Publish files as a Space, then manage Spaces, versions, builds, domains, and teams. Every operation a person can run in the dashboard is here, for people and for agents.

Every path is versioned under /v1. A successful response wraps its payload in { data }. An error is an RFC 9457 problem document served as application/problem+json with a stable code.

A deprecated operation also sends Deprecation (RFC 9745) and Sunset (RFC 8594) headers and a Link with rel="deprecation" to the policy: https://spacefast.com/docs/api/versioning

Version 0.3.0

Base URL https://api.spacefast.com

Spaces

Create, update, transfer, and delete Spaces.

Agent

What an agent can do with its credential: context, approvals, and resuming a paused action.

Activity

Activity feeds, logs, analytics, webhooks, and background operations.

Account

The signed-in account: identity, emails, API keys, device login, notifications, and event intake.

Connectors

Services a team connected, the tools they expose, what policy allows, and the runs and artifacts built on them.

Builds

Builds that turn source into a version: start, watch, retry, and cancel.

Publishing

Publish files in one call and claim the Space it created.

Docs

The documentation as JSON: index, pages, search, and Ask.

Domains

Domains: inventory, DNS, verification, and which Space each one serves.

Git

Repositories connected to a Space: files, commits, diffs, branches, and syncs.

Database

The database behind a Space’s runtime: schema, rows, migrations, and console.

Runtime

What a Space runs: runtime status, the served shape, and realtime replay.

Tags

Tag templates, drafts, releases, and preview sessions.

Variables

Variables on a Space or team, resolved when a version publishes.

Versions

Versions of a Space: upload, finalize, promote, and inspect.

Teams

Teams: membership, settings, usage, and entitlements.