URSY.DEVPART OF THE URSY NETWORKSign inBuild with URSY

Every contract sourcedEvery check datedGaps shown, never filledBuild with URSY

Capabilities

import_file

Import bounded UTF-8 TXT, Markdown or CSV as a new native file. CSV formulas become literal text.

How this capability is exposed

Stable ID
ursy.cloud:import_file
Owning service
URSY.cloud
Runtime
See the source declaration

Capability declarations describe what the service exposes. They are not a guarantee of availability or permission to execute an operation.

Accepted contract

REGISTRY JSON
{
    "id": "ursy.cloud:import_file",
    "name": "import_file",
    "description": "Import bounded UTF-8 TXT, Markdown or CSV as a new native file. CSV formulas become literal text.",
    "method": "POST",
    "path": "/v1/imports",
    "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
            "name": {
                "type": "string",
                "maxLength": 190,
                "x-ursy-maxBytes": 190
            },
            "format": {
                "type": "string",
                "enum": [
                    "txt",
                    "markdown",
                    "csv"
                ]
            },
            "text": {
                "type": "string",
                "maxLength": 500000,
                "x-ursy-maxBytes": 500000
            },
            "parent_id": {
                "type": "string",
                "pattern": "^file_[1-9][0-9]{0,14}$"
            },
            "idempotency_key": {
                "type": "string",
                "minLength": 8,
                "maxLength": 128,
                "pattern": "^[A-Za-z0-9._:-]+$"
            }
        },
        "required": [
            "name",
            "format",
            "text",
            "idempotency_key"
        ]
    },
    "outputSchema": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
            "file": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                    "schema": {
                        "type": "string",
                        "enum": [
                            "ursy.cloud/file/v1"
                        ]
                    },
                    "id": {
                        "type": "string",
                        "pattern": "^file_[1-9][0-9]{0,14}$"
                    },
                    "workspace_id": {
                        "type": "string",
                        "pattern": "^ws_[1-9][0-9]*$"
                    },
                    "parent_id": {
                        "oneOf": [
                            {
                                "type": "string",
                                "pattern": "^file_[1-9][0-9]{0,14}$"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "name": {
                        "type": "string",
                        "maxLength": 190,
                        "x-ursy-maxBytes": 190
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "folder",
                            "document",
                            "spreadsheet",
                            "presentation",
                            "note",
                            "publication",
                            "pdf",
                            "uploaded_file"
                        ]
                    },
                    "current_version_id": {
                        "oneOf": [
                            {
                                "type": "string",
                                "pattern": "^ver_[1-9][0-9]*$"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "etag": {
                        "type": "string",
                        "pattern": "^\"[a-f0-9]{64}\"$"
                    },
                    "state": {
                        "type": "string",
                        "enum": [
                            "active",
                            "trashed"
                        ]
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "updated_at": {
                        "type": "string"
                    },
                    "human_url": {
                        "type": "string"
                    }
                },
                "required": [
                    "schema",
                    "id",
                    "workspace_id",
                    "parent_id",
                    "name",
                    "type",
                    "current_version_id",
                    "etag",
                    "state",
                    "created_at",
                    "updated_at",
                    "human_url"
                ]
            }
        },
        "required": [
            "file"
        ]
    },
    "auth_required": true,
    "scope": "cloud.import",
    "read_only": false,
    "service_id": "ursy-cloud",
    "parent_id": "",
    "summary": "Import bounded UTF-8 TXT, Markdown or CSV as a new native file. CSV formulas become literal text.",
    "source_url": "https://api.ursy.cloud/v1/registry-capabilities",
    "source_type": "capability_manifest",
    "verified_at": "2026-10-14 06:02:41",
    "revision": "0634bd6cd9e2420f828e8c9ee269a12b186b8ed091ef14aad59acd8bc15b6bb5",
    "type": "capabilities",
    "source": {
        "url": "https://api.ursy.cloud/v1/registry-capabilities",
        "type": "capability_manifest"
    },
    "last_verified_at": "2026-10-14 06:02:41",
    "stale": false
}