API Overview
Neptune REST API reference
REST API
Neptune exposes a REST API via the neptune serve command. The API is built with Axum and documented with OpenAPI.
Base URL
http://localhost:9090/api/v1Interactive docs
OpenAPI/Swagger documentation is available at:
http://localhost:9090/api/v1/docsAuthentication
All endpoints require an API key in the Authorization header:
curl -H "Authorization: Bearer <key>" http://localhost:9090/api/v1/jobsSee Authentication for role-based access details.
Rate limiting
Requests are rate-limited per IP at NEPTUNE_RATE_LIMIT_RPM requests per minute (default: 60).
Response format
All responses are JSON. Errors follow a consistent format:
{
"error": "description of what went wrong"
}