sketchxflow-com Canvas API

The canvas API from sketchxflow-com — 7 operation(s) for canvas.

Operations 7

GET /api/canvas/models Canvas Models #
POST /api/projects/{project_id}/pages/{slug}/canvas-video Canvas Video #
POST /api/projects/{project_id}/pages/{slug}/canvas-check Canvas Check Route #
POST /api/projects/{project_id}/canvas-media Canvas Media Upload #
GET /api/projects/{project_id}/history/{vid}/page/{slug} Version Page #
GET /api/projects/{project_id}/history/{vid}/diff/{slug} Version Diff #
POST /api/projects/{project_id}/pages/{slug}/frame-into Frame Into #

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/sketchxflow-com:sketchxflow-com-canvas-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

sketchxflow-com-canvas-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SketchXFlow Canvas API
  version: 0.1.0
tags:
- name: canvas
paths:
  /api/canvas/models:
    get:
      tags:
      - canvas
      summary: Canvas Models
      operationId: canvas_models_api_canvas_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/projects/{project_id}/pages/{slug}/canvas-video:
    post:
      tags:
      - canvas
      summary: Canvas Video
      operationId: canvas_video_api_projects__project_id__pages__slug__canvas_video_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/projects/{project_id}/pages/{slug}/canvas-check:
    post:
      tags:
      - canvas
      summary: Canvas Check Route
      description: 'Check design: the same rules agents get (services/canvas_check.lint) on

        what the editor measured; the phone width is rendered on the server when

        the render worker answers.'
      operationId: canvas_check_route_api_projects__project_id__pages__slug__canvas_check_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/projects/{project_id}/canvas-media:
    post:
      tags:
      - canvas
      summary: Canvas Media Upload
      description: 'A video for a video layer (mp4 / webm / mov, up to 60 MB), stored where

        a published page can play it. Pictures go through /api/upload-image.'
      operationId: canvas_media_upload_api_projects__project_id__canvas_media_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_canvas_media_upload_api_projects__project_id__canvas_media_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/projects/{project_id}/history/{vid}/page/{slug}:
    get:
      tags:
      - canvas
      summary: Version Page
      operationId: version_page_api_projects__project_id__history__vid__page__slug__get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: vid
        in: path
        required: true
        schema:
          type: string
          title: Vid
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/projects/{project_id}/history/{vid}/diff/{slug}:
    get:
      tags:
      - canvas
      summary: Version Diff
      operationId: version_diff_api_projects__project_id__history__vid__diff__slug__get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: vid
        in: path
        required: true
        schema:
          type: string
          title: Vid
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/projects/{project_id}/pages/{slug}/frame-into:
    post:
      tags:
      - canvas
      summary: Frame Into
      operationId: frame_into_api_projects__project_id__pages__slug__frame_into_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FrameIntoRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_canvas_media_upload_api_projects__project_id__canvas_media_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
      type: object
      required:
      - file
      title: Body_canvas_media_upload_api_projects__project_id__canvas_media_post
    FrameIntoRequest:
      properties:
        to:
          type: string
          maxLength: 120
          minLength: 1
          title: To
        target:
          type: string
          maxLength: 200
          minLength: 1
          title: Target
        x:
          type: number
          maximum: 100000.0
          minimum: -100000.0
          title: X
        y:
          type: number
          maximum: 100000.0
          minimum: -100000.0
          title: Y
        frame:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Frame
      type: object
      required:
      - to
      - target
      - x
      - y
      title: FrameIntoRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CheckRequest:
      properties:
        measured:
          additionalProperties: true
          type: object
          title: Measured
        phone:
          type: boolean
          title: Phone
          default: true
      type: object
      required:
      - measured
      title: CheckRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VideoRequest:
      properties:
        width:
          type: integer
          maximum: 2160.0
          minimum: 320.0
          title: Width
          default: 1440
        height:
          type: integer
          maximum: 2160.0
          minimum: 320.0
          title: Height
          default: 900
        gif:
          type: boolean
          title: Gif
          default: false
      type: object
      title: VideoRequest