Nifra API

Nifra API as documented publicly: 19 operations. Contract generated from the documentation by API Evangelist (2026-11-19); not the provider's own document.

GitHub OpenAPI

Operations 19

GET /__nifra/revalidate On-demand revalidation endpoint #
POST /__nifra/revalidate POST /__nifra/revalidate #
POST /_nifra/fn/todos/addTodo A server function is a public POST endpoint, so the starter policy already covers it. #
GET /api/me GET /api/me #
POST /api/sync POST /api/sync #
GET /archive/{archiveId} GET /archive/:year?/:month? #
GET /archive/{archiveId}/{id} GET /archive/:year?/:month? #
GET /charge GET /charge #
POST /charge Idempotency - idempotency() middleware #
GET /me GET /me returns the principal #
POST /notes POST /notes evidence exceeds its declaration: db.write #
GET /openapi.json The openapi() middleware builds an OpenAPI 3.1 document from your registered routes and their schemas - generated lazily on first request, never hand-written. #
GET /orders Tracing & observability #
GET /reference The openapi() middleware builds an OpenAPI 3.1 document from your registered routes and their schemas - generated lazily on first request, never hand-written. #
POST /rows Create a row #
PATCH /rows/{id} Patch a row #
POST /session/create POST /session/create #
GET /users GET /users/:id? #
GET /users/{id} GET /users/:id? #

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/nifra-dev:nifra-dev-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

nifra-dev-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Nifra API
  version: '2026-11-19'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-19: 19 operation(s) read from 15 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; Nifra has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 2
    documentation: 17
    pages-with-code: 2
    pages-read: 15
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-19'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://nifra.dev/docs/api
  - https://nifra.dev/docs/control-api
  - https://nifra.dev/docs/backends
  - https://nifra.dev/docs/security
  - https://nifra.dev/docs/types-first
  - https://nifra.dev/docs/testing
  - https://nifra.dev/docs/comparison
  - https://nifra.dev/docs/server-functions
  - https://nifra.dev/docs/observability
  - https://nifra.dev/docs/plugins
  - https://nifra.dev/docs/websockets
  - https://nifra.dev/docs/verification
  - https://nifra.dev/docs/capabilities
  - https://nifra.dev/docs/causality
  - https://nifra.dev/docs/rendering
