Zum Inhalt
HALOWERK

Iotwerk

edge compute bid

Filters caller-supplied bids by CPU, memory and latency constraints, computes workload cost from quoted unit prices, and ranks feasible candidates by total cost then latency. It does not contact providers, attest hardware or place a bid.

POST https://iot.halowerk.com/v1/edge-compute-bid

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
cpu_secondsnumberJa
memory_gb_secondsnumberJa
max_latency_msnumberJa
candidatesarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "cpu_seconds",
    "memory_gb_seconds",
    "max_latency_ms",
    "candidates"
  ],
  "additionalProperties": false,
  "properties": {
    "cpu_seconds": {
      "type": "number",
      "minimum": 0.001,
      "maximum": 1000000000
    },
    "memory_gb_seconds": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000
    },
    "max_latency_ms": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000
    },
    "candidates": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1000,
      "items": {
        "type": "object",
        "required": [
          "provider",
          "available_cpu_seconds",
          "available_memory_gb_seconds",
          "latency_ms",
          "price_per_cpu_second",
          "price_per_memory_gb_second"
        ],
        "additionalProperties": false,
        "properties": {
          "provider": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "available_cpu_seconds": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "available_memory_gb_seconds": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000000
          },
          "latency_ms": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "price_per_cpu_second": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "price_per_memory_gb_second": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          }
        }
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "cpu_seconds": 120,
  "memory_gb_seconds": 480,
  "max_latency_ms": 50,
  "candidates": [
    {
      "provider": "edge-a",
      "available_cpu_seconds": 300,
      "available_memory_gb_seconds": 1000,
      "latency_ms": 24,
      "price_per_cpu_second": 2e-05,
      "price_per_memory_gb_second": 4e-06
    },
    {
      "provider": "edge-b",
      "available_cpu_seconds": 1000,
      "available_memory_gb_seconds": 1000,
      "latency_ms": 41,
      "price_per_cpu_second": 1.5e-05,
      "price_per_memory_gb_second": 6e-06
    }
  ]
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://iot.halowerk.com/v1/edge-compute-bid/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

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 →