---
title: "Classificação direcional em massa (padrões + LLM)"
method: POST
path: "/api/v1/batch-classify"
tags: ["Classificação"]
---

# Classificação direcional em massa (padrões + LLM)

`POST /api/v1/batch-classify`

## Request

- Base URL: `https://api.ragjur.ai`
- URL: `https://api.ragjur.ai/api/v1/batch-classify`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (authorization code, authorization URL `https://mcp.ragjur.ai/oauth/authorize`, token URL `https://mcp.ragjur.ai/oauth/token`, scopes: `ragjur:read`)

Lotes ≤ 20 executam de forma síncrona; acima disso responde 202 com `job_id` e processa em background. Consulte o progresso em `GET /batch-classify/status?job_id=`. Restrito à chave interna.

## Request body

- object
  - `fonte` string, required
  - `tema` string, required: Chave de tema direcional (ex.: `dano_moral`)
  - `limit` integer

## Response `200`

Lote síncrono concluído

- object

## Other responses

- `202`: Job em background
- `400`: Parâmetro obrigatório ausente ou inválido
- `401`: Sem `x-api-key` ou chave inválida
- `403`: Chave desativada
- `429`: Rate limit excedido (janela deslizante por chave). Ver `Retry-After`, `X-RateLimit-Limit`, `X-RateLimit-Remaining`.
- `500`: Erro interno

---

[API](https://skmtc.dev/ragjur/apis/ragjur-api.md) · [All operations](https://skmtc.dev/ragjur/apis/ragjur-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ragjur/apis/ragjur-api/revisions/448e3f75cc15?raw)
