The NAEOS REST API allows you to interact with the NAEOS runtime programmatically. This page provides an interactive reference generated from the OpenAPI 3.0 specification.

Overview

InfoValue
Base URLhttp://localhost:8080
API Version1.5.0
FormatJSON
AuthenticationNone (local development)

Quick Reference

System

MethodEndpointDescription
GET/api/v1/healthHealth check
GET/api/v1/versionVersion info
GET/api/v1/config/schemaConfig schema
GET/healthzLiveness probe
GET/readyzReadiness probe
GET/metricsPrometheus metrics

Specifications

MethodEndpointDescription
GET/api/v1/specsList all specifications
POST/api/v1/specsCreate a new specification
POST/api/v1/specs/validateValidate a specification
POST/api/v1/specs/compileCompile a specification

Pipeline

MethodEndpointDescription
POST/api/v1/pipeline/runRun the pipeline
GET/api/v1/pipeline/statusGet pipeline status
GET/api/v1/pipelinesList all pipelines

AI (SSE Streaming)

MethodEndpointDescription
POST/api/v1/ai/enrich/streamAI enrichment (streaming)
POST/api/v1/ai/explain/streamAI explanation (streaming)
POST/api/v1/ai/compile/streamAI compilation (streaming)

Other

MethodEndpointDescription
GET/api/v1/artifactsList artifacts
POST/api/v1/context/generateGenerate context bundle
GET/POST/api/v1/pluginsPlugin management
POST/api/v1/mcp/messageMCP message
POST/api/v1/cloud/planCloud deployment plan
POST/api/v1/cloud/deployDeploy to cloud
POST/api/v1/cloud/destroyDestroy cloud resources
GET/api/v1/cloud/statusCloud status

Interactive Documentation

The full interactive API documentation is available below. You can test API calls directly from the browser.

CLI Usage

You can also interact with the API via the CLI:

# Start the API server
naeos serve --port 8080

# Validate via API
curl -X POST http://localhost:8080/api/v1/specs/validate \
  -H "Content-Type: application/json" \
  -d '{"spec": "project: my-app"}'

# Run pipeline via API
curl -X POST http://localhost:8080/api/v1/pipeline/run \
  -H "Content-Type: application/json" \
  -d '{"spec_path": "spec.yaml"}'

OpenAPI Specification

Download the full OpenAPI 3.0 specification:

See also: CLI Reference, Pipeline Engine