API Reference

Complete reference for Delta CLI commands, configuration, and REST API

API Documentation Coming Soon!

We're documenting every command, option, and API endpoint to help you integrate Delta CLI into your workflow. Check back soon for comprehensive reference documentation.

Want to be notified when API docs are ready?

Star our GitHub repo for updates!

CLI Commands

Complete reference for all Delta commands

• Core commands (:ai, :jump, :memory)

• Agent commands (:agent create/run)

• Configuration commands (:config)

• Utility commands (:help, :history)

Configuration

Delta configuration file reference

• Configuration file format

• Environment variables

• Model configuration

• Plugin settings

REST API

HTTP API for external integrations

• Authentication & API keys

• Command execution endpoints

• Memory management API

• Webhook configuration

Plugin Development

Create custom Delta plugins

• Plugin architecture

• Development guide

• API hooks & events

• Publishing plugins

Preview: Command Reference Format

:ai- AI Assistant Command

Interact with Delta's AI assistant for command suggestions, explanations, and automation.

Syntax

:ai [subcommand] [options] [prompt]

Subcommands

  • suggest - Get command suggestions
  • explain - Explain commands or errors
  • fix - Auto-fix errors
  • refactor - Suggest improvements

Options

  • --model - Specify AI model
  • --context - Include additional context
  • --json - Output in JSON format

Example API Usage

REST API Example
Terminal output display.
# Execute a command via REST API
$ curl -X POST https://api.deltacli.com/v1/execute \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"command": ":ai suggest git commit message"}'
{
"status": "success",
"result": {
"suggestions": [
"feat: add user authentication module",
"fix: resolve login validation issues",
"refactor: improve auth error handling"
]
},
"usage": { "commands": 1, "tokens": 127 }
}|

Security Best Practices

When the API documentation is available, it will include comprehensive security guidelines for API key management, rate limiting, and secure integration patterns.

Start Building with Delta

While we complete the API documentation, explore Delta CLI's capabilities