DocsAPI Reference

API Reference

Detailed endpoints, request/response shapes, authentication, and error codes.

Overview

This section covers API Reference. In production, this content is rendered from structured documentation or markdown.

Example request

fetch
const response = await fetch('https://api.veralens.ai/v1/extract', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer vl_live_...',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    url: 'https://example.com/article',
    schema: {
      title: 'string',
      author: 'string',
      publishDate: 'string'
    }
  })
});

const data = await response.json();
console.log(data);

Next steps