Commentary Draft reviews API

The Draft reviews API from Commentary — 14 operation(s) for draft reviews.

GitHub OpenAPI

Operations 20

GET /api/v1/draft-reviews List draft reviews owned by the account-scoped token principal #
POST /api/v1/draft-reviews Create a draft review session, optionally with initial file content #
POST /api/v1/draft-reviews/assets/prepare Prepare an actor-bound, expiring raster upload for a Draft review #
PUT /api/v1/draft-reviews/assets/{uploadId} Upload exactly the raster bytes declared by a prepared upload #
GET /api/v1/draft-reviews/{sessionId} Get a draft review session #
PATCH /api/v1/draft-reviews/{sessionId} Update draft review metadata or Git base metadata #
DELETE /api/v1/draft-reviews/{sessionId} Permanently delete a draft review from active Commentary storage #
GET /api/v1/draft-reviews/{sessionId}/files List draft review files #
GET /api/v1/draft-reviews/{sessionId}/files/{fileId}/content Download the latest content for a draft review file #
GET /api/v1/draft-reviews/{sessionId}/revisions List draft review revisions #
POST /api/v1/draft-reviews/{sessionId}/revisions Upload a new draft review revision from literal file content #
GET /api/v1/draft-reviews/{sessionId}/comments List comments for a draft review #
POST /api/v1/draft-reviews/{sessionId}/comments Create a comment thread on a draft review #
POST /api/v1/draft-reviews/{sessionId}/comments/{threadId}/replies Reply to a draft review comment #
POST /api/v1/draft-reviews/{sessionId}/comments/{threadId}/status Resolve or reopen a draft review comment #
GET /api/v1/draft-reviews/{sessionId}/events Stream draft review live events using Server-Sent Events #
GET /api/v1/draft-reviews/{sessionId}/shares List share links and access grants for a draft review #
POST /api/v1/draft-reviews/{sessionId}/shares Create a draft review share link #
DELETE /api/v1/draft-reviews/{sessionId}/shares/{shareLinkId} Revoke a draft review share link #
DELETE /api/v1/draft-reviews/{sessionId}/access/{accessGrantId} Remove a draft review access grant #

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/commentary-dev:commentary-dev-draft-reviews-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

commentary-dev-draft-reviews-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Commentary Dev Draft reviews API
  version: 0.1.0
  x-commentary-api-version: v1
  x-commentary-compatibility-policy: /docs/api/versioning.md
  x-commentary-feature-key: api.openapi_docs
  description: 'Operations tagged Draft reviews across 2 of this provider''s published API definitions: commentary-dev-openapi.json, commentary-dev-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://commentary.dev
  description: Configured Commentary origin.
- url: http://localhost:3000
  description: Local development.
tags:


# --- truncated at 32 KB (547 KB total) ---
# Full source: https://artifacts.apis.io/commentary-dev/openapi/commentary-dev-draft-reviews-api-openapi.yml