Nittim Audit API

The Audit API from Nittim — 1 operation(s) for audit.

GitHub OpenAPI

Operations 1

GET /api/v1/audit/{id} Poll a Deep audit job (repo-fetched or posted-source — same route either way) #

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/nittim-com:nittim-com-audit-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

nittim-com-audit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: nittim — posted-source Audit API
  version: 1.0.0
  description: 'Audit or scan source you post directly (no GitHub repository required) — the REST twin of the audit_source/scan_source MCP tools. For a platform that only speaks plain HTTP (Abacus, Zapier, a custom agent framework), this is the minimal surface: post your files, get a verdict-bearing Deep AI job or an inline free scan back. See https://nittim.com/agents for the full walkthrough.'
servers:
- url: https://nittim.com
security:
- bearerAuth: []
tags:
- name: Audit
paths:
  /api/v1/audit/{id}:
    get:
      operationId: getAudit
      summary: Poll a Deep audit job (repo-fetched or posted-source — same route either way)
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: The job id returned by auditRepo or auditSource.
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - markdown
          - digest
          - sarif
        description: Omit for the JSON job envelope. "markdown" or "digest" return text/markdown; "sarif" returns SARIF 2.1.0 for code-scanning tools.
      - name: baseline
        in: query
        required: false
        schema:
          type: string
          enum:
          - auto
        description: '"auto" fills the JSON envelope''s `prev_report` with the newest earlier audit of the same repo IN YOUR HISTORY — your own audits plus any org''s you belong to (an org-scoped key narrows this to that one org); a posted-source/uploaded snapshot''s baseline is your own prior upload of that exact name only, never a teammate''s. Only applies when the report names no explicit baseline already (meta.comparedToReportId, set by naming prevReportId on the original audit request) — an explicit baseline always wins. Ignored for format=markdown/digest/sarif. Omit to get prev_report only when you named one explicitly; without it, an ordinary poll never carries a second full report.'
      responses:
        '200':
          description: The job's current state — "running" (poll again), "error", or the finished report.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatus'
        '404':
          description: No job with this id, or it's a private report you don't own.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      tags:
      - Audit
components:
  schemas:
    ErrorBody:
      type: object
      properties:
        error:
          type: string
        checkoutPath:
          type: string
        rateLimited:
          type: boolean
    JobStatus:
      type: object
      description: 'Shape varies by status: ''running'' carries only id/status/created_at; ''error'' adds an error string; a finished job adds verdict/scores/report/display/markdown.'
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - running
          - error
          - done
        created_at:
          type: string
          format: date-time
        error:
          type: string
        verdict:
          type: string
          enum:
          - production_ready
          - ready_with_conditions
          - high_risk
          - not_safe
          - not_audited
          description: 'The four rated verdicts, best to worst, plus `not_audited`: the AI step was paused for that run, so nothing was rated (scores are 0, `meta.aiDisabled` is true, deterministic findings are still listed). `not_audited` is not a rung on the ladder and is never a pass.'
        executive_risk_score:
          type: integer
        report_url:
          type: string
          format: uri
        report:
          type:
          - object
          - 'null'
          description: The finished AuditReport (present once status is "done"; full shape rendered at https://nittim.com/report/{id}). `report.meta.filesAudited` and, when this deployment recorded it, `report.meta.eligibleFilesSeen` say how much of the eligible tree this run actually read — the same pair the digest's coverage sentence and https://nittim.com/report/{id} both derive their percentage from (floor(filesAudited / eligibleFilesSeen, falling back to filesSeen when eligibleFilesSeen is absent) * 100). `report.meta.truncated` is true when that fell short of the whole eligible set.
        coverage:
          type:
          - object
          - 'null'
          description: The same filesAudited/eligibleFilesSeen pair `report.meta` carries, plus the ready-to-use percentage already computed off the same eligible-aware denominator (the identical arithmetic the `report` field above documents) — so a caller doesn't have to re-derive it from meta. Present alongside `report` once status is "done"; absent otherwise. `eligibleFilesSeen` is null on a report from before this deployment recorded it.
          properties:
            filesAudited:
              type: integer
            eligibleFilesSeen:
              type:
              - integer
              - 'null'
            pct:
              type:
              - integer
              - 'null'
              description: Null only when the percentage is genuinely uncomputable (no files seen at all).
        prev_report:
          type:
          - object
          - 'null'
          description: The baseline this report is compared against — same shape as `report`. Present when the request named an explicit prevReportId at audit time, or (only with `?baseline=auto`) the newest earlier same-repo audit in your history was found and you're entitled to read it. Null when there's no baseline to show. Diff it against `report` client-side, the same way https://nittim.com/report/{id} does.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: nittim_sk_…
      description: 'A nittim API key (Authorization: Bearer nittim_sk_…). Mint one at https://nittim.com/keys.'