-
-
Notifications
You must be signed in to change notification settings - Fork 2
cmd api
API versioning and deprecation tooling for operators.
nself api <subcommand> [flags]
nself api provides tooling to inspect and validate API version state across all observable surfaces in a running ɳSelf install. Operators use it to check API surface versions before upgrades and to detect deprecated API usage before clients are affected.
| Subcommand | Description |
|---|---|
version |
Show API version for every surface observable from this install |
deprecation-check |
Check for deprecated API usage in this install (G6) |
changelog |
Show the deprecation calendar and sunset dates for a plugin (G9) |
nself api version [flags]
Reports the current API version for every observable surface (Hasura, Auth, Storage, Functions, etc.) in the running ɳSelf stack. Use this after an upgrade to confirm all surfaces are on the expected version.
Flags:
| Flag | Default | Description |
|---|---|---|
--surface |
(all) | Filter output to a specific surface name |
--json |
false | Print output as JSON |
--timeout |
10s |
HTTP timeout for surface probes |
--help, -h
|
— | Show help |
Example:
# Check all API versions
nself api version
# JSON output for CI
nself api version --json
# Check only the Hasura surface
nself api version --surface hasuranself api deprecation-check [flags]
Probes the plugin deprecation registry for deprecated API usage. Reports endpoints that are deprecated or approaching removal. Exits non-zero if any BREAKING entries are found (entries with no deprecated_in grace period), making it suitable for CI gates.
Flags:
| Flag | Default | Description |
|---|---|---|
--plugin |
(all) | Filter check to a specific plugin name |
--strict |
false | Exit non-zero if any BREAKING entries found (used by CI gate) |
--json |
false | Print findings as JSON |
--help, -h
|
— | Show help |
Example:
# Check all plugins for deprecated API usage
nself api deprecation-check
# Check a specific plugin
nself api deprecation-check --plugin ai
# CI-safe strict mode (exits 1 on any BREAKING entry)
nself api deprecation-check --strict --json
# JSON output for automated tooling
nself api deprecation-check --jsonnself api changelog <plugin> [flags]
Shows the deprecation calendar for a plugin: all deprecated endpoints, when each was deprecated, when it will be removed, and any Sunset header dates. Use this to plan client migrations before removal dates.
Arguments:
| Argument | Description |
|---|---|
<plugin> |
Plugin name (e.g. ai, mux, claw) |
Flags:
| Flag | Default | Description |
|---|---|---|
--json |
false | Print output as JSON |
--help, -h
|
— | Show help |
Example:
# Show deprecation calendar for the ai plugin
nself api changelog ai
# JSON output for automated tooling
nself api changelog ai --json
# Show calendar for the mux plugin
nself api changelog muxOutput:
Plugin: ai (API v1.3.0)
Deprecated endpoints: 0
All endpoints are current. No action needed.
When deprecated endpoints exist:
Plugin: ai (API v1.3.0)
Deprecated endpoints: 1
Endpoint deprecated_in removed_in sunset
/v1/complete v1.2.0 v2.0.0 Sat, 01 Jan 2027 00:00:00 GMT
Replacement: POST /v2/complete
Reason: Unified completion API with streaming support
- cmd-version, CLI version information
- cmd-doctor, Full system diagnostics
- cmd-status, Live service health
ɳSelf CLI v1.0.9. MIT licensed. Docs CC BY 4.0.
GitHub · Issues · Discussions · nself.org · docs.nself.org
Getting Started
Commands
- Commands, Overview
- Lifecycle: cmd-init · cmd-build · cmd-start · cmd-stop · cmd-restart · cmd-dev
- Monitoring: cmd-status · cmd-logs · cmd-health · cmd-urls · cmd-doctor · cmd-monitor · cmd-alerts · cmd-watchdog · cmd-dogfood
- Data: cmd-db · cmd-backup · cmd-dr · cmd-queue · cmd-webhooks
- Config: cmd-config · cmd-service · cmd-env · cmd-promote
- Networking: cmd-ssl · cmd-trust · cmd-dns-setup
- Security: cmd-security · cmd-secrets · cmd-waf
- Tenancy: cmd-tenant · cmd-billing
- Plugins: cmd-plugin · cmd-license
- AI: cmd-ai · cmd-claw
- Utilities: cmd-exec · cmd-clean · cmd-reset · cmd-update · cmd-upgrade · cmd-version · cmd-admin · cmd-migrate · cmd-completion
Features
- Features, Overview
- Feature-Auth
- Feature-Storage
- Feature-Search
- Feature-Functions
- Feature-Email
- Feature-Monitoring
- Feature-Plugins
- Feature-ɳClaw, AI Assistant
- Feature-ɳChat, Messaging
- Feature-ɳTV, Media Player
- Feature-ɳFamily, Family Social
- Feature-ɳCloud, Managed Hosting
- Feature-Memory-Rooms, Knowledge Organization
- Feature-Agent-Dashboard, Agent Metrics
- Feature-Image-Generation, AI Image Generation
Configuration
- Configuration, Overview
- Config-Env-Vars
- Config-Postgres
- Config-Hasura
- Config-Auth
- Config-Nginx
- Config-Optional-Services
- Config-Custom-Services
- Config-System
Plugins (87 + 10 monitoring)
Free (25)
- plugin-backup
- plugin-content-acquisition
- plugin-content-progress
- plugin-cron
- plugin-donorbox
- plugin-feature-flags
- plugin-github
- plugin-github-runner
- plugin-invitations
- plugin-jobs
- plugin-link-preview
- plugin-mdns
- plugin-mlflow
- plugin-monitoring
- plugin-notifications
- plugin-notify
- plugin-paypal
- plugin-search
- plugin-shopify
- plugin-stripe
- plugin-subtitle-manager
- plugin-tokens
- plugin-torrent-manager
- plugin-vpn
- plugin-webhooks
Pro (62)
- plugin-access-controls
- plugin-activity-feed
- plugin-admin-api
- plugin-ai
- plugin-analytics
- plugin-auth
- plugin-backup-pro
- plugin-bots
- plugin-browser
- plugin-calendar
- plugin-cdn
- plugin-chat
- plugin-claw
- plugin-claw-budget
- plugin-claw-news
- plugin-claw-web
- plugin-cloudflare
- plugin-cms
- plugin-compliance
- plugin-cron-pro
- plugin-ddns
- plugin-devices
- plugin-documents
- plugin-donorbox-pro
- plugin-entitlements
- plugin-epg
- plugin-file-processing
- plugin-game-metadata
- plugin-geocoding
- plugin-geolocation
- plugin-google
- plugin-home
- plugin-idme
- plugin-knowledge-base
- plugin-linkedin
- plugin-livekit
- plugin-media-processing
- plugin-meetings
- plugin-moderation
- plugin-mux
- plugin-notify-pro
- plugin-object-storage
- plugin-observability
- plugin-paypal-pro
- plugin-photos
- plugin-podcast
- plugin-post
- plugin-realtime
- plugin-recording
- plugin-retro-gaming
- plugin-rom-discovery
- plugin-shopify-pro
- plugin-social
- plugin-sports
- plugin-stream-gateway
- plugin-streaming
- plugin-stripe-pro
- plugin-support
- plugin-tmdb
- plugin-voice
- plugin-web3
- plugin-workflows
Planned (26)
plugin-auditplugin-blogplugin-checkoutplugin-commerceplugin-drmplugin-exportplugin-flowplugin-importplugin-ldapplugin-mailgunplugin-mediaplugin-oauth-providersplugin-pagesplugin-postmarkplugin-rate-limitplugin-reportsplugin-samlplugin-schedulerplugin-sendgridplugin-ssoplugin-subscriptionplugin-thumbplugin-transcoderplugin-twilioplugin-wafplugin-watermark
Guides
- Guide-Production-Deployment
- Guide-SSL-Setup
- Guide-Multi-Tenancy
- Guide-Security-Hardening
- Guide-Monitoring-Setup
- Guide-Backup-Restore
- Guide-Custom-Services
- Guide-Migration-from-v1
Architecture
Reference
- API-Reference
- reference-error-codes, Error Codes
Licensing
Security
Brand
Contributing