Skip to content
HALOWERK

Codewerk

jq run

Runs the official jq 1.7 binary as a child process with an empty environment, no file arguments, a 512 MB memory cap, 3 s CPU limit and 1 MB output limit; module imports (import/include) are rejected so no local files can be read. Returns every value the filter emits as a JSON array.

POST https://code.halowerk.com/v1/jq-run

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
filterstringYes
inputSee schemaYesJSON document passed on stdin.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "filter",
    "input"
  ],
  "properties": {
    "filter": {
      "type": "string",
      "minLength": 1,
      "maxLength": 5000
    },
    "input": {
      "description": "JSON document passed on stdin."
    }
  }
}

Open original schema

Published input example

{
  "filter": ".items[] | select(.price > 10) | .name",
  "input": {
    "items": [
      {
        "name": "A",
        "price": 5
      },
      {
        "name": "B",
        "price": 12
      }
    ]
  }
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’