api.gouv.fr · Schema

HarvestItemPage

CompanyGovernmentOpen DataFrancePublic SectorAPI CatalogDigital Government

Properties

Name Type Description
data array The page data
next_page string The next page URL if exists
page integer The current page
page_size integer The page size used for pagination
previous_page string The previous page URL if exists
total integer The total paginated items
View JSON Schema on GitHub

JSON Schema

api-gouv-fr-harvest-item-page-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-gouv-fr/json-schema/api-gouv-fr-harvest-item-page-schema.json",
  "title": "HarvestItemPage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-gouv-fr-harvest-api-openapi.yml#/components/schemas/HarvestItemPage",
  "properties": {
    "data": {
      "description": "The page data",
      "items": {
        "$ref": "#/$defs/HarvestItem__read"
      },
      "type": "array"
    },
    "next_page": {
      "description": "The next page URL if exists",
      "type": "string"
    },
    "page": {
      "description": "The current page",
      "minimum": 1,
      "type": "integer"
    },
    "page_size": {
      "description": "The page size used for pagination",
      "minimum": 0,
      "type": "integer"
    },
    "previous_page": {
      "description": "The previous page URL if exists",
      "type": "string"
    },
    "total": {
      "description": "The total paginated items",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "page",
    "page_size",
    "total"
  ],
  "type": "object",
  "$defs": {
    "BaseReference": {
      "properties": {
        "class": {
          "description": "The object class",
          "type": "string"
        },
        "id": {
          "description": "The object unique identifier",
          "type": "string"
        }
      },
      "required": [
        "class",
        "id"
      ],
      "type": "object"
    },
    "DataserviceReference": {
      "allOf": [
        {
          "$ref": "#/$defs/BaseReference"
        },
        {
          "properties": {
            "self_api_url": {
              "description": "Link to the API endpoint for this dataservice",
              "readOnly": true,
              "type": "string"
            },
            "self_web_url": {
              "description": "Link to the udata web page for this dataservice",
              "readOnly": true,
              "type": "string"
            },
            "title": {
              "type": "string"
            }
          },
          "required": [
            "title"
          ],
          "type": "object"
        }
      ]
    },
    "DatasetReference": {
      "allOf": [
        {
          "$ref": "#/$defs/BaseReference"
        },
        {
          "properties": {},
          "type": "object"
        }
      ]
    },
    "HarvestError__read": {
      "properties": {
        "created_at": {
          "description": "The error creation date",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "details": {
          "description": "Optional details (only for super-admins)",
          "readOnly": true,
          "type": "string"
        },
        "message": {
          "description": "The error short message",
          "type": "string"
        }
      },
      "required": [
        "created_at"
      ],
      "type": "object"
    },
    "HarvestItem__read": {
      "properties": {
        "args": {
          "description": "The item positional arguments",
          "items": {
            "description": "The item positional arguments",
            "type": "string"
          },
          "type": "array"
        },
        "created": {
          "description": "The item creation date",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "dataservice": {
          "allOf": [
            {
              "$ref": "#/$defs/DataserviceReference"
            }
          ],
          "description": "The processed dataservice"
        },
        "dataset": {
          "allOf": [
            {
              "$ref": "#/$defs/DatasetReference"
            }
          ],
          "description": "The processed dataset"
        },
        "ended": {
          "description": "The item end date",
          "format": "date-time",
          "type": "string"
        },
        "errors": {
          "description": "The item errors",
          "items": {
            "allOf": [
              {
                "$ref": "#/$defs/HarvestError__read"
              }
            ],
            "description": "The item errors"
          },
          "type": "array"
        },
        "kwargs": {
          "description": "The item keyword arguments",
          "type": "object"
        },
        "logs": {
          "description": "The item logs",
          "items": {
            "allOf": [
              {
                "$ref": "#/$defs/HarvestLog__read"
              }
            ],
            "description": "The item logs"
          },
          "type": "array"
        },
        "remote_id": {
          "description": "The item remote ID to process",
          "type": "string"
        },
        "remote_url": {
          "description": "The item remote url (if available)",
          "type": "string"
        },
        "started": {
          "description": "The item start date",
          "format": "date-time",
          "type": "string"
        },
        "status": {
          "description": "The item status",
          "enum": [
            "pending",
            "started",
            "done",
            "failed",
            "skipped",
            "archived"
          ],
          "type": "string"
        }
      },
      "required": [
        "created",
        "status"
      ],
      "type": "object"
    },
    "HarvestLog__read": {
      "properties": {
        "level": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "level",
        "message"
      ],
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/api-gouv-fr-harvest-item-page"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.