Mantic Webapp API
The Webapp API from Mantic — 2 operation(s) for webapp.
The Webapp API from Mantic — 2 operation(s) for webapp.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/mantic:mantic-webapp-api"
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.
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: 3.2.0
info:
title: Fast Webapp API
version: 0.1.0
tags:
- name: Webapp
paths:
/webapp/cancel_execution/{execution_id}:
post:
summary: Cancel Execution
operationId: cancel_execution_webapp_cancel_execution__execution_id__post
security:
- OAuth2AuthorizationCodeBearer: []
parameters:
- name: execution_id
in: path
required: true
schema:
type: integer
title: Execution Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Webapp
/webapp/usage:
get:
summary: Get Usage
description: Usage over the billing period containing `on`, the current one by default.
operationId: get_usage_webapp_usage_get
security:
- OAuth2AuthorizationCodeBearer: []
parameters:
- name: 'on'
in: query
required: false
schema:
anyOf:
- type: string
format: date
- type: 'null'
title: 'On'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/UsageResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Webapp
components:
schemas:
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
UsageTotals:
properties:
views:
type: integer
title: Views
default: 0
views_spend:
type: integer
title: Views Spend
default: 0
forecast_runs:
type: integer
title: Forecast Runs
default: 0
forecast_runs_spend:
type: integer
title: Forecast Runs Spend
default: 0
keep_alive:
type: integer
title: Keep Alive
default: 0
keep_alive_days:
type: integer
title: Keep Alive Days
default: 0
keep_alive_spend:
type: integer
title: Keep Alive Spend
default: 0
total:
type: integer
title: Total
type: object
required:
- total
title: UsageTotals
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
UsageBudget:
properties:
credits:
type: integer
title: Credits
billing_start_date:
type: string
format: date
title: Billing Start Date
period_start:
type: string
format: date
title: Period Start
period_end:
type: string
format: date
title: Period End
type: object
required:
- credits
- billing_start_date
- period_start
- period_end
title: UsageBudget
description: The organisation's credit pool and the billing period it covers.
UsageResponse:
properties:
metered:
type: boolean
title: Metered
scope:
type: string
enum:
- organisation
- user
title: Scope
organisation:
anyOf:
- $ref: '#/components/schemas/UsageOrganisation'
- type: 'null'
budget:
anyOf:
- $ref: '#/components/schemas/UsageBudget'
- type: 'null'
users:
items:
$ref: '#/components/schemas/UsageUserRow'
type: array
title: Users
totals:
anyOf:
- $ref: '#/components/schemas/UsageTotals'
- type: 'null'
type: object
required:
- metered
- scope
- organisation
- budget
- users
- totals
title: UsageResponse
description: Response body for ``GET /webapp/usage``. Unmetered organisations carry no figures.
UsageOrganisation:
properties:
id:
type: integer
title: Id
name:
type: string
title: Name
type: object
required:
- id
- name
title: UsageOrganisation
UsageUserRow:
properties:
views:
type: integer
title: Views
default: 0
views_spend:
type: integer
title: Views Spend
default: 0
forecast_runs:
type: integer
title: Forecast Runs
default: 0
forecast_runs_spend:
type: integer
title: Forecast Runs Spend
default: 0
keep_alive:
type: integer
title: Keep Alive
default: 0
keep_alive_days:
type: integer
title: Keep Alive Days
default: 0
keep_alive_spend:
type: integer
title: Keep Alive Spend
default: 0
user_id:
type: string
title: User Id
name:
type: string
title: Name
is_service_account:
type: boolean
title: Is Service Account
total:
type: integer
title: Total
type: object
required:
- user_id
- name
- is_service_account
- total
title: UsageUserRow
securitySchemes:
OAuth2AuthorizationCodeBearer:
type: oauth2
flows:
authorizationCode:
scopes: {}
authorizationUrl: https://app.mantic.com/auth/oauth2/authorize
tokenUrl: https://app.mantic.com/auth/oauth2/token