Stablilizer · API Walkthrough

Interactive API explorer — shared config applies to all tabs.
1
Health Check
Ready
GET /v1/health
Headers
None required — public endpoint
2
Register LLM Config
Waiting
POST /v1/llm-configs
Headers
Content-Type: application/json
Authorization: Bearer <your-api-key>
Supply your own provider credentials — API key, endpoint, and model
Used only at extraction time. Compile uses the strength setting below.
Request body (edit as needed)
3
Optimize prompt
Optional
POST /v1/prompt-optimizations
Headers
Content-Type: application/json
Authorization: Bearer <your-api-key>
Uses the prompt, JSON structure, and training data from Step 4.
Primary controls
How many improved prompt versions to return. Higher values can discover stronger prompts, but increase runtime and cost.
↓ Request body (live preview — still editable)
4
Compile a Function
Waiting
POST /v1/functions
Headers
Content-Type: application/json
Authorization: Bearer <your-api-key>
Basic info
Compile mode
This setting decides how the function is compiled, how much work the system does up front, and what kind of extraction strategy is saved for downstream runs.
Regular compile settings
Optimized prompt settings
Run Step 3 first to generate optimized prompt(s).
Agents network settings
0 to 1 (e.g. 0.7 for 70%). A training item counts as passed when at least this fraction of its fields match the expected output.
0 to 1 (e.g. 0.6 for 60%). The compile is reported as success when at least this fraction of training items pass.
Run each agents-network step in order instead of batching independent steps in parallel.
Grounding methods
LLM & model
↓ Request body (live preview — still editable)
5
Run Extraction
Waiting
POST /v1/extract
Headers
Content-Type: application/json
Authorization: Bearer <your-api-key>
Forces the smallest possible run: no grounding methods, a single extraction, and no baseline. Overrides the grounding-method, sample-count, and baseline options below.
LLM override (optional — leave blank to use compiled defaults)
Grounding methods override (optional)
When off, the run uses the grounding methods chosen during compile. When on, only the methods you check below run (plus the always-on internal guards). Checking none disables every optional method.
Runs the prompt directly once, without Stabilizer scoring or prompt variations, and shows it next to best_result.
↓ Request body (live preview — still editable)
🤖 LLM Configurations GET /v1/llm-configs
Headers
Authorization: Bearer <your-api-key>
Click Refresh to load.
🔍 Inspect / Update / Delete Config
Headers
Content-Type: application/json
Authorization: Bearer <your-api-key>
Config ID
GET /v1/llm-configs/{id}
PATCH body (name / model / provider / is_default)
PATCH /v1/llm-configs/{id} DELETE /v1/llm-configs/{id}
Functions GET /v1/functions
Headers
Authorization: Bearer <your-api-key>
Click Refresh to load.
🔍 Inspect / Update / Delete Function
Headers
Content-Type: application/json
Authorization: Bearer <your-api-key>
Function ID
GET /v1/functions/{id}
PATCH body (name / description / tags / scope)
PATCH /v1/functions/{id} DELETE /v1/functions/{id}
📄 Recent Extractions GET /v1/extractions
Headers
Authorization: Bearer <your-api-key>
Click Refresh to load.
Poll Job Status
Headers
Authorization: Bearer <your-api-key>
Job ID
GET /v1/jobs/{id}
📊 Usage GET /v1/usage
Headers
Authorization: Bearer <your-api-key>
Click Refresh to load.
🏢 Organization Profile GET /v1/org
Headers
Content-Type: application/json
Authorization: Bearer <your-api-key>
Click Refresh to load.
PATCH org settings
PATCH /v1/org
🔑 API Keys GET /v1/api-keys
Headers
Content-Type: application/json
Authorization: Bearer <your-api-key>
Click Refresh to load.
Revoke key by ID
DELETE /v1/api-keys/{id}
Lifecycle — update budget / suspend / reinstate (marketplace plan changes; requires a full key)
key_id
extract_limit
period
cycle_anchor
PATCH /v1/api-keys/{id}
Create new key
Name
Scope
Budget — optional; leave the limit blank for an unlimited key. 0 = suspended.
extract_limit
period
cycle_anchor (billing_cycle)
Metadata — optional; echoed back in usage.
tenant_id
marketplace_subscription_id
POST /v1/api-keys
📊 Usage & Metering GET /v1/usage
Headers
Authorization: Bearer <your-api-key>
Window — optional half-open [from, to) on created_at. Blank = current period (per-key) / all-time (bulk).
key_id (or "me")
from
to
GET /v1/api-keys/{id}/usage
GET /v1/usage?group_by=key