iii-rest-api

Create RESTful APIs and HTTP endpoints with iii-sdk or Motia in TypeScript and Python.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/iii-hq/skills --skill iii-rest-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iii-rest-api
Source: https://github.com/iii-hq/skills/tree/main/iii-rest-api
Command: npx skills add https://github.com/iii-hq/skills --skill iii-rest-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the creation of REST APIs and HTTP endpoints by replacing traditional frameworks with a function-and-trigger model, streamlining development and deployment.

Core Features & Use Cases

  • HTTP Endpoint Creation: Define GET, POST, PUT, DELETE, and other HTTP methods.
  • Request/Response Handling: Validate request bodies, parse path parameters, and return structured responses.
  • Use Case: Quickly set up a new API route to handle user registration, including request body validation and a custom success response.

Quick Start

Use the iii-rest-api skill to create a GET endpoint at '/users/:id' that returns user data.

Frequently Asked Questions about iii-rest-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a REST API endpoint for handling HTTP requests?

To create a REST API endpoint, you define HTTP methods like GET or POST using a function-and-trigger model. This approach replaces traditional web server frameworks, streamlining route definition, request body parsing, and structured responses in TypeScript or Python.

Can I validate request bodies and parse path parameters in a REST API?

Yes, validating request bodies and parsing path parameters is supported natively. When building REST APIs, the system handles schema validation for incoming payloads and extracts path variables automatically to ensure structured error responses.

What is the best way to build a web server or API gateway using TypeScript?

The best way to build a web server or API gateway is using the function-and-trigger model provided by the iii-sdk. It allows you to define RESTful API routes directly in TypeScript or Python without relying on traditional server frameworks.

Does the iii framework support both Python and TypeScript for microservices?

Yes, the iii framework supports both TypeScript and Python for building microservices. You can define HTTP endpoints and handle web server logic in either language, facilitating seamless API creation within the iii ecosystem.

How do I return structured error responses from an HTTP endpoint?

Structured error responses are handled automatically during request body validation. When parsing fails or invalid data hits your HTTP endpoint, the API logic generates consistent structured errors instead of crashing the web server.