Zum Inhalt
HALOWERK

Finopswerk

published owner first hourly allocation

Check a complete one-hour fractional usage allocation against the published owner-first Compute Plan priority and monetary commitment across all supplied categorical uncertainty alternatives, preserving full ties as an allocation set. 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. Invalid input raises.

POST https://finops.halowerk.com/v1/published-owner-first-hourly-allocation

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
currencystringJa
ownerstringJa
budget_ticksintegerJa
sharing_enabledSiehe SchemaJa
usagearrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$"
    },
    "owner": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,16}$"
    },
    "budget_ticks": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "sharing_enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "usage": {
      "type": "array",
      "minItems": 0,
      "maxItems": 6,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "native_unit": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "account": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,16}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "eligible": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "units": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000
          },
          "on_demand_rate": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10000
          },
          "plan_rate": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10000
          },
          "claimed": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "numerator": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000000
              },
              "denominator": {
                "type": "integer",
                "minimum": 1,
                "maximum": 1000000
              }
            },
            "required": [
              "numerator",
              "denominator"
            ]
          }
        },
        "required": [
          "id",
          "native_unit",
          "account",
          "eligible",
          "units",
          "on_demand_rate",
          "plan_rate",
          "claimed"
        ]
      }
    }
  },
  "required": [
    "currency",
    "owner",
    "budget_ticks",
    "sharing_enabled",
    "usage"
  ]
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "currency": "USD",
  "owner": "OWN",
  "budget_ticks": 3,
  "sharing_enabled": true,
  "usage": [
    {
      "id": "R0",
      "native_unit": "unit",
      "account": "OWN",
      "eligible": true,
      "units": 2,
      "on_demand_rate": 2,
      "plan_rate": 1,
      "claimed": {
        "numerator": 2,
        "denominator": 1
      }
    },
    {
      "id": "R1",
      "native_unit": "unit",
      "account": "LINK",
      "eligible": true,
      "units": 2,
      "on_demand_rate": 4,
      "plan_rate": 1,
      "claimed": {
        "numerator": 1,
        "denominator": 1
      }
    }
  ]
}

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 →