space-ocr-com Create API
The Create API from space-ocr-com — 1 operation(s) for create.
The Create API from space-ocr-com — 1 operation(s) for create.
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/space-ocr-com:space-ocr-com-create-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: space-ocr Public Create API
version: v2.9
description: spocr_* API keys. MySpace CRUD + OCR + webhooks.
servers:
- url: https://api.space-ocr.com
tags:
- name: Create
paths:
/create:
post:
summary: Create folder, sheet, doc bundle, or memo
security:
- BearerAuth: []
requestBody:
content:
application/json:
schema:
type: object
properties:
path:
type: string
pattern: ^\/(?:[^./#$\[\]/]+(?:\/[^./#$\[\]/]+)*)?\/?$
description: parent folder path
example: /invoices/2024/march
type:
type: string
enum:
- folder
- sheet
- memo
- doc
name:
type: string
minLength: 1
text:
type: string
columns:
type: array
items:
$ref: '#/components/schemas/ColumnSpec'
prompt:
type: string
mode:
type: string
enum:
- markdown
- text
description: Doc bundles only. "markdown" (default) converts each page to layout-preserving Markdown; "text" keeps the raw text.
required:
- path
- type
- name
responses:
'201':
description: Created
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
'401':
description: Unauthorized
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
'402':
description: Payment Required
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
'403':
description: Forbidden
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
'404':
description: Not Found
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
'413':
description: Payload Too Large
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
'429':
description: Too Many Requests
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
'500':
description: Internal Error
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
'502':
description: OCR engine error (charge auto-refunded)
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
'504':
description: OCR engine timeout (charge auto-refunded)
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
requestId:
type: string
required:
- code
- message
- requestId
details: {}
required:
- error
tags:
- Create
operationId: postCreate
x-operation-id-source: derived
components:
schemas:
ColumnSpec:
type: object
properties:
id:
type: string
name:
type: string
type:
type: string
description: '"string" (default) | "number" | "integer" | "date" | "array". Scalar types never reach the model — declaring one adds a parsed `normalized` value per cell and raises `type_mismatch` when the printed value won''t parse.'
description:
type: string
children:
type: array
items: {}
required:
type: boolean
description: 'Review declaration: report reason "missing" when this column comes back empty on an upload. Never shown to the model.'
label:
anyOf:
- type: string
- type: array
items:
type: string
description: Printed label to anchor this column's coordinates to when the value repeats on the page (string columns only, engine v64). Never shown to the model.
pattern:
anyOf:
- type: string
- type: array
items:
type: string
description: Regex the extracted value must match (string columns only, JSON-Schema partial-match semantics — anchor with ^…$ for whole-value). Array = any-one-matches. Violation → review reason `pattern_mismatch`. Never shown to the model.
min:
type: number
description: Inclusive lower bound for a number/integer column's normalized value. Violation → `out_of_range`.
max:
type: number
description: Inclusive upper bound for a number/integer column's normalized value. Violation → `out_of_range`.
enum:
type: array
items:
type: string
description: Allowed values (string columns only). A value outside the set raises review reason `pattern_mismatch`. Never shown to the model.
near:
anyOf:
- type: string
- type: array
items:
type: string
- type: object
properties:
terms:
anyOf:
- type: string
- type: array
items:
type: string
match:
type: string
required:
- terms
description: 'Vocabulary that must be printed beside the value — one term, a list, or { terms, match }. The check runs over every occurrence of the value: none beside a declared term → `near_mismatch`, one beside a term but not the copy the coordinates landed on → `near_ambiguous`. When the term itself is absent, `review.notes` reports `near_unresolved`. Never shown to the model.'
not_near:
anyOf:
- type: string
- type: array
items:
type: string
- type: object
properties:
terms:
anyOf:
- type: string
- type: array
items:
type: string
match:
type: string
required:
- terms
description: The mirror of `near` — vocabulary the value must NOT sit beside (登録番号/TEL/〒 on an addressee column). Sitting beside one raises `near_conflict`. Absence of the vocabulary is not a violation, so this never abstains. Never shown to the model.
review:
type: string
enum:
- normal
- 'off'
description: '"off" withholds engine-inferred review reasons for this column. Declared-rule violations (missing / pattern / range / enum / near) still report.'
required:
- name
- type
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: spocr_*