Skip to main content
REST API · v1 · OpenAPI 3.1

API Reference

The Reliatic REST API exposes asset, inspection, action, risk, and audit resources. Authenticate with a tenant-scoped API key. Use the REST API for your own integrations.

Quick start

1. Generate a key

Open Settings → API Keys in the portal and create a key with the scope it needs: read, write (also reads) or admin.

2. Authenticate

Authorization: Bearer rl_live_…

3. Call an endpoint

curl -H "Authorization: Bearer …" https://www.reliatic.com/api/v1/assets

Errors and limits

Every error is RFC 9457 problem details with Content-Type: application/problem+json: type, title, status, detail, instance, a stable code and a correlationId (also in the X-Correlation-Id header). An invalid input lists each field in errors[]. Unknown body fields and query parameters are refused, not ignored. The older members ok, error and message stay in the body for existing integrations. The assistant endpoint (/mcp) uses the same codes.

  • 600 requests per minute per workspace, shared by /api/v1 and /mcp. Authenticated responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; a 429 also carries Retry-After.
  • Request bodies: JSON, at most 1,048,576 bytes (1 MiB). A larger body answers 413, with or without a Content-Length.
  • Lists: page from 1, limit from 1 to 100.
API error codes
StatusCodeWhat it means
400VALIDATION_ERRORRequest validation failed. A query parameter, path parameter or body field is missing, has the wrong type, is out of range or is not a known field. errors[] names each one (pointer for body fields, parameter for query and path parameters). Fix the request; retrying it unchanged fails again.
400MALFORMED_JSONRequest body is not valid JSON. The body is empty or cannot be parsed as JSON. Send a JSON object with Content-Type: application/json.
400IDEMPOTENCY_KEY_INVALIDIdempotency-Key is invalid. The Idempotency-Key header must be 8-200 characters.
401UNAUTHORIZEDAuthentication required. The Authorization: Bearer ... header is missing, or the credential is unknown, revoked or expired: an API key (rl_live_...) for /api/v1, an OAuth access token for /mcp. Create a new API key under Settings → API keys, or connect the assistant again.
403FORBIDDENNot allowed. The key is valid but lacks the scope this operation needs (read, write or admin), or the user the key acts for does not have the permission. The message names what is missing.
403PLAN_REQUIREDPlan does not include the API. The workspace's plan does not include API access. API access is part of the Team plan and above.
404NOT_FOUNDNot found. The resource does not exist in the key's workspace, or the path is not part of the API. Records of other workspaces always answer 404.
405METHOD_NOT_ALLOWEDMethod not allowed. The path exists but not with this HTTP method. The Allow header lists the methods it accepts.
406NOT_ACCEPTABLENot acceptable. The Accept header does not allow a response this endpoint can send. /mcp needs Accept: application/json, text/event-stream.
409CONFLICTConflict. The request conflicts with an existing record, for example an asset tag that is already in use.
409INVALID_STATE_TRANSITIONStatus change not allowed. The action's workflow does not allow a change from its current status to the requested one. from and to name both; read the action again before deciding what to send.
409CHAIN_CONFLICTDecision chain is busy. Another decision was sealed at the same moment. Retry the request; with the same Idempotency-Key it is safe to retry.
409IDEMPOTENCY_KEY_IN_USEIdempotency-Key is still in use. A request with this Idempotency-Key is still being processed. Wait for it to finish, then retry with the same key to get its result.
413PAYLOAD_TOO_LARGERequest body too large. The request body is larger than 1 MiB (1,048,576 bytes), for /api/v1 and /mcp alike. maxBytes gives the limit. Split the request into smaller ones.
415UNSUPPORTED_MEDIA_TYPEUnsupported media type. The request body must be JSON: send Content-Type: application/json.
422IDEMPOTENCY_KEY_REUSEDIdempotency-Key reused with a different request. This Idempotency-Key was already used in the last 24 hours with a different body. Use a new key for a new request.
422REFERENCE_NOT_FOUNDReferenced record not found. A field refers to a record that does not exist in the key's workspace (for example parent_id). errors[].pointer names the field.
422DATE_EXCEEDS_MAXIMUMDate is later than allowed. The requested deferral date is later than the action's risk rank allows. max is the latest date allowed.
422INCIDENT_REFERENCE_REQUIREDIncident reference required. EMERGENCY_REPRIORITIZATION deferrals need supplementaryField.incident_reference.
422RISK_REEVAL_REQUIREDRisk re-evaluation required. A deferral needs riskReevalReference or a riskReevalConfirmationText of at least 20 characters.
422ACTION_NOT_DEFERRABLEAction cannot be deferred. The action has no valid risk rank, so no deferral limit can be worked out for it.
429RATE_LIMITEDToo many requests. The workspace sent more than 600 requests in a minute (/api/v1 and /mcp share the budget), an assistant connection made more than 50 changes in an hour, or too many requests with an invalid key came from one address. Wait for Retry-After seconds; X-RateLimit-Limit, -Remaining and -Reset show the budget.
500INTERNAL_ERRORInternal server error. Something failed on our side. The response carries a correlation id (instance, X-Correlation-Id); quote it when you contact support.
503SERVICE_UNAVAILABLEService temporarily unavailable. A service the API depends on is briefly unavailable. Retry after Retry-After seconds.

