sketchxflow-com Hosting API

The hosting API from sketchxflow-com — 11 operation(s) for hosting.

Operations 12

GET /api/features Get Features #
GET /api/projects/{project_id}/app-ops/analytics Get App Analytics #
GET /api/projects/{project_id}/hosting Get Hosting #
PUT /api/projects/{project_id}/hosting/keys Put Hosting Keys #
GET /api/git/connections Get Git Connections #
POST /api/git/{provider}/connect Post Git Connect #
DELETE /api/git/{provider} Delete Git Connection #
GET /api/projects/{project_id}/git Get Project Git #
POST /api/projects/{project_id}/git/sync Post Project Git Sync #
POST /api/projects/{project_id}/git/pull Post Project Git Pull #
GET /api/projects/{project_id}/code/file Get Code File #
PUT /api/projects/{project_id}/code/file Put Code File #

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-hosting-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-hosting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SketchXFlow Hosting API
  version: 0.1.0
tags:
- name: hosting
paths:
  /api/features:
    get:
      tags:
      - hosting
      summary: Get Features
      operationId: get_features_api_features_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/projects/{project_id}/app-ops/analytics:
    get:
      tags:
      - hosting
      summary: Get App Analytics
      description: 'Requests, errors and response time per hour, top routes and status codes, launches marked

        (services/app_build/analytics).'
      operationId: get_app_analytics_api_projects__project_id__app_ops_analytics_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: hours
        in: query
        required: false
        schema:
          type: integer
          default: 24
          title: Hours
      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}/hosting:
    get:
      tags:
      - hosting
      summary: Get Hosting
      operationId: get_hosting_api_projects__project_id__hosting_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      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}/hosting/keys:
    put:
      tags:
      - hosting
      summary: Put Hosting Keys
      operationId: put_hosting_keys_api_projects__project_id__hosting_keys_put
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KeysRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/git/connections:
    get:
      tags:
      - hosting
      summary: Get Git Connections
      operationId: get_git_connections_api_git_connections_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/git/{provider}/connect:
    post:
      tags:
      - hosting
      summary: Post Git Connect
      operationId: post_git_connect_api_git__provider__connect_post
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/git/{provider}:
    delete:
      tags:
      - hosting
      summary: Delete Git Connection
      operationId: delete_git_connection_api_git__provider__delete
      parameters:
      - name: provider
        in: path
        required: true
        schema:
          type: string
          title: Provider
      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}/git:
    get:
      tags:
      - hosting
      summary: Get Project Git
      operationId: get_project_git_api_projects__project_id__git_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      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}/git/sync:
    post:
      tags:
      - hosting
      summary: Post Project Git Sync
      description: The whole codebase (scrubbed, nothing of ours) as one commit in the person's own repository.
      operationId: post_project_git_sync_api_projects__project_id__git_sync_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/services__app_build__hosting_router__SyncRequest'
      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}/git/pull:
    post:
      tags:
      - hosting
      summary: Post Project Git Pull
      description: 'What changed in the person''s repository since our push: logic changes tested and kept (or refused, with

        the failing tests); other changes listed.'
      operationId: post_project_git_pull_api_projects__project_id__git_pull_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      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}/code/file:
    get:
      tags:
      - hosting
      summary: Get Code File
      operationId: get_code_file_api_projects__project_id__code_file_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      - name: path
        in: query
        required: true
        schema:
          type: string
          title: Path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - hosting
      summary: Put Code File
      description: Change one custom-logic file. It's checked (safety scan + every test) and kept only if all pass.
      operationId: put_code_file_api_projects__project_id__code_file_put
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodeSave'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    KeysRequest:
      properties:
        keys:
          additionalProperties:
            anyOf:
            - type: string
            - type: 'null'
          type: object
          maxProperties: 20
          title: Keys
      type: object
      required:
      - keys
      title: KeysRequest
    services__app_build__hosting_router__SyncRequest:
      properties:
        provider:
          type: string
          pattern: ^(github|gitlab)$
          title: Provider
        repo:
          type: string
          maxLength: 200
          minLength: 1
          title: Repo
        branch:
          type: string
          maxLength: 100
          minLength: 1
          title: Branch
          default: main
        create:
          type: boolean
          title: Create
          default: false
        overwrite:
          type: boolean
          title: Overwrite
          default: false
      type: object
      required:
      - provider
      - repo
      title: SyncRequest
    ConnectRequest:
      properties:
        token:
          type: string
          maxLength: 400
          minLength: 10
          title: Token
      type: object
      required:
      - token
      title: ConnectRequest
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CodeSave:
      properties:
        path:
          type: string
          maxLength: 200
          title: Path
        content:
          type: string
          maxLength: 40000
          title: Content
      type: object
      required:
      - path
      - content
      title: CodeSave