Spatio.Model.ExtractTextResult (spatio_sdk v0.0.2)

Extracted text + structural metadata from a PDF (or other extraction-supported file type). pages is provider-shaped — treat as an opaque per-page object array. Endpoint returns 422 with code: extraction_unsupported when the underlying file isn't extractable.

Summary

Types

t()

@type t() :: %Spatio.Model.ExtractTextResult{
  pageCount: integer(),
  pages: [%{optional(String.t()) => any()}] | nil,
  text: String.t(),
  truncated: boolean() | nil
}

Functions

decode(value)