Overwing CAD API
Overwing CAD: describe a mechanical part, get a parametric model and STEP and STL files. Paid per part over x402.
Overwing CAD: describe a mechanical part, get a parametric model and STEP and STL files. Paid per part over x402.
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/overwing-ai:overwing-ai-cad-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. 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: 3.2.0
info:
title: Overwing CAD API
version: 0.21.0
contact:
name: Overwing
email: support@overwing.ai
url: https://overwing.ai
x-guidance: 'To check text before it is sent or acted on, POST /api/x402/evaluate with {"input": "<text>"} and pay $0.002 in USDC over x402; branch on recommended_action in the response (block, redact, review, allow). The text can be in any language; responses are in English, and GET /api/v1/languages lists the languages tested. Add rule_set "outbound-message" and a context object (recipient, channel, owns_contact_info) when the text is a message to a known recipient. To identify a bot, GET /api/x402/atlas/lookup?user_agent=<string> for $0.001. To try either with no payment and no key, call POST /api/v1/evaluate or GET /api/v1/atlas/lookup with no Authorization header, 10 a day each. Everything under /api/v1 other than those two needs a key from POST /api/v1/signup. Full guide: /llms.txt.'
summary: Guardrails that check text before an agent sends it, open data on AI agents (Atlas), a check of whether a site is reachable by agents (Beacon), and clearance for agents on legacy systems (Tower).
description: 'Overwing makes five products, all in this API. Preflight (/api/v1/preflight): one check of an unsigned Solana transaction against the caller''s policy, answering allow or refuse before an agent signs it. Guardrails (/api/v1/evaluate): send any text and a rule set slug; receive a pass/fail/review verdict per rule and in aggregate, one recommended action (block, redact, review, allow) and calibrated confidence, typically in under 500 ms. Atlas (/api/v1/atlas): a registry of AI crawlers, fetchers and browser agents, and a lookup that says what a User-Agent claims to be and whether the claim can be verified. Beacon (/api/v1/beacon): one paid lookup that says whether a site is reachable by agents, that is whether they can find it, read it and use it; $1 over x402 at /api/x402/beacon, or $5 by card. Tower (/api/v1/tower): typed operations on legacy business systems, where each write is executed, sent to a person for review, or refused, with a signed receipt for every step; in pilot, against a mock adapter. POST /api/v1/evaluate and GET /api/v1/atlas/lookup work with no key, 10 calls a day each; everything else takes `Authorization: Bearer ow_live_...` from POST /api/v1/signup (Tower actions take an agent key, `ow_agent_...`). Every error is `{ "error": "..." }`. The same operations are available over MCP (hosted at /mcp, or the overwing-mcp npm package) and, for evaluate and lookup, over A2A at /a2a. Plain-text guide at /llms.txt; human-readable reference at /docs.'
servers:
- url: https://overwing.ai
security:
- bearerAuth: []
tags:
- name: CAD
description: 'Overwing CAD: describe a mechanical part, get a parametric model and STEP and STL files. Paid per part over x402.'
paths:
/api/x402/cad:
post:
tags:
- CAD
operationId: x402Cad
summary: Describe a part and get a parametric model with STEP and STL files, paid $0.50…
security: []
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.500000'
protocols:
- x402: {}
description: 'The answer is a replicad script (defaultParams + main, millimetres), its measurements, a page for the part (part_url: the part in 3D with download buttons, kept 30 days), direct download addresses (files_url), and base64 STEP and STL files when asked, all built and checked on the server. A script the kernel cannot build goes back to the model twice; a part that still fails is a 422 and is not charged. To change a part, POST again with the returned code and a prompt saying what should change.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- prompt
properties:
prompt:
type: string
maxLength: 4000
description: What to make, with dimensions in mm
code:
type: string
description: A script from an earlier answer to change
params:
type: object
additionalProperties: true
description: Parameter values to keep
files:
type: array
items:
type: string
enum:
- step
- stl
description: Files to include, base64; both by default
images:
type: array
maxItems: 3
items:
type: string
description: Reference photos or drawings as PNG, JPEG or WebP data URLs
responses:
'200':
description: The part
content:
application/json:
schema:
type: object
properties:
status:
type: string
title:
type: string
summary:
type: string
assumptions:
type: array
items:
type: string
code:
type: string
params:
type: object
additionalProperties: true
measurements:
type: object
properties:
size_mm:
type: array
items:
type: number
volume_mm3:
type: number
nullable: true
area_mm2:
type: number
nullable: true
part_url:
type: string
description: The part's page, kept 30 days
files_url:
type: object
additionalProperties:
type: string
description: File name to download address
expires_at:
type: string
files:
type: object
additionalProperties:
type: string
description: File name to base64 content
'402':
description: Payment required
'422':
description: The part could not be built; not charged
/api/v1/cad/jobs:
post:
tags:
- CAD
operationId: cadStartJob
summary: Start a part, paid from the account's credits (300 a part, given back if no…
description: 'The same part as POST /api/x402/cad. Answers at once with a job id and builds after the answer; read GET /api/v1/cad/jobs/{id} about every 20 seconds until status is complete or failed (a part takes one to three minutes). Do not start the same part again while it is building: GET /api/v1/cad/jobs lists the jobs of the account. To make a start safe to send again when no answer came back, send an Idempotency-Key header (or idempotency_key in the body): the same key with the same body within 24 hours answers 202 with the job already started and replayed: true, and charges nothing more; if that job failed, its credits went back and the same key starts the part again. At most two parts build at once per account. Needs a key that is not limited to evaluations.'
parameters:
- name: Idempotency-Key
in: header
required: false
schema:
type: string
maxLength: 255
pattern: ^[A-Za-z0-9_.:-]{1,255}$
description: 'Optional. Retrying with the same key and body within 24 hours returns the stored response (header Idempotency-Replayed: true) without re-running or re-charging. Same key with a different body returns 422; a still-running original returns 409.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- prompt
properties:
prompt:
type: string
minLength: 3
maxLength: 4000
description: What to make, with dimensions in mm; with from or code, what should change
from:
type: string
description: An earlier job of this account (cadj_...) or a part id (cadp_...) to start from
code:
type: string
description: A script of your own to change, in place of from
params:
type: object
additionalProperties: true
description: Parameter values to use
images:
type: array
maxItems: 3
items:
type: string
description: Reference photos or drawings as PNG, JPEG or WebP data URLs
import_step:
type: string
description: A STEP file to work on, base64, up to 4 MB
rebuild:
type: boolean
description: 'With import_step: write the file again as a parametric script, checked against the original'
idempotency_key:
type: string
maxLength: 255
pattern: ^[A-Za-z0-9_.:-]{1,255}$
description: The Idempotency-Key header, for a client that cannot set headers. If both are sent they must be the same
responses:
'202':
description: 'Started: id, status_url, credits spent and remaining, poll_after_seconds. With an idempotency key that already started a job: that first answer again, with replayed: true and the header Idempotency-Replayed: true'
content:
application/json:
schema:
$ref: '#/components/schemas/CadJob'
'400':
description: The request cannot be built from; nothing charged
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: 'Too few credits: what a part costs, the balance, and how the owner can add credits'
'409':
description: A request with this idempotency key is being started right now; ask again in a few seconds (Retry-After)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: The idempotency key was already used to start a different part
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Two parts are already building on this account (Retry-After)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
get:
tags:
- CAD
operationId: cadListJobs
summary: The account's recent jobs, newest first, with each part's page
parameters:
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 50
default: 20
responses:
'200':
description: jobs (id, status, title, part_url, error, status_url) and credits (per_part, balance)
content:
application/json:
schema:
type: object
properties:
jobs:
type: array
items:
$ref: '#/components/schemas/CadJob'
credits:
type: object
properties:
per_part:
type: integer
balance:
type: integer
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/cad/jobs/{id}:
get:
tags:
- CAD
operationId: cadJob
summary: 'A job: still building, complete with the part, or failed with the credits given…'
parameters:
- name: id
in: path
required: true
schema:
type: string
pattern: ^cadj_[A-Za-z0-9]{20}$
responses:
'200':
description: Complete (the script, measurements, checks, part_url, files_url, expires_at) or failed (error, error_status, credits_refunded)
content:
application/json:
schema:
$ref: '#/components/schemas/CadJob'
'202':
description: Still building; ask again in about 20 seconds (Retry-After)
'401':
description: Missing or invalid key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such job on this account
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/cad/parts/{id}:
get:
tags:
- CAD
operationId: cadPart
summary: 'A saved part: script, measurements, assumptions and file addresses (no key; the…'
security: []
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: The part
content:
application/json:
schema:
type: object
'404':
description: No such part, or expired
/api/v1/cad/parts/{id}/files/{name}:
get:
tags:
- CAD
operationId: cadPartFile
summary: One of a saved part's files (STEP or STL) as a download
security: []
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: name
in: path
required: true
schema:
type: string
responses:
'200':
description: The file
content:
model/step:
schema:
type: string
format: binary
model/stl:
schema:
type: string
format: binary
'404':
description: No such file, or expired
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable message
CadJob:
type: object
description: 'A part asked for with a key. building: status_url and poll_after_seconds. complete: title, summary, assumptions, code, params, measurements, checks, checks_passed, part_url, files_url, expires_at. failed: error, error_status, credits_refunded.'
properties:
id:
type: string
status:
type: string
enum:
- building
- complete
- failed
created_at:
type: string
finished_at:
type: string
nullable: true
status_url:
type: string
title:
type: string
part_url:
type: string
description: 'The part''s page: the part in 3D with download buttons, kept 30 days, no account needed'
files_url:
type: object
additionalProperties:
type: string
description: File name to download address
error:
type: string
next:
type: string
description: What to do now
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: ow_live_<32 hex>
description: 'API key from the dashboard, from POST /api/v1/api-keys, or from POST /api/v1/signup (one call, no browser). A key has a scope: full (every endpoint) or evaluate (POST evaluate and evaluate/batch, GET rule-sets, me, usage and the Atlas reads; everything else answers 403). Give agents an evaluate key.'