LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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-response-standardization - Standardize API Response Format

Standardizes API success and error responses in unified JSON format with success, data/error and timestamp fields.

Tags

Updated: 2026-05-09

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • standardize success responses
  • standardize error responses
  • create API envelope
  • create global filter
  • handle exceptions
  • wrap HTTP responses
  • return error responses
  • log exceptions
  • map exceptions
  • configure JSON settings

Inputs

  • HTTP endpoint responses
  • exception objects
  • controller action results
  • error codes
  • error messages

Outputs

  • standardized JSON responses
  • success response envelopes
  • error response envelopes
  • HTTP status codes

Requirements

  • ASP.NET Core
  • C# 12 or higher

Source

  • Spec: SKILL.md
API
Response Format
Standardization
Middleware
Error Handling
ASP.NET Core
standardize success responses
standardize error responses
create API envelope
create global filter
HTTP endpoint responses
exception objects
controller action results
standardized JSON responses
success response envelopes
error response envelopes