Gadget http routes API

Gadget http routes API as documented publicly: 9 operations. Contract generated from the documentation by API Evangelist (2026-10-29); not the provider's own document.

Operations 9

POST /blogs POST requests to /blogs matched by a route file at routes/blogs/POST.js #
GET /blogs/1 GET requests to /blogs/1 matched by a route file at routes/blogs/GET-[id].js #
GET /blogs/welcome-to-gadget GET requests to /blogs/welcome-to-gadget matched by a route file at routes/blogs/GET-[id].js #
GET /category/baking/blogs/5 GET requests to /category/baking/blogs/5 matched by a route file at routes/category/[category]/blogs/GET-[id].js #
GET /category/cooking/blogs/1 GET requests to /category/cooking/blogs/1 matched by a route file at routes/category/[category]/blogs/GET-[id].js #
GET /foo GET requests to /foo matched by a route file at routes/GET-foo.js #
POST /foo POST requests are not matched by routes/GET-foo.js #
GET /repos/foo GET requests to /repos/foo matched by a route file at routes/repos/GET-[...].js #
GET /repos/foo/bar/baz GET requests to /repos/foo/bar/baz matched by a route file at routes/repos/GET-[...].js #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gadget:http-routes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gadget-http-routes-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Gadget http routes API
  version: '2026-10-29'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-29: 9 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Gadget has published no machine-readable contract that the pipeline
    could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 11
    documentation: 12
    pages-with-code: 14
    pages-read: 17
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-29'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://docs.gadget.dev/guides/http-routes/route-structure
  x-docs-section: http-routes
paths:
  /blogs:
    post:
      operationId: post_blogs
      tags:
      - Blogs
      summary: POST requests to /blogs matched by a route file at routes/blogs/POST.js
      x-source: https://docs.gadget.dev/guides/http-routes/route-structure
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /blogs/1:
    get:
      operationId: get_blogs_1
      tags:
      - Blogs
      summary: GET requests to /blogs/1 matched by a route file at routes/blogs/GET-[id].js
      x-source: https://docs.gadget.dev/guides/http-routes/route-structure
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /blogs/welcome-to-gadget:
    get:
      operationId: get_blogs_welcome_to_gadget
      tags:
      - Blogs
      summary: GET requests to /blogs/welcome-to-gadget matched by a route file at routes/blogs/GET-[id].js
      x-source: https://docs.gadget.dev/guides/http-routes/route-structure
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /category/baking/blogs/5:
    get:
      operationId: get_category_baking_blogs_5
      tags:
      - Category
      summary: GET requests to /category/baking/blogs/5 matched by a route file at routes/category/[category]/blogs/GET-[id].js
      x-source: https://docs.gadget.dev/guides/http-routes/route-structure
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /category/cooking/blogs/1:
    get:
      operationId: get_category_cooking_blogs_1
      tags:
      - Category
      summary: GET requests to /category/cooking/blogs/1 matched by a route file at routes/category/[category]/blogs/GET-[id].js
      x-source: https://docs.gadget.dev/guides/http-routes/route-structure
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /foo:
    get:
      operationId: get_foo
      tags:
      - Foo
      summary: GET requests to /foo matched by a route file at routes/GET-foo.js
      x-source: https://docs.gadget.dev/guides/http-routes/route-structure
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_foo
      tags:
      - Foo
      summary: POST requests are not matched by routes/GET-foo.js
      x-source: https://docs.gadget.dev/guides/http-routes/route-structure
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /repos/foo:
    get:
      operationId: get_repos_foo
      tags:
      - Repos
      summary: GET requests to /repos/foo matched by a route file at routes/repos/GET-[...].js
      x-source: https://docs.gadget.dev/guides/http-routes/route-structure
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /repos/foo/bar/baz:
    get:
      operationId: get_repos_foo_bar_baz
      tags:
      - Repos
      summary: GET requests to /repos/foo/bar/baz matched by a route file at routes/repos/GET-[...].js
      x-source: https://docs.gadget.dev/guides/http-routes/route-structure
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
tags:
- name: Blogs
- name: Category
- name: Foo
- name: Repos