Zum Inhalt
HALOWERK

Finopswerk

lifecycle rule billing origin

Verify claimed lifecycle billing-phase origins from raw fixed Days/prefix rules and object creation facts, preserving permanent-expiration priority, shared activation uncertainty and the unresolved exact-midnight boundary despite delayed physical captures. Bounded caller-supplied synthetic records only; missing evidence remains unknown. No real account, experiment execution, price retrieval, fees or financial action. A schema-valid unknown is a successful result at the same fixed price..

POST https://finops.halowerk.com/v1/lifecycle-rule-billing-origin

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
through_atintegerJa
rulesarrayJa
objectsarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "through_at": {
      "type": "integer",
      "minimum": 0,
      "maximum": 2000000000
    },
    "rules": {
      "type": "array",
      "minItems": 0,
      "maxItems": 6,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "prefix": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{0,16}$"
          },
          "action": {
            "enum": [
              "archive",
              "expire"
            ]
          },
          "days": {
            "type": "integer",
            "minimum": 1,
            "maximum": 3650
          }
        },
        "required": [
          "id",
          "enabled",
          "prefix",
          "action",
          "days"
        ]
      }
    },
    "objects": {
      "type": "array",
      "minItems": 0,
      "maxItems": 8,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "key": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "created_at": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2000000000
          },
          "bytes": {
            "type": "integer",
            "minimum": 131072,
            "maximum": 1000000000
          },
          "physical_class": {
            "anyOf": [
              {
                "enum": [
                  "STANDARD",
                  "GLACIER"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "physical_present": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "claim": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "archive_start": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 2400000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "storage_stop": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 2400000000
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "archive_start",
              "storage_stop"
            ]
          }
        },
        "required": [
          "id",
          "key",
          "created_at",
          "bytes",
          "physical_class",
          "physical_present",
          "claim"
        ]
      }
    }
  },
  "required": [
    "through_at",
    "rules",
    "objects"
  ]
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "through_at": 1736553600,
  "rules": [
    {
      "id": "A",
      "enabled": true,
      "prefix": "job",
      "action": "archive",
      "days": 2
    },
    {
      "id": "E",
      "enabled": true,
      "prefix": "",
      "action": "expire",
      "days": 6
    }
  ],
  "objects": [
    {
      "id": "O",
      "key": "jobA",
      "created_at": 1735689601,
      "bytes": 262144,
      "physical_class": "STANDARD",
      "physical_present": true,
      "claim": {
        "archive_start": 1735948800,
        "storage_stop": 1736294400
      }
    }
  ]
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-05, 03:23 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →