Corvio Public API v1 - Files API

The Public API v1 - Files API from Corvio — 10 operation(s) for public api v1 - files.

GitHub OpenAPI

Operations 10

POST /v1/files/uploads Init File Upload #
PUT /v1/files/uploads/{upload_id}/content Upload File Content #
POST /v1/files/uploads:finalize Finalize File Upload #
GET /v1/files List Files #
GET /v1/files/{asset_id} Get File #
GET /v1/files/{asset_id}/content Download File #
POST /v1/files/{asset_id}:organize Organize File #
GET /v1/file-operations/{operation_id} Get File Operation #
POST /v1/file-operations/{operation_id}:resume Resume File Operation #
POST /v1/file-operations/{operation_id}:cancel Cancel File Operation #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/corvio-ai:corvio-ai-public-api-v1-files-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

corvio-ai-public-api-v1-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Corvio Ai Public API v1 - Files 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 - Files 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 - Files
paths:
  /v1/files/uploads:
    post:
      tags:
      - Public API v1 - Files
      summary: Init File Upload
      operationId: init_file_upload_files_uploads_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicAssetUploadInitRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAssetUploadInitResponse'
        '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/files/uploads/{upload_id}/content:
    put:
      tags:
      - Public API v1 - Files
      summary: Upload File Content
      operationId: upload_file_content_files_uploads__upload_id__content_put
      security:
      - CorvioUploadCapability: []
      parameters:
      - name: upload_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Upload Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAssetUploadTransferResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      requestBody:
        required: true
        content:
          '*/*':
            schema:
              type: string
              format: binary
    servers:
    - url: https://api.corvio.ai
      description: Production
    - url: https://api.corvio.io
      description: Staging
  /v1/files/uploads:finalize:
    post:
      tags:
      - Public API v1 - Files
      summary: Finalize File Upload
      operationId: finalize_file_upload_files_uploads_finalize_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicAssetUploadFinalizeRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAssetItem'
        '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/files:
    get:
      tags:
      - Public API v1 - Files
      summary: List Files
      operationId: list_files_files_get
      security:
      - CorvioApiKey: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Limit
      - name: content_sha256
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            minLength: 64
            maxLength: 64
            pattern: ^[0-9A-Fa-f]{64}$
          - type: 'null'
          description: Return only Assets whose exact content SHA-256 matches these bytes.
          title: Content Sha256
        description: Return only Assets whose exact content SHA-256 matches these bytes.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAssetListResponse'
        '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/files/{asset_id}:
    get:
      tags:
      - Public API v1 - Files
      summary: Get File
      operationId: get_file_files__asset_id__get
      security:
      - CorvioApiKey: []
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: include_content
        in: query
        required: false
        schema:
          type: boolean
          description: Include one bounded, AI-safe content projection when available.
          default: false
          title: Include Content
        description: Include one bounded, AI-safe content projection when available.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAssetReadResponse'
        '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/files/{asset_id}/content:
    get:
      tags:
      - Public API v1 - Files
      summary: Download File
      operationId: download_file_files__asset_id__content_get
      security:
      - CorvioApiKey: []
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      responses:
        '200':
          description: Successful Response
        '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/files/{asset_id}:organize:
    post:
      tags:
      - Public API v1 - Files
      summary: Organize File
      operationId: organize_file_files__asset_id__organize_post
      security:
      - CorvioApiKey: []
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Asset Id
      - name: X-Corvio-Caller-Model
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          title: X-Corvio-Caller-Model
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicAssetOrganizeRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAssetOrganizationResponse'
        '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/file-operations/{operation_id}:
    get:
      tags:
      - Public API v1 - Files
      summary: Get File Operation
      operationId: get_file_operation_file_operations__operation_id__get
      security:
      - CorvioApiKey: []
      parameters:
      - name: operation_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Operation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAssetOrganizationResponse'
        '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/file-operations/{operation_id}:resume:
    post:
      tags:
      - Public API v1 - Files
      summary: Resume File Operation
      operationId: resume_file_operation_file_operations__operation_id__resume_post
      security:
      - CorvioApiKey: []
      parameters:
      - name: operation_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Operation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAssetOrganizationResponse'
        '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/file-operations/{operation_id}:cancel:
    post:
      tags:
      - Public API v1 - Files
      summary: Cancel File Operation
      operationId: cancel_file_operation_file_operations__operation_id__cancel_post
      security:
      - CorvioApiKey: []
      parameters:
      - name: operation_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Operation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicAssetOrganizationResponse'
        '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:
    PublicAssetUploadTransferResponse:
      properties:
        upload_id:
          type: string
          format: uuid
          title: Upload Id
        size_bytes:
          type: integer
          title: Size Bytes
        content_sha256:
          type: string
          title: Content Sha256
        replayed:
          type: boolean
          title: Replayed
        completion:
          type: string
          enum:
          - bytes_transferred_finalize_required
          - bytes_verified_finalize_receipt_required
          title: Completion
      type: object
      required:
      - upload_id
      - size_bytes
      - content_sha256
      - replayed
      - completion
      title: PublicAssetUploadTransferResponse
    PublicAssetItem:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        asset_id:
          type: string
          format: uuid
          title: Asset Id
          description: Stable Asset UUID accepted by get_file and organize_files.
        object:
          type: string
          const: workspace_asset
          title: Object
          default: workspace_asset
        node_id:
          type: string
          format: uuid
          title: Node Id
        title:
          type: string
          title: Title
        parent_node_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Parent Node Id
        original_file_name:
          type: string
          title: Original File Name
        mime_type:
          type: string
          title: Mime Type
        size_bytes:
          type: integer
          title: Size Bytes
        content_sha256:
          anyOf:
          - type: string
          - type: 'null'
          title: Content Sha256
        status:
          type: string
          title: Status
        sensitivity_status:
          type: string
          title: Sensitivity Status
        sensitivity_reasons:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Sensitivity Reasons
          examples:
          - - code: jwt_like_token
              confidence: advisory
        ai_read_policy:
          type: string
          title: Ai Read Policy
        processing_status:
          type: string
          title: Processing Status
        created_at:
          type: string
          format: date-time
          title: Created At
        links:
          additionalProperties:
            type: string
          type: object
          title: Links
        document_image:
          anyOf:
          - $ref: '#/components/schemas/PublicDocumentImageReference'
          - type: 'null'
          description: For image Assets, a copyable Markdown image and durable content URL. Rendering requires the reader's current Asset access; API download links are not browser image URLs.
        document_audio:
          anyOf:
          - $ref: '#/components/schemas/PublicDocumentImageReference'
          - type: 'null'
          description: For audio Assets, a copyable structured document block using current authenticated Asset access.
      type: object
      required:
      - id
      - asset_id
      - node_id
      - title
      - original_file_name
      - mime_type
      - size_bytes
      - status
      - sensitivity_status
      - ai_read_policy
      - processing_status
      - created_at
      - links
      title: PublicAssetItem
    PublicAssetOrganizeRequest:
      properties:
        instruction:
          type: string
          maxLength: 8000
          minLength: 1
          title: Instruction
        target_root_node_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Target Root Node Id
        additional_asset_ids:
          items:
            type: string
            format: uuid
          type: array
          maxItems: 49
          title: Additional Asset Ids
        processing_profile:
          type: string
          enum:
          - auto
          - economy
          - standard
          - deep
          title: Processing Profile
          default: auto
        max_processing_profile:
          anyOf:
          - type: string
            enum:
            - economy
            - standard
            - deep
          - type: 'null'
          title: Max Processing Profile
        scan_mode:
          type: string
          enum:
          - auto
          - always
          - 'off'
          title: Scan Mode
          default: auto
        skills_extraction_mode:
          type: string
          enum:
          - auto
          - always
          - 'off'
          title: Skills Extraction Mode
          default: auto
      type: object
      required:
      - instruction
      title: PublicAssetOrganizeRequest
    PublicAssetUploadInitRequest:
      properties:
        visibility:
          anyOf:
          - type: string
            const: private
          - type: 'null'
          title: Visibility
        file_name:
          type: string
          maxLength: 255
          minLength: 1
          title: File Name
        mime_type:
          type: string
          maxLength: 255
          minLength: 1
          title: Mime Type
          default: application/octet-stream
        size_bytes:
          type: integer
          maximum: 104857600.0
          minimum: 1.0
          title: Size Bytes
      type: object
      required:
      - file_name
      - size_bytes
      title: PublicAssetUploadInitRequest
    PublicAssetOrganizationResponse:
      properties:
        operation_id:
          type: string
          format: uuid
          title: Operation Id
        asset_id:
          type: string
          format: uuid
          title: Asset Id
        asset_ids:
          items:
            type: string
            format: uuid
          type: array
          title: Asset Ids
        status:
          type: string
          title: Status
        phase:
          type: string
          title: Phase
        processing:
          additionalProperties: true
          type: object
          title: Processing
          description: Requested/effective processing profile plus scan and Skill-evaluation policy. These are request receipts, not proof that an output was produced.
        result:
          additionalProperties: true
          type: object
          title: Result
          description: State-aware bounded projection. Queued/running results may state that provisional outputs are omitted; a completed result may include visible artifacts, source_reconciliation, and skills_evaluation. Qualifying Skill evaluations include stable candidate IDs and typed page/node resource refs when the durable write exposed them.
        execution:
          additionalProperties: true
          type: object
          title: Execution
          description: Bounded execution receipts for this organization operation. A terminal response may include execution.durable_learning; candidate text and hidden Memory targets are never exposed.
        retry_after_seconds:
          anyOf:
          - type: integer
            maximum: 300.0
            minimum: 1.0
          - type: 'null'
          title: Retry After Seconds
          description: For queued or running work, the minimum suggested delay before another read. Absent at terminal state.
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        links:
          additionalProperties:
            type: string
          type: object
          title: Links
      type: object
      required:
      - operation_id
      - asset_id
      - status
      - phase
      - created_at
      - updated_at
      - links
      title: PublicAssetOrganizationResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PublicDocumentImageReference:
      properties:
        asset_id:
          type: string
          format: uuid
          title: Asset Id
        content_url:
          type: string
          title: Content Url
        markdown:
          type: string
          title: Markdown
      type: object
      required:
      - asset_id
      - content_url
      - markdown
      title: PublicDocumentImageReference
    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
    PublicAssetUploadInitResponse:
      properties:
        visibility:
          anyOf:
          - type: string
            const: private
          - type: 'null'
          title: Visibility
        upload_id:
          type: string
          format: uuid
          title: Upload Id
        blob_name:
          type: string
          title: Blob Name
        upload_url:
          type: string
          title: Upload Url
        upload_method:
          type: string
          const: PUT
          title: Upload Method
          default: PUT
        upload_headers:
          additionalProperties:
            type: string
          type: object
          title: Upload Headers
          examples:
          - Content-Type: text/markdown
            x-ms-blob-type: BlockBlob
        expires_at:
          type: string
          format: date-time
          title: Expires At
      type: object
      required:
      - upload_id
      - blob_name
      - upload_url
      - upload_headers
      - expires_at
      title: PublicAssetUploadInitResponse
    PublicAssetReadResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        asset_id:
          type: string
          format: uuid
          title: Asset Id
          description: Stable Asset UUID accepted by get_file and organize_files.
        object:
          type: string
          const: workspace_asset
          title: Object
          default: workspace_asset
        node_id:
          type: string
          format: uuid
          title: Node Id
        title:
          type: string
          title: Title
        parent_node_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Parent Node Id
        original_file_name:
          type: string
          title: Original File Name
        mime_type:
          type: string
          title: Mime Type
        size_bytes:
          type: integer
          title: Size Bytes
        content_sha256:
          anyOf:
          - type: string
          - type: 'null'
          title: Content Sha256
        status:
          type: string
          title: Status
        sensitivity_status:
          type: string
          title: Sensitivity Status
        sensitivity_reasons:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Sensitivity Reasons
          examples:
          - - code: jwt_like_token
              confidence: advisory
        ai_read_policy:
          type: string
          title: Ai Read Policy
        processing_status:
          type: string
          title: Processing Status
        created_at:
          type: string
          format: date-time
          title: Created At
        links:
          additionalProperties:
            type: string
          type: object
          title: Links
        document_image:
          anyOf:
          - $ref: '#/components/schemas/PublicDocumentImageReference'
          - type: 'null'
          description: For image Assets, a copyable Markdown image and durable content URL. Rendering requires the reader's current Asset access; API download links are not browser image URLs.
        document_audio:
          anyOf:
          - $ref: '#/components/schemas/PublicDocumentImageReference'
          - type: 'null'
          description: For audio Assets, a copyable structured document block using current authenticated Asset access.
        content_projection:
          anyOf:
          - $ref: '#/components/schemas/PublicAssetContentProjection'
          - type: 'null'
      type: object
      required:
      - id
      - asset_id
      - node_id
      - title
      - original_file_name
      - mime_type
      - size_bytes
      - status
      - sensitivity_status
      - ai_read_policy
      - processing_status
      - created_at
      - links
      title: PublicAssetReadResponse
    PublicAssetContentProjection:
      properties:
        extraction_mode:
          type: string
          title: Extraction Mode
        content_markdown:
          type: string
          maxLength: 20000
          title: Content Markdown
        char_count:
          type: integer
          minimum: 0.0
          title: Char Count
        content_complete:
          type: boolean
          title: Content Complete
        projection_truncated:
          type: boolean
          title: Projection Truncated
        source_authority:
          type: string
          enum:
          - derived_read_projection_of_immutable_original
          - hash_verified_read_projection_of_immutable_original
          title: Source Authority
        source_asset_sha256:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Asset Sha256
        representation_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Representation Id
      type: object
      required:
      - extraction_mode
      - content_markdown
      - char_count
      - content_complete
      - projection_truncated
      - source_authority
      title: PublicAssetContentProjection
    PublicAssetListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/PublicAssetItem'
          type: array
          title: Data
      type: object
      required:
      - data
      title: PublicAssetListResponse
    PublicAssetUploadFinalizeRequest:
      properties:
        visibility:
          anyOf:
          - type: string
            const: private
          - type: 'null'
          title: Visibility
        upload_id:
          type: string
          format: uuid
          title: Upload Id
        blob_name:
          type: string
          maxLength: 1024
          minLength: 1
          title: Blob Name
        file_name:
          type: string
          maxLength: 255
          minLength: 1
          title: File Name
        mime_type:
          type: string
          maxLength: 255
          minLength: 1
          title: Mime Type
          default: application/octet-stream
        size_bytes:
          type: integer
          maximum: 104857600.0
          minimum: 1.0
          title: Size Bytes
      type: object
      required:
      - upload_id
      - blob_name
      - file_name
      - size_bytes
      title: PublicAssetUploadFinalizeRequest
  securitySchemes:
    CorvioApiKey:
      type: http
      scheme: bearer
    CorvioUploadCapability:
      type: http
      scheme: bearer
x-refined-from:
- corvio-ai-openapi.json
- corvio-ai-openapi.yml