Version 2.9 · Last updated 2026-08-10 · supersedes v2.8 (2026-07-28)
Effective: upon any use of the API.
Operator: TUARA KURI LIMITED
Trading as: AgenticRail
Email: hello@agenticrail.nz
These API Terms govern access to and use of the AgenticRail API. They apply in addition to the AgenticRail Terms of Service and Privacy Policy. Capitalised terms not defined here have the meanings given in the main Terms of Service.
The AgenticRail API provides a deterministic execution gate that:
The API does not generate actions or guarantee outcomes.
Access to the API requires a valid API key.
AgenticRail may rotate keys, revoke keys, or limit or suspend access at any time to protect system integrity.
All API requests must follow the documented structure.
Minimum required payload:
{
"schema_version": "1.0",
"model_id": "MSMD",
"sequence_id": "string",
"step": "string",
"function": "string",
"action_type": "string",
"nonce": "string",
"ts_ms": 0,
"action": "string",
"inputs": {}
}
Required rules:
step MUST equal functionnonce MUST be unique per request (UUID or equivalent recommended)action_type MUST be allowed for the given step/functionsequence_id MUST be consistent within a sequenceRequests that do not meet this contract will be rejected.
The API enforces:
Violations result in DENY — an enforcement decision, written to a signed Receipt — or HALT, a refusal at the boundary before enforcement runs, which produces no Receipt, or structured error responses.
The API is designed to fail closed, not fail open.
settle), it is sealed.After sealing, further requests on that sequence will be rejected.
Responses include:
decision: ALLOW or DENY. A HALT carries status rather than decision, and produces no Receiptreasons: array of reason codesmeta: validation metadata (step, action_type, etc.)An ALLOW decision means the action passed current policy constraints. It does not mean the action is correct, the action is safe, or the action should be executed without human review.
Clients must handle errors correctly.
| Code | Meaning |
|---|---|
DENY | Action not permitted by policy |
REPLAY_NONCE | Nonce already used for this sequence |
SEQUENCE_VIOLATION | Step order incorrect (skip or repeat) |
SEALED_SEQUENCE | Sequence already completed (settle) |
ACTION_NOT_ALLOWED | action_type not valid for the current function/step |
STALE_TIMESTAMP | ts_ms is more than 300 seconds from server time |
Clients must not assume retries will succeed without correcting the underlying issue.
The API may use standard HTTP status codes, including:
200 — Request processed successfully (ALLOW or DENY decision returned)400 — Invalid request structure401 / 403 — Authentication or API key issues429 — Rate limit exceeded500 — Internal server errorClients must not rely solely on HTTP status codes and should always inspect the response body.
The public demo key is rate-limited to 300 requests per minute per IP address, enforced by a single-threaded Durable Object per rate-limit key — no race conditions.
Production API access is arranged directly with the Operator (see Onboarding, below). The applicable rate limit is agreed as part of that arrangement and enforced per API key by the same Durable-Object mechanism.
There is no published self-serve pricing tier or monthly request quota. Access, rate limits, and pricing for production use are configured directly with each Client based on their use case.
Exceeding the applicable rate limit may result in throttling (HTTP 429), temporary denial, or suspension of access.
We may change rate limits with reasonable notice. The AgenticRail website (agenticrail.nz) is the authoritative source for current pricing.
Onboarding: Production API access is arranged directly with the Operator. We work with each Client to understand their use case and configure their enforcement policies before a production key is issued. The public demo key remains available immediately, at no charge, for evaluation. To arrange production access, contact hello@agenticrail.nz.
Requests are not idempotent by default.
REPLAY_NONCE errors.Clients must generate unique nonces per request, design retry logic carefully, and avoid blind retries.
Clients must:
AgenticRail is a control layer, not a decision engine.
AgenticRail must not be used as the sole control mechanism in any system where a DENY decision or a HALT refusal could result in harm, financial loss, or regulatory impact. The Client must implement appropriate fallback behaviour.
The Client is responsible for ensuring their configuration — including step order, function names, and action types — is correct. Unexpected DENY decisions resulting from misconfiguration are not a defect in the System.
You must not:
Violation may result in immediate suspension.
You must:
AgenticRail is not a secure data storage system.
The API is provided "as is" and "as available."
We do not guarantee uptime or response times, but we use reasonable efforts to maintain availability.
The API may evolve over time, including new validation rules and updated payload requirements. Backward compatibility is not guaranteed. Breaking changes will be notified at least 30 days in advance.
schema_version field.We may suspend or terminate API access immediately if you breach these API Terms or the main Terms, your use poses a security risk, your use disrupts the API for others, or you fail to pay outstanding fees within 15 days of notice.
Upon termination, API keys will be revoked and outstanding fees become immediately due.
These API Terms are subject to the Limitation of Liability clause in the main Terms of Service.
In summary: liability is capped at fees paid in the previous 12 months or NZ$100 (whichever is greater); no liability for indirect or consequential damages.
Use of the API is at your own risk.
These API Terms are governed by the laws of New Zealand. Disputes shall be resolved in the courts of New Zealand.
The API enforces structure, not truth.
It decides what is allowed.
It does not decide what is correct.
For API access, key management, or questions: hello@agenticrail.nz
By using the AgenticRail API, you acknowledge that you have read, understood, and agree to be bound by these API Terms of Use, together with the Terms of Service and Privacy Policy.
He toi whakairo, he mana tangata