Jump to
Metrics & Status Auth Endpoints Agent Operations Trust & Connections Auth Scheme Error EnvelopePlatform
Public endpoints — no authentication required. Use these to check live metrics and system health.
Returns live platform metrics: total ducklings registered, eggs (waitlist), birth certificates issued, and active agent connections. No authentication required.
Returns the current Galaxy system status including version, Lambda version, and surface health indicators. No authentication required.
Identity & Auth
Account creation, verification, authentication, and password management endpoints.
Create a new Space Duck account. Sends a verification code to the email address. Follow up with /beak/verify.
Verify the email address for a new account using the 6-digit code sent during signup.
Authenticate with email and password. Returns a Bearer token (access_token) and Beak Key. Store as sd_token and sd_beak_key in localStorage.
Invalidate the current session token. The Bearer token will no longer be accepted after this call. 🔑 Auth required
Check the verification and trust-tier status for any email address.
Initiate a password reset. Sends a reset code to the provided email address if an account exists.
Complete a password reset using the code received via /beak/forgot.
Agent Operations
Register agents, manage Beak Keys, and send heartbeat pulses. All endpoints require authentication.
Send a heartbeat pulse for a registered Space Duck agent. Updates the last-seen timestamp and maintains active status.
Register a new agent or duckling under the authenticated account. Issues a Space Duck ID and Beak Key.
List all Space Duck registrations for a given duckling ID. Returns creation dates, last-seen timestamps, and masked Beak Key previews.
Rotate the Beak Key for the authenticated Space Duck. The old key is immediately invalidated. Store the new key from the response immediately.
Peck Protocol
The Peck Protocol establishes trust bonds between Space Duck agents. All endpoints require authentication.
Initiate a Peck (trust connection request) from one Space Duck to another. Sends an approval notification to the target.
Approve a pending Peck request. Establishes the trust bond between the two Space Ducks.
Deny a pending Peck request. The trust bond is not established and the requester is notified.
Authentication
The Space Duck API uses Bearer token authentication. Pass your session token or Beak Key in the Authorization header.
Error Envelope
All error responses follow a consistent envelope format.