▸ IndieLogs operation reference

voice.import

Input validation and access metadata generated from the shared operation registry.

Access: Bearer token required. Additional scope: voice:write. MCP allowed: op_voice_import.

Input JSON Schema

This schema is generated from the canonical Zod input schema in the shared contract package, not copied into the docs source. JSON Schema describes representable structure; runtime refinements and transforms remain enforced by the canonical parser and may not be fully represented here.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "const": "url"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "source",
        "url"
      ],
      "additionalProperties": {}
    },
    {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "x",
            "linkedin"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "source"
      ],
      "additionalProperties": {}
    }
  ]
}

HTTP and CLI

POST the versioned operation envelope to /api/v2/execute. Replace the placeholder with a valid input object from the schema above; this shape is not a runnable request.

{"version":1,"operation":"voice.import","input":<input-object matching schema>}

CLI command shape: indielogs call voice.import '<input-json>'. The placeholder is not a valid sample input.