Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

workflow / workflow circuit breaker admission transcript

An agent that controls autonomous provider calls needs claimed admissions checked against failure history cooldown half-open trial capacity and successful probe closure.

POST https://detect.halowerk.com/v1/workflow/workflow-circuit-breaker-admission-transcript

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "failure_threshold": {
          "type": "integer",
          "minimum": 1,
          "maximum": 128
        },
        "window_samples": {
          "type": "integer",
          "minimum": 1,
          "maximum": 128
        },
        "cooldown_ms": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "half_open_limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 16
        },
        "successes_to_close": {
          "type": "integer",
          "minimum": 1,
          "maximum": 16
        },
        "events": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "attempt"
                  },
                  "at": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "request": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 255
                  },
                  "claimed_admit": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "kind",
                  "at",
                  "request",
                  "claimed_admit"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "result"
                  },
                  "at": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "request": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 255
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "kind",
                  "at",
                  "request",
                  "success"
                ],
                "additionalProperties": false
              }
            ]
          },
          "minItems": 0,
          "maxItems": 512
        }
      },
      "required": [
        "failure_threshold",
        "window_samples",
        "cooldown_ms",
        "half_open_limit",
        "successes_to_close",
        "events"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "failure_threshold": 1,
    "window_samples": 4,
    "cooldown_ms": 10,
    "half_open_limit": 1,
    "successes_to_close": 1,
    "events": [
      {
        "kind": "attempt",
        "at": 0,
        "request": 0,
        "claimed_admit": true
      },
      {
        "kind": "result",
        "at": 1,
        "request": 0,
        "success": false
      },
      {
        "kind": "attempt",
        "at": 4,
        "request": 1,
        "claimed_admit": false
      }
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →