Skip to main content
This guide walks you through using a skill to extract structured data from a document in a single API call.

Prerequisites

Set your API key:

Extract Data with a Skill

Pass a skill by name in the config.skills parameter to extract structured JSON from a document:
The platform automatically applies the skill’s prompt and JSON schema — no need to specify a domain or write a custom prompt.

Next Steps

Using Skills

Use skills across all generation endpoints

Create a Skill

Build your own custom skills

Skill Spec

Understand how skills are structured

Version Pinning

Pin skill versions for reproducibility