---
title: "Enriquece os dados de uma obra a partir de fontes públicas"
method: POST
path: "/projects/enrich"
tags: ["Projetos"]
---

# Enriquece os dados de uma obra a partir de fontes públicas

`POST /projects/enrich`

## Request

- Base URL: `https://obraaberta.com.br/api/v1`
- URL: `https://obraaberta.com.br/api/v1/projects/enrich`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Cria um job e executa as fontes solicitadas. Fontes não suportadas retornam em skipped_sources. Exige JWT ou chave de API.

## Request body

- object
  - `project_id` string, uuid, required
  - `sources` string[]
  - `force_refresh` boolean

## Response `202`

Processado

- Job
  - `job_id` string, uuid
  - `project_id` string, uuid
  - `sources` string[]
  - `status` 'running' | 'done' | 'erro'
  - `result` object, nullable
  - `error` string, nullable
  - `created_at` string, date-time
  - `finished_at` string, date-time, nullable

## Other responses

- `401`: Não autenticado
- `404`: Obra não encontrada
- `429`: Limite de requisições excedido
- `502`: Falha na fonte externa

---

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