temp.md Previews API

The Previews API from temp.md — 3 operation(s) for previews.

Operations 5

GET /v1/previews List Previews belonging to the authenticated Application #
GET /v1/previews/{previewId} Get one Application-scoped Preview and its Versions #
DELETE /v1/previews/{previewId} Revoke a Preview and delete its artifacts #
GET /v1/previews/{previewId}/review-requests List review requests for a Preview #
POST /v1/previews/{previewId}/review-requests Freeze the current Version for signed review #

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/temp-md:temp-md-previews-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

temp-md-previews-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Temp.md Embedded Preview Platform Previews API
  version: 0.1.0
  description: Versioned partner API for creating and governing previews on behalf of opaque end customers. Application keys are server credentials; browser publishers must use short-lived publish grants.
servers:
- url: https://api.temp.md
tags:
- name: Previews
paths:
  /v1/previews:
    get:
      operationId: listPlatformPreviews
      summary: List Previews belonging to the authenticated Application
      security:
      - applicationBearer: []
      parameters:
      - name: external_project_id
        in: query
        schema:
          type: string
          maxLength: 200
      responses:
        '200':
          description: Application-scoped Preview list
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
      tags:
      - Previews
  /v1/previews/{previewId}:
    get:
      operationId: getPlatformPreview
      summary: Get one Application-scoped Preview and its Versions
      security:
      - applicationBearer: []
      parameters:
      - $ref: '#/components/parameters/PreviewId'
      responses:
        '200':
          description: Preview and Version history
        '404':
          $ref: '#/components/responses/Error'
      tags:
      - Previews
    delete:
      operationId: revokePlatformPreview
      summary: Revoke a Preview and delete its artifacts
      security:
      - applicationBearer: []
      parameters:
      - $ref: '#/components/parameters/PreviewId'
      responses:
        '200':
          description: Preview revoked
        '404':
          $ref: '#/components/responses/Error'
      tags:
      - Previews
  /v1/previews/{previewId}/review-requests:
    get:
      operationId: listReviewRequests
      summary: List review requests for a Preview
      security:
      - applicationBearer: []
      parameters:
      - $ref: '#/components/parameters/PreviewId'
      responses:
        '200':
          description: Version-bound review requests
        '404':
          $ref: '#/components/responses/Error'
      tags:
      - Previews
    post:
      operationId: createReviewRequest
      summary: Freeze the current Version for signed review
      security:
      - applicationBearer: []
      parameters:
      - $ref: '#/components/parameters/PreviewId'
      responses:
        '201':
          description: Review request and one-time viewer token
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
      tags:
      - Previews
components:
  schemas:
    Error:
      type: object
      required:
      - error
      - code
      properties:
        error:
          type: string
        code:
          type: string
        message:
          type: string
        request_id:
          type: string
  responses:
    Error:
      description: Structured error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    PreviewId:
      name: previewId
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    dashboardBearer:
      type: http
      scheme: bearer
      description: A Temp.md dashboard session or personal account API key.
    applicationBearer:
      type: http
      scheme: bearer
      bearerFormat: tempmd_app_<id>_<secret>
      description: Server-only Application key with explicit scopes.
    publishGrantBearer:
      type: http
      scheme: bearer
      bearerFormat: tempmd_grant_<id>_<secret>
      description: Short-lived, one-session delegated publishing authority.
    reviewBearer:
      type: http
      scheme: bearer
      bearerFormat: tempmd_view_<id>_<secret>
      description: Short-lived viewer capability bound to one frozen review request.