paths:
  /__nifra/revalidate:
    get:
      operationId: get_nifra_revalidate
      tags:
      - Nifra
      summary: On-demand revalidation endpoint
      x-source: https://nifra.dev/docs/rendering
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_nifra_revalidate
      tags:
      - Nifra
      summary: POST /__nifra/revalidate
      x-source: https://nifra.dev/docs/rendering
      parameters:
      - name: path
        in: query
        required: false
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST ''https://example.com/__nifra/revalidate?path=/posts/hello''  -H ''x-nifra-revalidate-token: $REVALIDATE_SECRET'' '
  /_nifra/fn/todos/addTodo:
    post:
      operationId: post_nifra_fn_todos_addTodo
      tags:
      - Nifra
      summary: A server function is a public POST endpoint, so the starter policy already covers it.
      x-source: https://nifra.dev/docs/server-functions
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostNifraFnTodosAddtodoRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/me:
    get:
      operationId: get_api_me
      tags:
      - Api
      summary: GET /api/me
      x-source: https://nifra.dev/docs/backends
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiMeResponse'
      x-evidence:
        kind: documentation
  /api/sync:
    post:
      operationId: post_api_sync
      tags:
      - Api
      summary: POST /api/sync
      x-source: https://nifra.dev/docs/backends
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiSyncRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiSyncResponse'
      x-evidence:
        kind: documentation
  /archive/{archiveId}:
    get:
      operationId: get_archive_archiveId
      tags:
      - Archive
      summary: GET /archive/:year?/:month?
      x-source: https://nifra.dev/docs/api
      parameters:
      - name: archiveId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /archive/{archiveId}/{id}:
    get:
      operationId: get_archive_archiveId_id
      tags:
      - Archive
      summary: GET /archive/:year?/:month?
      x-source: https://nifra.dev/docs/api
      parameters:
      - name: archiveId
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /charge:
    get:
      operationId: get_charge
      tags:
      - Charge
      summary: GET /charge
      x-source: https://nifra.dev/docs/causality
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch( \"https://billing.internal/charge\" , {\n headers: causalityHeaders(step.context),\n})"
    post:
      operationId: post_charge
      tags:
      - Charge
      summary: Idempotency - idempotency() middleware
      description: 'Creates a charge with idempotency protection. Returns a JSON object `{ ok: true, id }` on success (200). A concurrent retry
        returns 409 with `{ error: "idempotency_in_progress" }`. Transient 5xx are not cached.'
      x-source: https://nifra.dev/docs/security
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostChargeResponse'
      x-evidence:
        kind: documentation
  /me:
    get:
      operationId: get_me
      tags:
      - Me
      summary: GET /me returns the principal
      x-source: https://nifra.dev/docs/websockets
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /notes:
    post:
      operationId: post_notes
      tags:
      - Notes
      summary: 'POST /notes evidence exceeds its declaration: db.write'
      x-source: https://nifra.dev/docs/capabilities
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostNotesRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /openapi.json:
    get:
      operationId: get_openapi_json
      tags:
      - Openapi
      summary: The openapi() middleware builds an OpenAPI 3.1 document from your registered routes and their schemas - generated lazily on first
        request, never hand-written.
      x-source: https://nifra.dev/docs/types-first
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /orders:
    get:
      operationId: get_orders
      tags:
      - Orders
      summary: Tracing & observability
      x-source: https://nifra.dev/docs/observability
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /reference:
    get:
      operationId: get_reference
      tags:
      - Reference
      summary: The openapi() middleware builds an OpenAPI 3.1 document from your registered routes and their schemas - generated lazily on first
        request, never hand-written.
      x-source: https://nifra.dev/docs/types-first
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /rows:
    post:
      operationId: post_rows
      tags:
      - Rows
      summary: Create a row
      x-source: https://nifra.dev/docs/verification
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostRowsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /rows/{id}:
    patch:
      operationId: patch_rows_id
      tags:
      - Rows
      summary: Patch a row
      x-source: https://nifra.dev/docs/verification
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchRowsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /session/create:
    post:
      operationId: post_session_create
      tags:
      - Session
      summary: POST /session/create
      x-source: https://nifra.dev/docs/control-api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostSessionCreateRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostSessionCreateResponse'
      x-evidence:
        kind: documentation
  /users:
    get:
      operationId: get_users
      tags:
      - Users
      summary: GET /users/:id?
      x-source: https://nifra.dev/docs/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /users/{id}:
    get:
      operationId: get_users_id
      tags:
      - Users
      summary: GET /users/:id?
      x-source: https://nifra.dev/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostNifraFnTodosAddtodoRequest:
      type: object
      properties:
        text:
          type: string
          description: 'Todo text (minLength: 1)'
      required:
      - text
    GetApiMeResponse:
      type: object
      properties:
        id:
          type: string
    PostApiSyncRequest:
      type: object
      properties:
        cursor:
          type: string
      required:
      - cursor
    PostApiSyncResponse:
      type: object
      properties:
        applied:
          type: number
        nextCursor:
          type: string
    PostChargeResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: Indicates success
        id:
          type: string
          description: Identifier of the created charge
    PostNotesRequest:
      type: object
      properties:
        body:
          type: string
          description: The note to create
        capabilities:
          type: array
          description: List of required capabilities for the route
      required:
      - body
      - capabilities
    PostRowsRequest:
      type: object
      properties:
        title:
          type: string
      required:
      - title
    PatchRowsIdRequest:
      type: object
      properties:
        title:
          type: string
      required:
      - title
    PostSessionCreateRequest:
      type: object
      properties:
        cwd:
          type: string
      required:
      - cwd
    PostSessionCreateResponse:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          description: 'enum: idle, running'
tags:
- name: Api
- name: Archive
- name: Charge
- name: Me
- name: Nifra
- name: Notes
- name: Openapi
- name: Orders
- name: Reference
- name: Rows
- name: Session
- name: Users