# dados.gov.pt Harvest API

**Canonical:** https://apis.io/apis/open-government-portugal/open-government-portugal-harvest-api/  
**Provider:** dados.gov.pt — https://apis.io/providers/open-government-portugal/  
**Base URL:** https://dados.gov.pt/api/1  
**Documentation:** https://dados.gov.pt/pt/recursos/desenvolvimento/referencia-api

dados.gov.pt Harvest API is one of 23 APIs that [dados.gov.pt](https://apis.io/providers/open-government-portugal/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Harvest. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and 6 JSON Schemas.

Harvest related operations

## Operations (14)

| Method | Path | Summary |
|---|---|---|
| GET | `/harvest/backends/` | List all available harvest backends |
| GET | `/harvest/job/{ident}/` | Get a single job given an ID |
| POST | `/harvest/source/preview/` | Preview an harvesting from a source created with the given payload |
| DELETE | `/harvest/source/{source}/` | Delete harvest source |
| GET | `/harvest/source/{source}/` | Get a single source given an ID or a slug |
| PUT | `/harvest/source/{source}/` | Update a harvest source |
| GET | `/harvest/source/{source}/jobs/` | List all jobs for a given source (lightweight: counts + failed items only) |
| GET | `/harvest/source/{source}/preview/` | Preview a single harvest source given an ID or a slug |
| POST | `/harvest/source/{source}/run/` | Run harvest source |
| DELETE | `/harvest/source/{source}/schedule/` | Unschedule an harvest source |
| POST | `/harvest/source/{source}/schedule/` | Schedule an harvest source |
| POST | `/harvest/source/{source}/validate/` | Validate or reject an harvest source |
| GET | `/harvest/sources/` | List all harvest sources |
| POST | `/harvest/sources/` | Create a new harvest source |

## Machine-readable artifacts (9)

- **OpenAPI** — https://artifacts.apis.io/open-government-portugal/openapi/open-government-portugal-harvest-api-openapi.yml
- **Documentation** — https://dados.gov.pt/pt/recursos/desenvolvimento/referencia-api
- **APIReference** — https://dados.gov.pt/api/1/
- **JSONSchema** — https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-harvest-source-schema.json
- **JSONSchema** — https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-harvest-job-preview-schema.json
- **JSONSchema** — https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-harvest-job-schema.json
- **JSONSchema** — https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-harvest-source-page-schema.json
- **JSONSchema** — https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-harvest-backend-schema.json
- **JSONSchema** — https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-harvest-source-validation-schema.json

## Other dados.gov.pt APIs (12)

- [dados.gov.pt Access Type API](https://apis.io/apis/open-government-portugal/open-government-portugal-access-type-api/)
- [dados.gov.pt Captchetat API](https://apis.io/apis/open-government-portugal/open-government-portugal-captchetat-api/)
- [dados.gov.pt Contacts API](https://apis.io/apis/open-government-portugal/open-government-portugal-contacts-api/)
- [dados.gov.pt Dataservices API](https://apis.io/apis/open-government-portugal/open-government-portugal-dataservices-api/)
- [dados.gov.pt Datasets API](https://apis.io/apis/open-government-portugal/open-government-portugal-datasets-api/)
- [dados.gov.pt Discussions API](https://apis.io/apis/open-government-portugal/open-government-portugal-discussions-api/)
- [dados.gov.pt Me API](https://apis.io/apis/open-government-portugal/open-government-portugal-me-api/)
- [dados.gov.pt Notifications API](https://apis.io/apis/open-government-portugal/open-government-portugal-notifications-api/)
- [dados.gov.pt Organizations API](https://apis.io/apis/open-government-portugal/open-government-portugal-organizations-api/)
- [dados.gov.pt Pages API](https://apis.io/apis/open-government-portugal/open-government-portugal-pages-api/)
- [dados.gov.pt Posts API](https://apis.io/apis/open-government-portugal/open-government-portugal-posts-api/)
- [dados.gov.pt Proconnect API](https://apis.io/apis/open-government-portugal/open-government-portugal-proconnect-api/)

## Tags

Harvest

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/open-government-portugal/open-government-portugal-harvest-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/open-government-portugal/.
