Zum Inhalt
HALOWERK

Agentenwerk

job runner

For work that outlives one HTTP response. You submit steps, each an HTTP request against a public address; the job is acknowledged at once and runs in the background, and the collected results are POSTed to your callback URL when finished. Every step reports its status, timing, response headers and body up to 256 KB, and a failing step never aborts the others. Price is 0.003 USDC per step, quoted before payment.

POST https://agent.halowerk.com/v1/job-runner

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
actionstringJaWhat to do.
stepsarrayNeinThe calls to make, in order. Required for submit.
callback_urlstringNeinPublic https URL that receives the finished job. Required for submit.
callback_header_namestringNeinOptional header sent with the callback.
callback_header_valuestringNeinValue for that header.
job_idstringNeinRequired for status and cancel.
tokenstringNeinThe token from submit. Required for status and cancel.
include_resultsbooleanNeinReturn the collected results with status as well as via callback.
notestringNeinFree label carried through.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "action"
  ],
  "additionalProperties": false,
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "submit",
        "status",
        "cancel"
      ],
      "description": "What to do."
    },
    "steps": {
      "type": "array",
      "minItems": 1,
      "maxItems": 50,
      "description": "The calls to make, in order. Required for submit.",
      "items": {
        "type": "object",
        "required": [
          "url"
        ],
        "additionalProperties": false,
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 2000,
            "description": "Public http or https address."
          },
          "method": {
            "type": "string",
            "enum": [
              "GET",
              "POST",
              "PUT",
              "HEAD"
            ],
            "default": "GET",
            "description": "HTTP method."
          },
          "headers": {
            "type": "object",
            "description": "Extra request headers."
          },
          "body": {
            "description": "Request body. Objects are sent as JSON."
          },
          "label": {
            "type": "string",
            "maxLength": 100,
            "description": "Name for this step in the result."
          }
        }
      }
    },
    "callback_url": {
      "type": "string",
      "maxLength": 2000,
      "description": "Public https URL that receives the finished job. Required for submit."
    },
    "callback_header_name": {
      "type": "string",
      "maxLength": 64,
      "description": "Optional header sent with the callback."
    },
    "callback_header_value": {
      "type": "string",
      "maxLength": 512,
      "description": "Value for that header."
    },
    "job_id": {
      "type": "string",
      "minLength": 8,
      "maxLength": 64,
      "description": "Required for status and cancel."
    },
    "token": {
      "type": "string",
      "minLength": 16,
      "maxLength": 128,
      "description": "The token from submit. Required for status and cancel."
    },
    "include_results": {
      "type": "boolean",
      "default": false,
      "description": "Return the collected results with status as well as via callback."
    },
    "note": {
      "type": "string",
      "maxLength": 200,
      "description": "Free label carried through."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "action": "submit",
  "include_results": 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 →