iii-http-endpoints

Originally fromiii-hq/skills
Installation
SKILL.md

HTTP Endpoints

Comparable to: Express, Fastify, Flask

Key Concepts

Use the concepts below when they fit the task. Not every HTTP endpoint needs all of them.

  • Each route is a registered function bound to a path and method via an HTTP trigger
  • The handler receives an ApiRequest object containing body, path_params, headers, and method
  • Handlers return { status_code, body, headers } to shape the HTTP response
  • iii-http serves all registered routes on port 3111
  • Path parameters use colon syntax (e.g. /users/:id) and arrive in path_params
  • Middleware can run before handlers via middleware_function_ids in the trigger config — see iii-http-middleware for details

Architecture

HTTP request
  → iii-http (port 3111)
Related skills
Installs
42
Repository
iii-hq/iii
GitHub Stars
15.6K
First Seen
Apr 6, 2026