Raku System API
The system API from Raku — 2 operation(s) for system.
The system API from Raku — 2 operation(s) for system.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/raku-so:raku-so-system-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Raku So System API
version: 0.1.0
description: 'Operations tagged system across 2 of this provider''s published API definitions: openapi.json, raku-so-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: System
paths:
/health:
get:
tags:
- System
summary: Health
description: 'Liveness probe — always HTTP 200 if the process is responding.
Body shape splits on bearer-key validity:
Unauthenticated: {status, version}.
Authenticated: {status, version, memory:{...}, circuits:{...}}.
`status` is "degraded" if and only if the RSS hysteresis state
machine is in `killed` — a process-wide, tenant-agnostic condition.
The HTTP status code stays 200 in both cases (RKU-58 liveness
contract). For the platform-level cycle signal on hard kill, see
/ready below.'
operationId: health_health_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/HealthResponse'
/ready:
get:
tags:
- System
summary: Ready
description: 'Readiness probe — registry, model, AND hysteresis must all be green.
Returns 200 with status="ready" once the registry can be queried,
(in prod) the GLiNER2 model has finished loading, and the RSS
hysteresis is not in `killed`. Returns 503 with status="not_ready"
and a reason otherwise.
The killed-hysteresis branch is the platform-level cycle signal —
Fly''s grace_period on /ready gives the process a window to drop
out of `killed`, and if it can''t, Fly cycles the machine. RKU-65
§4.6.'
operationId: ready_ready_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ReadyResponse'
components:
schemas:
ReadyResponse:
properties:
status:
type: string
title: Status
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
type: object
required:
- status
title: ReadyResponse
description: Response from /ready endpoint.
HealthResponse:
properties:
status:
type: string
title: Status
version:
type: string
title: Version
memory:
anyOf:
- $ref: '#/components/schemas/MemoryStatus'
- type: 'null'
description: Process memory snapshot (authenticated callers only)
circuits:
anyOf:
- additionalProperties:
type: string
type: object
- type: 'null'
title: Circuits
description: External-service circuit states (authenticated callers only)
type: object
required:
- status
- version
title: HealthResponse
description: "Response from /health endpoint.\n\nShape splits on whether a valid bearer token was provided:\n - Unauthenticated: only `status` and `version` are populated.\n - Authenticated: `memory` and `circuits` are also populated with\n the requesting tenant's view of process state.\n\n`status` is \"ok\" by default; transitions to \"degraded\" only when the\nRSS hysteresis state machine is in `killed` — a process-wide\ncondition that affects all tenants regardless. Per-tenant degradation\nsurfaces via the future `pipeline_status` field on memory responses\n(R2.53b), not here. RKU-65 §10."
MemoryStatus:
properties:
rss_mb:
type: number
title: Rss Mb
description: Current process RSS in MB
rss_limit_mb:
type: integer
title: Rss Limit Mb
description: Total machine memory in MB
rss_percent:
type: number
title: Rss Percent
description: RSS as percentage of limit
hysteresis_state:
type: string
title: Hysteresis State
description: permitted | skipping | killed | unknown
type: object
required:
- rss_mb
- rss_limit_mb
- rss_percent
- hysteresis_state
title: MemoryStatus
description: 'RSS + hysteresis-state snapshot for the authenticated /health response.
Reported in megabytes against the machine''s total physical memory,
machine-read via psutil at request time (R2.61) — tracks Fly.io
machine resizes automatically. RKU-65 §10.2.'
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- openapi.json
- raku-so-openapi.json