API Guide

Automation from your backend

Use the user's JWT token to run manual jobs or query usage/quotas.

1) Login

POST https://<api>/auth/login
Content-Type: application/json

{
  "email": "owner@example.com",
  "password": "********"
}

2) Launch manual topic

POST https://<api>/jobs/run-topic
Authorization: Bearer <JWT>
Content-Type: application/json

{
  "topic": "Subida del euribor en 2026",
  "language": "es",
  "country": "ES",
  "policy": "draft"
}

3) Check quota

GET https://<api>/usage/current
Authorization: Bearer <JWT>