Deploy Order State Rollup
Count orders by state from a submitted batch
Tool
Just deployed
Deploy and Host Order State Rollup on Railway
Count orders by state from a submitted batch.
About Hosting Order State Rollup
This is a stateless JSON tool. Deploy it, copy TOOL_TOKEN from service variables and send it as an Authorization: Bearer header on POST /run. The /health endpoint is public and returns readiness only. Inputs are limited to 64 KiB. The application does not store requests or call a model.
Why Deploy Order State Rollup
Call a deterministic operation from an agent, workflow or application without an LLM API key.
Common Use Cases
- Count orders by state from a submitted batch.
- Insert a deterministic check or transformation in a workflow.
- Repeat the documented example in a regression check.
Dependencies for Order State Rollup
- Python 3.13 container and a Railway project.
- An HTTP client with your generated bearer token.
Example input for POST /run
{"orders": [{"state": "open"}, {"state": "closed"}]}
Expected response
{"result": {"open": 1, "closed": 1}}
The single process is intended for small internal workloads. Set concurrency and load limits upstream before serving high volume traffic.
Template Content
Tool
python:3.13-slim