Endpoints with examples

Every operation with a call you can run as printed once RELIATIC_API_KEY is set in your shell. Replace the example ids with your own. The interactive reference below has the full request and response schemas.

Assets

GET /api/v1/assets

List assets. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/assets?criticality=HIGH&limit=25" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

POST /api/v1/assets

Create an asset. Scope: write.

curl -X POST "https://www.reliatic.com/api/v1/assets" \
  -H "Authorization: Bearer $RELIATIC_API_KEY" \
  -H "Idempotency-Key: create-p-101-2026-11-21" \
  -H "Content-Type: application/json" \
  -d '{"tag":"P-101","name":"Feed pump A","type":"equipment","criticality":"HIGH","location":"Unit 3"}'

GET /api/v1/assets/{assetId}

Get an asset. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/assets/3f0c9a52-7d2e-4b8a-9c41-2a6d5e8f1b70" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

Inspections

GET /api/v1/inspections

List inspections. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/inspections?asset_id=3f0c9a52-7d2e-4b8a-9c41-2a6d5e8f1b70&status=scheduled" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

Failure Modes

GET /api/v1/failure-modes

List failure modes. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/failure-modes?severity_min=7" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

GET /api/v1/failure-modes/{id}

Get a failure mode. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/failure-modes/c4a7e2d1-9b8f-4c3e-8a5d-6f1b0e2d7c93" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

RBI Assessments

GET /api/v1/rbi-assessments

List RBI assessments. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/rbi-assessments?risk_ranking=A" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

GET /api/v1/rbi-assessments/{id}

Get an RBI assessment. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/rbi-assessments/c4a7e2d1-9b8f-4c3e-8a5d-6f1b0e2d7c93" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

Risks

GET /api/v1/risks

List risks. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/risks?status=assessed&min_score=12" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

GET /api/v1/risks/{id}

Get a risk. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/risks/c4a7e2d1-9b8f-4c3e-8a5d-6f1b0e2d7c93" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

Actions

PATCH /api/v1/actions/{id}/status

Change an action's status. Scope: write.

curl -X PATCH "https://www.reliatic.com/api/v1/actions/8b1e4c7a-2f3d-4e9b-a6c5-0d7f2e1a9b34/status" \
  -H "Authorization: Bearer $RELIATIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"newStatus":"IN_PROGRESS","reason":"Crew assigned for the next shutdown."}'

POST /api/v1/actions/{id}/deferrals

Request a deferral. Scope: write.

curl -X POST "https://www.reliatic.com/api/v1/actions/8b1e4c7a-2f3d-4e9b-a6c5-0d7f2e1a9b34/deferrals" \
  -H "Authorization: Bearer $RELIATIC_API_KEY" \
  -H "Idempotency-Key: defer-action-2026-11-21" \
  -H "Content-Type: application/json" \
  -d '{"requestedNewDate":"2027-03-31T00:00:00Z","rationaleCategory":"PRODUCTION_CONSTRAINT","rationaleText":"Unit cannot be taken down before the planned turnaround.","riskReevalConfirmationText":"Wall thickness trend re-checked; remaining life covers the new date."}'

GET /api/v1/actions/{id}/escalation-history

Get an action's escalation history. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/actions/8b1e4c7a-2f3d-4e9b-a6c5-0d7f2e1a9b34/escalation-history" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

Audit

GET /api/v1/audit/verify-chain

Verify the audit hash chain. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/audit/verify-chain?entityType=asset&entityId=3f0c9a52-7d2e-4b8a-9c41-2a6d5e8f1b70" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

POST /api/v1/audit/generate-package

Generate an audit package. Scope: write.

curl -X POST "https://www.reliatic.com/api/v1/audit/generate-package" \
  -H "Authorization: Bearer $RELIATIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"entityType":"asset","entityId":"3f0c9a52-7d2e-4b8a-9c41-2a6d5e8f1b70","from":"2026-01-01T00:00:00Z","to":"2026-11-21T00:00:00Z","format":"json"}'

Decisions

GET /api/v1/decisions

List decision records. Scope: read.

curl -X GET "https://www.reliatic.com/api/v1/decisions?page=1&limit=20" \
  -H "Authorization: Bearer $RELIATIC_API_KEY"

POST /api/v1/decisions

Seal a decision record. Scope: write.

curl -X POST "https://www.reliatic.com/api/v1/decisions" \
  -H "Authorization: Bearer $RELIATIC_API_KEY" \
  -H "Idempotency-Key: decision-p-101-2026-11-21" \
  -H "Content-Type: application/json" \
  -d '{"title":"Continue operation of P-101 until turnaround","category":"RISK_ACCEPTANCE","justification":"Vibration within alarm limits; spare pump available within 4 hours.","entity_type":"asset","entity_id":"3f0c9a52-7d2e-4b8a-9c41-2a6d5e8f1b70"}'

Collections and versioning

  • Postman collection (format v2.1): set the apiKey variable to your key.
  • Bruno: import the Postman collection or the OpenAPI document. The same requests as Bruno files are published under /api/collections/bruno/ (bruno.json, collection.bru, one .bru file per request).
  • Both collections and every example on this page are generated from the OpenAPI contract, so they change together. Versioning and deprecation policy.

Webhooks

A workspace admin adds webhook endpoints under Settings → Integrations. Reliatic sends a JSON POST with id, event, data and timestamp when one of the events below happens. Each event is delivered once, when it happens; answer with a 2xx status within 30 seconds. The delivery log in Settings shows every attempt and the status your endpoint returned.

Webhook events
EventSent whenFields in data
asset.createdAn asset is created in the portal.asset_id, tag_number
asset.updatedThe criticality of one or more assets is changed in bulk.asset_ids, field, value
asset.deletedAssets are deleted.asset_ids, count
inspection.completedAn inspection is completed or approved.inspection_id
risk.high_priorityA high-priority risk event is raised for an asset.event_id, asset_id, event_type, risk_id, snapshot
Webhook headers
HeaderValue
X-Reliatic-SignatureHex HMAC-SHA256 of {timestamp}.{raw body} with the endpoint's signing secret.
X-Reliatic-TimestampUnix time in seconds when the delivery was signed.
X-Webhook-EventThe event name, for example asset.created.
User-AgentReliatic-Webhooks/1.0

To verify a delivery, compute HMAC-SHA256 over the timestamp header, a dot and the raw request body with your signing secret, compare it to the signature header in constant time, and refuse a timestamp older than five minutes.

Interactive reference

Every request and response schema, browsable. It loads on request because it is large; the endpoint list above has every operation already.