FleetSpecRequest
A satellite service's declarative run-spec (specs/fleet-spec/v0.1; v0.2 adds `kind: "router"`, `host`, `image_digest` and the `router{}` block — all optional and omitted from the stored record when unset, so v0.1 records are unchanged). The collector owns these so a removed fleet is rebuildable from the main service; secrets are refs only (see SecretRef).
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| kind | string | |
| host | object | |
| image_digest | object | |
| router | object | |
| image | string | |
| desired | string | |
| build | object | |
| entrypoint | object | |
| cmd | array | |
| user | object | |
| hostname | object | |
| network | object | |
| restart | string | |
| env | object | |
| secret_refs | array | |
| volumes | array | |
| ports | array | |
| depends_on | array | |
| replicas | object | |
| holder | object | |
| env_tokens | object | |
| description | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/session-exchange-com/json-schema/session-exchange-com-fleet-spec-request-schema.json",
"title": "FleetSpecRequest",
"description": "A satellite service's declarative run-spec (specs/fleet-spec/v0.1; v0.2 adds\n`kind: \"router\"`, `host`, `image_digest` and the `router{}` block — all optional\nand omitted from the stored record when unset, so v0.1 records are unchanged).\nThe collector owns these so a removed fleet is rebuildable from the main\nservice; secrets are refs only (see SecretRef).",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/session-exchange-com-openapi.json#/components/schemas/FleetSpecRequest",
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"pattern": "^[a-z][a-z0-9_.-]*$",
"title": "Name"
},
"kind": {
"type": "string",
"enum": [
"container",
"pool",
"oauth_holder",
"router"
],
"title": "Kind",
"default": "container"
},
"host": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"title": "Host"
},
"image_digest": {
"anyOf": [
{
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$"
},
{
"type": "null"
}
],
"title": "Image Digest"
},
"router": {
"anyOf": [
{
"$ref": "#/$defs/RouterBlock"
},
{
"type": "null"
}
]
},
"image": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"title": "Image"
},
"desired": {
"type": "string",
"enum": [
"running",
"stopped"
],
"title": "Desired",
"default": "running"
},
"build": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Build"
},
"entrypoint": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Entrypoint"
},
"cmd": {
"items": {
"type": "string"
},
"type": "array",
"title": "Cmd"
},
"user": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "User"
},
"hostname": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"title": "Hostname"
},
"network": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Network"
},
"restart": {
"type": "string",
"maxLength": 50,
"title": "Restart",
"default": "unless-stopped"
},
"env": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Env"
},
"secret_refs": {
"items": {
"$ref": "#/$defs/SecretRef"
},
"type": "array",
"title": "Secret Refs"
},
"volumes": {
"items": {
"type": "string"
},
"type": "array",
"title": "Volumes"
},
"ports": {
"items": {
"type": "string"
},
"type": "array",
"title": "Ports"
},
"depends_on": {
"items": {
"type": "string"
},
"type": "array",
"title": "Depends On"
},
"replicas": {
"anyOf": [
{
"type": "integer",
"maximum": 20.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Replicas"
},
"holder": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Holder"
},
"env_tokens": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Env Tokens"
},
"description": {
"type": "string",
"maxLength": 2000,
"title": "Description",
"default": ""
}
},
"type": "object",
"required": [
"name",
"image"
],
"$defs": {
"RouterBlock": {
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}$",
"title": "Id"
},
"role": {
"type": "string",
"enum": [
"fleet",
"customer",
"internal",
"staging"
],
"title": "Role"
},
"env": {
"type": "string",
"enum": [
"prod",
"staging"
],
"title": "Env",
"default": "prod"
},
"channel": {
"type": "string",
"enum": [
"stable",
"canary"
],
"title": "Channel",
"default": "stable"
},
"pool": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Pool"
},
"region": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Region"
},
"producer": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"title": "Producer"
},
"status": {
"type": "string",
"enum": [
"provisioning",
"active",
"draining",
"disabled",
"retired"
],
"title": "Status",
"default": "provisioning"
},
"weight": {
"type": "integer",
"maximum": 10000.0,
"minimum": 0.0,
"title": "Weight",
"default": 0
},
"edge": {
"$ref": "#/$defs/RouterEdge"
},
"owner_operator": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Owner Operator"
},
"gate_profile": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Gate Profile"
},
"expected": {
"$ref": "#/$defs/RouterExpected"
},
"expect": {
"$ref": "#/$defs/RouterExpect"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"role",
"producer"
],
"title": "RouterBlock",
"description": "fleet-spec v0.2 `router{}` block (router-fleet PLAN C1). Required iff\n`kind == \"router\"`; the cross-field rules (env allow-list, secret env_keys) live\nin `collector/router_registry.py`."
},
"RouterEdge": {
"properties": {
"unique_host": {
"anyOf": [
{
"type": "string",
"maxLength": 253
},
{
"type": "null"
}
],
"title": "Unique Host"
},
"aliases": {
"items": {
"type": "string"
},
"type": "array",
"maxItems": 32,
"title": "Aliases"
},
"meta": {
"items": {
"type": "string"
},
"type": "array",
"maxItems": 32,
"title": "Meta"
},
"public_ips": {
"items": {
"type": "string"
},
"type": "array",
"maxItems": 32,
"title": "Public Ips"
},
"type": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Type"
},
"trusted_proxies": {
"items": {
"type": "string"
},
"type": "array",
"maxItems": 32,
"title": "Trusted Proxies"
},
"tls_mode": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Tls Mode"
}
},
"additionalProperties": false,
"type": "object",
"title": "RouterEdge",
"description": "fleet-spec v0.2 `router.edge` — how the router is reached (02 §P1)."
},
"RouterExpect": {
"properties": {
"env_names_sha256": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"title": "Env Names Sha256"
},
"config_fingerprint": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"title": "Config Fingerprint"
},
"build": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"title": "Build"
}
},
"additionalProperties": false,
"type": "object",
"title": "RouterExpect",
"description": "`router.expect` — fingerprints written by the deploy tool (03 §3.3 step 6)."
},
"RouterExpected": {
"properties": {
"posture": {
"additionalProperties": true,
"type": "object",
"title": "Posture"
}
},
"additionalProperties": false,
"type": "object",
"title": "RouterExpected",
"description": "`router.expected` — the posture the router MUST report (heartbeat drift input)."
},
"SecretRef": {
"properties": {
"env_key": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"title": "Env Key"
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"title": "Name"
}
},
"type": "object",
"required": [
"env_key",
"name"
],
"title": "SecretRef",
"description": "A secret injected into a fleet resource BY NAME (specs/fleet-spec/v0.1).\nThe collector stores the ref only — the host-side executor resolves `name` to\nthe actual secret (e.g. /root/.polaris/<name>.txt) at run time. Never a value."
}
}
}
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
curl "https://apis.io/api/v1/json-schemas/session-exchange-com-fleet-spec-request"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. 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.