systemd · Schema
systemd Unit
Canonical record returned by the systemd Manager when enumerating loaded units via ListUnits() on org.freedesktop.systemd1.
BootCgroupsContainerD-BusInitIPCJournalLinuxLoggingNetworkOpen-SourcePID 1Service ManagerSystemsystemdVarlink
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Unit name (e.g. nginx.service). |
| description | string | |
| load_state | string | Reflects whether the unit file was found and parsed. |
| active_state | string | Generalized state of the unit. |
| sub_state | string | Unit-type-specific state (e.g. running, exited, listening). |
| follower | stringnull | |
| object_path | string | D-Bus object path of the unit. |
| job_id | integer | |
| job_type | string | |
| job_object_path | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/systemd/refs/heads/main/json-schema/systemd1-unit-schema.json",
"title": "systemd Unit",
"description": "Canonical record returned by the systemd Manager when enumerating loaded units via ListUnits() on org.freedesktop.systemd1.",
"type": "object",
"required": ["name", "load_state", "active_state", "sub_state", "object_path"],
"properties": {
"name": { "type": "string", "description": "Unit name (e.g. nginx.service)." },
"description": { "type": "string" },
"load_state": {
"type": "string",
"enum": ["stub", "loaded", "not-found", "bad-setting", "error", "merged", "masked"],
"description": "Reflects whether the unit file was found and parsed."
},
"active_state": {
"type": "string",
"enum": ["active", "reloading", "inactive", "failed", "activating", "deactivating"],
"description": "Generalized state of the unit."
},
"sub_state": { "type": "string", "description": "Unit-type-specific state (e.g. running, exited, listening)." },
"follower": { "type": ["string", "null"] },
"object_path": { "type": "string", "description": "D-Bus object path of the unit." },
"job_id": { "type": "integer" },
"job_type": { "type": "string" },
"job_object_path": { "type": "string" }
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/systemd1-unit"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.