← NorthField Docs

API Reference

Base URL: https://api.northfield.io/v1. All requests use HTTPS and JSON bodies. Authenticate with Authorization: Bearer <key>.

Endpoints

GET/status

Returns project quota, current usage and account status.

GET/deployments

List deployments. Supports ?page=, ?per_page= (max 100) and ?state= filters.

POST/deployments

Create a deployment. Body: {"image": "app:v1", "region": "us-east", "replicas": 2}

GET/deployments/{id}

Retrieve a single deployment including status, endpoints and build logs URL.

DELETE/deployments/{id}

Stop and delete a deployment. Returns 204 No Content.

GET/usage

Bandwidth and request counts grouped by day. ?from=2026-01-01&to=2026-01-31

Rate limits

PlanRequests/minBurst
Free6020
Pro600100
Enterprise60001000

Exceeded limits return 429 with a Retry-After header.

Errors

{ "error": { "code": "invalid_param", "message": "replicas must be >= 1" } }

Codes: invalid_param, unauthorized, not_found, rate_limited, internal.