Corvio Public API v1 - Local Markdown Sync API
The Public API v1 - Local Markdown Sync API from Corvio — 8 operation(s) for public api v1 - local markdown sync.
The Public API v1 - Local Markdown Sync API from Corvio — 8 operation(s) for public api v1 - local markdown sync.
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/corvio-ai:corvio-ai-public-api-v1-local-markdown-sync-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: Corvio Ai Public API v1 - Local Markdown Sync API
version: 1.0.0
x-agent-guidance:
discovery: GET /v1 before choosing an operation.
safe_mutations: Use Idempotency-Key for creates and expected_content_revision for document replacement.
question_results: Follow links in question resources; sources and artifacts contain stable Corvio resource IDs.
agent_events: Claim with a bounded lease; acknowledge only after durable Query and comment receipts exist.
official_skill: https://corvio.ai/developers/skills/corvio-operate-workspace/SKILL.md
official_skill_manifest: https://corvio.ai/developers/skills/corvio-operate-workspace/manifest.json
description: 'Operations tagged Public API v1 - Local Markdown Sync across 2 of this provider''s published API definitions: corvio-ai-openapi.json, corvio-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.corvio.ai
description: Production
- url: https://api.corvio.io
description: Staging
tags:
- name: Public API v1 - Local Markdown Sync
paths:
/v1/sync/sources:
post:
tags:
- Public API v1 - Local Markdown Sync
summary: Init Sync Source
operationId: init_sync_source_sync_sources_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncInitRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncSource'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- CorvioApiKey: []
servers:
- url: https://api.corvio.ai
description: Production
- url: https://api.corvio.io
description: Staging
/v1/sync/sources/{source_id}:
get:
tags:
- Public API v1 - Local Markdown Sync
summary: Get Sync Status
operationId: get_sync_status_sync_sources__source_id__get
security:
- CorvioApiKey: []
parameters:
- name: source_id
in: path
required: true
schema:
type: string
format: uuid
title: Source Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncStatusResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: https://api.corvio.ai
description: Production
- url: https://api.corvio.io
description: Staging
/v1/sync/sources/{source_id}/pull:
get:
tags:
- Public API v1 - Local Markdown Sync
summary: Pull Sync Source
operationId: pull_sync_source_sync_sources__source_id__pull_get
security:
- CorvioApiKey: []
parameters:
- name: source_id
in: path
required: true
schema:
type: string
format: uuid
title: Source Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncPullResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: https://api.corvio.ai
description: Production
- url: https://api.corvio.io
description: Staging
/v1/sync/plan:
post:
tags:
- Public API v1 - Local Markdown Sync
summary: Plan Sync
operationId: plan_sync_sync_plan_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncPlanRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncPlanResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- CorvioApiKey: []
servers:
- url: https://api.corvio.ai
description: Production
- url: https://api.corvio.io
description: Staging
/v1/sync/commit:
post:
tags:
- Public API v1 - Local Markdown Sync
summary: Commit Sync
operationId: commit_sync_sync_commit_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncCommitRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncCommitResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- CorvioApiKey: []
servers:
- url: https://api.corvio.ai
description: Production
- url: https://api.corvio.io
description: Staging
/v1/sync/push:
post:
tags:
- Public API v1 - Local Markdown Sync
summary: Push Sync File
operationId: push_sync_file_sync_push_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncPushRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncPushResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- CorvioApiKey: []
servers:
- url: https://api.corvio.ai
description: Production
- url: https://api.corvio.io
description: Staging
/v1/sync/conflicts/{conflict_id}:
get:
tags:
- Public API v1 - Local Markdown Sync
summary: Get Sync Conflict
operationId: get_sync_conflict_sync_conflicts__conflict_id__get
security:
- CorvioApiKey: []
parameters:
- name: conflict_id
in: path
required: true
schema:
type: string
format: uuid
title: Conflict Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncConflictResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: https://api.corvio.ai
description: Production
- url: https://api.corvio.io
description: Staging
/v1/sync/conflicts/{conflict_id}:resolve:
post:
tags:
- Public API v1 - Local Markdown Sync
summary: Resolve Sync Conflict
operationId: resolve_sync_conflict_sync_conflicts__conflict_id__resolve_post
security:
- CorvioApiKey: []
parameters:
- name: conflict_id
in: path
required: true
schema:
type: string
format: uuid
title: Conflict Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncResolveRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PublicSyncConflictResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: https://api.corvio.ai
description: Production
- url: https://api.corvio.io
description: Staging
components:
schemas:
PublicSyncPushResponse:
properties:
source_id:
type: string
format: uuid
title: Source Id
item:
$ref: '#/components/schemas/PublicSyncRemoteItem'
resolved_conflict_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Resolved Conflict Id
type: object
required:
- source_id
- item
title: PublicSyncPushResponse
PublicSyncPlanResponse:
properties:
source:
$ref: '#/components/schemas/PublicSyncSource'
actions:
items:
$ref: '#/components/schemas/PublicSyncPlanAction'
type: array
title: Actions
counts:
additionalProperties:
type: integer
type: object
title: Counts
type: object
required:
- source
- actions
- counts
title: PublicSyncPlanResponse
PublicSyncConflictResponse:
properties:
id:
type: string
format: uuid
title: Id
source_id:
type: string
format: uuid
title: Source Id
relative_path:
type: string
title: Relative Path
conflict_type:
type: string
title: Conflict Type
status:
type: string
title: Status
detail:
additionalProperties: true
type: object
title: Detail
remote:
anyOf:
- $ref: '#/components/schemas/PublicSyncRemoteItem'
- type: 'null'
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- source_id
- relative_path
- conflict_type
- status
- created_at
- updated_at
title: PublicSyncConflictResponse
PublicSyncPushRequest:
properties:
source_id:
type: string
format: uuid
title: Source Id
relative_path:
type: string
maxLength: 1024
minLength: 1
title: Relative Path
examples:
- corvio_docs/Sync example.md
markdown:
type: string
maxLength: 120000
title: Markdown
examples:
- '# Sync example
'
content_sha256:
type: string
maxLength: 64
minLength: 64
title: Content Sha256
description: Lowercase hexadecimal SHA-256 of the exact markdown field encoded as UTF-8, including whitespace and line endings. A mismatch is rejected; this is not a credential or revision guard.
examples:
- 4b7cf7c403d828f1f989eb47bfc6ae7a2dda46a0145810354c82084c77bb9670
mtime_ms:
anyOf:
- type: integer
- type: 'null'
title: Mtime Ms
page_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Page Id
expected_content_revision:
anyOf:
- type: integer
minimum: 0.0
- type: 'null'
title: Expected Content Revision
conflict_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Conflict Id
type: object
required:
- source_id
- relative_path
- markdown
- content_sha256
title: PublicSyncPushRequest
PublicSyncInitRequest:
properties:
root_node_id:
type: string
format: uuid
title: Root Node Id
folder_name:
type: string
maxLength: 260
minLength: 1
title: Folder Name
client_id:
type: string
maxLength: 120
minLength: 1
title: Client Id
type: object
required:
- root_node_id
- folder_name
- client_id
title: PublicSyncInitRequest
PublicSyncPlanRequest:
properties:
source_id:
type: string
format: uuid
title: Source Id
local:
items:
$ref: '#/components/schemas/PublicSyncManifestItem'
type: array
maxItems: 2000
title: Local
type: object
required:
- source_id
title: PublicSyncPlanRequest
PublicSyncPlanAction:
properties:
action:
type: string
enum:
- pull
- push
- unchanged
- conflict
- local_missing
title: Action
relative_path:
type: string
title: Relative Path
page_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Page Id
conflict_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Conflict Id
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
remote:
anyOf:
- $ref: '#/components/schemas/PublicSyncRemoteItem'
- type: 'null'
type: object
required:
- action
- relative_path
title: PublicSyncPlanAction
PublicSyncRemoteItem:
properties:
page_id:
type: string
format: uuid
title: Page Id
node_id:
type: string
format: uuid
title: Node Id
title:
type: string
title: Title
examples:
- Sync example
relative_path:
type: string
title: Relative Path
examples:
- corvio_docs/Sync example.md
markdown:
type: string
title: Markdown
examples:
- '# Sync example
'
content_sha256:
type: string
title: Content Sha256
description: Lowercase hexadecimal SHA-256 of the returned markdown encoded as UTF-8, including whitespace and line endings.
examples:
- 4b7cf7c403d828f1f989eb47bfc6ae7a2dda46a0145810354c82084c77bb9670
content_revision:
type: integer
title: Content Revision
type: object
required:
- page_id
- node_id
- title
- relative_path
- markdown
- content_sha256
- content_revision
title: PublicSyncRemoteItem
PublicSyncResolveRequest:
properties:
strategy:
type: string
const: use_remote
title: Strategy
type: object
required:
- strategy
title: PublicSyncResolveRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
PublicSyncCommitResponse:
properties:
source_id:
type: string
format: uuid
title: Source Id
updated:
type: integer
title: Updated
type: object
required:
- source_id
- updated
title: PublicSyncCommitResponse
PublicSyncManifestItem:
properties:
relative_path:
type: string
maxLength: 1024
minLength: 1
title: Relative Path
examples:
- corvio_docs/Sync example.md
content_sha256:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Content Sha256
description: Lowercase hexadecimal SHA-256 of the exact local Markdown UTF-8 bytes, including whitespace and line endings.
examples:
- 4b7cf7c403d828f1f989eb47bfc6ae7a2dda46a0145810354c82084c77bb9670
size_bytes:
anyOf:
- type: integer
minimum: 0.0
- type: 'null'
title: Size Bytes
examples:
- 15
mtime_ms:
anyOf:
- type: integer
- type: 'null'
title: Mtime Ms
page_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Page Id
type: object
required:
- relative_path
title: PublicSyncManifestItem
PublicSyncStatusResponse:
properties:
source:
$ref: '#/components/schemas/PublicSyncSource'
tracked_count:
type: integer
title: Tracked Count
open_conflict_count:
type: integer
title: Open Conflict Count
type: object
required:
- source
- tracked_count
- open_conflict_count
title: PublicSyncStatusResponse
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
PublicSyncCommitRequest:
properties:
source_id:
type: string
format: uuid
title: Source Id
items:
items:
$ref: '#/components/schemas/PublicSyncCommitItem'
type: array
maxItems: 2000
title: Items
type: object
required:
- source_id
title: PublicSyncCommitRequest
PublicSyncSource:
properties:
id:
type: string
format: uuid
title: Id
root_node_id:
type: string
format: uuid
title: Root Node Id
folder_name:
type: string
title: Folder Name
client_id:
anyOf:
- type: string
- type: 'null'
title: Client Id
mirror_root_dir:
type: string
title: Mirror Root Dir
default: corvio_docs
status:
type: string
title: Status
last_pull_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Pull At
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- root_node_id
- folder_name
- status
- created_at
- updated_at
title: PublicSyncSource
PublicSyncCommitItem:
properties:
page_id:
type: string
format: uuid
title: Page Id
node_id:
type: string
format: uuid
title: Node Id
relative_path:
type: string
maxLength: 1024
minLength: 1
title: Relative Path
examples:
- corvio_docs/Sync example.md
content_sha256:
type: string
maxLength: 64
minLength: 64
title: Content Sha256
description: Lowercase hexadecimal SHA-256 from the pulled Markdown. Commit rechecks the current canonical Markdown before establishing this baseline.
examples:
- 4b7cf7c403d828f1f989eb47bfc6ae7a2dda46a0145810354c82084c77bb9670
mtime_ms:
anyOf:
- type: integer
- type: 'null'
title: Mtime Ms
type: object
required:
- page_id
- node_id
- relative_path
- content_sha256
title: PublicSyncCommitItem
PublicSyncPullResponse:
properties:
source:
$ref: '#/components/schemas/PublicSyncSource'
items:
items:
$ref: '#/components/schemas/PublicSyncRemoteItem'
type: array
title: Items
type: object
required:
- source
- items
title: PublicSyncPullResponse
securitySchemes:
CorvioApiKey:
type: http
scheme: bearer
CorvioUploadCapability:
type: http
scheme: bearer
x-refined-from:
- corvio-ai-openapi.json
- corvio-ai-openapi.yml