LogoClawIndex
CasesSkillsAbout
LogoClawIndex

huma-endpoint - Huma REST API Endpoint Creation Guide

Create Huma API endpoints with routing, input/output structs, error handling, and OpenAPI documentation

Tags

Updated: 2026-03-22

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • register route
  • define input struct
  • define output struct
  • create GET endpoint
  • create POST endpoint
  • create PUT endpoint
  • create PATCH endpoint
  • create DELETE endpoint
  • handle error
  • log operation
  • document field

Inputs

  • API instance
  • route path
  • HTTP method
  • operation handler

Outputs

  • HTTP response
  • error response

Requirements

  • Huma framework
  • Go runtime
  • context.Context support

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
API
REST
Huma
Go
routing
register route
define input struct
define output struct
create GET endpoint
API instance
route path
HTTP method
HTTP response
error response