Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. 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.
openapi: 3.2.0
info:
description: ''
license:
name: ''
title: Wenmar Extractions API
version: 0.1.0
tags:
- name: Extractions
paths:
/extractions:
post:
operationId: extractions_create
requestBody:
content:
application/json:
schema:
properties:
attachment_ids:
default: []
description: 'The photos (attachment ids), 1 to 5, in page order; plan 3108: omit for pasted text'
items:
type: string
type: array
hint:
default: null
description: What the user expects to see, e.g. the supplier's name; optional
type:
- string
- 'null'
kind:
enum:
- packing_slip
- receipt
- vin_photo
- odometer_photo
type: string
text:
default: null
description: 'Plan 3108: text copied from a supplier''s website, e-mail or chat; instead of photos'
type:
- string
- 'null'
required:
- kind
type: object
required: false
responses:
'201':
content:
application/json:
schema:
type: object
description: the stored extraction (Idempotency-Key replays it)
'401':
description: unauthenticated
'403':
description: not authorized, a photo the user cannot see, or ai_data_sharing_off
'404':
description: a photo was not found
'422':
description: validation_failed, idempotency_key_reused or a photo is not a ready image
'503':
description: the model is unavailable for this account
security:
- bearer: []
tags:
- Extractions
summary: Extractions create
x-summary-source: derived
/extractions/{id}:
get:
operationId: extractions_show
parameters:
- description: the extraction id
in: path
name: id
required: true
schema:
format: int64
type: integer
responses:
'200':
content:
application/json:
schema:
type: object
description: the stored extraction
'401':
description: unauthenticated
'403':
description: not authorized or a photo the user cannot see
'404':
description: not found
security:
- bearer: []
tags:
- Extractions
summary: Extractions show
x-summary-source: derived
components:
securitySchemes:
bearer:
scheme: bearer
type: http