Skip to content
HALOWERK

Calculators and Rule Checks

service queue finite buffer

Finite queue admission identifies arrivals rejected when all workers and waiting places are occupied. Use it when an agent needs testing capacity limits at arrival time.

POST https://rechen.halowerk.com/v1/service-queue-finite-buffer

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
arrivals_sarrayYes
service_sarrayYes
workersintegerYes
waiting_placesintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "arrivals_s": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2592000
      },
      "maxItems": 200,
      "minItems": 1
    },
    "service_s": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 604800
      },
      "maxItems": 200,
      "minItems": 1
    },
    "workers": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32
    },
    "waiting_places": {
      "type": "integer",
      "minimum": 0,
      "maximum": 200
    }
  },
  "required": [
    "arrivals_s",
    "service_s",
    "workers",
    "waiting_places"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "arrivals_s": [
    0,
    0,
    0,
    0,
    0
  ],
  "service_s": [
    34,
    15,
    13,
    15,
    19
  ],
  "workers": 1,
  "waiting_places": 1
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "blocked_ids": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "admitted": {
          "type": "integer"
        },
        "lost_work_s": {
          "type": "integer"
        }
      },
      "required": [
        "blocked_ids",
        "admitted",
        "lost_work_s"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →