▸ IndieLogs operation reference

drafts.list

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

Access: Bearer token required. Additional scope: updates:read. MCP allowed: get_desk.

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",
  "type": "object",
  "properties": {
    "statuses": {
      "minItems": 1,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "waiting",
          "held",
          "queued",
          "published",
          "skipped"
        ]
      }
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740892
    },
    "query": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "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":"drafts.list","input":<input-object matching schema>}

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