Extract text from an image or PDF via a Layer gate
OCR
Extract text from an image or PDF via a Layer gate
Use when: caller has an image or PDF and wants the extracted text (structured OCR) routed through a Layer gate
Routes an OCR request through the named Layer gate. The gate decides which underlying OCR model+provider serves the request based on its current configuration. Accepts images and PDFs; returns structured text extraction.
POST
Extract text from an image or PDF via a Layer gate
Documentation Index
Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.
Body
application/json
Response
OCR response with extracted text. Shape follows the underlying provider format selected by the gate.