v5

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-06153345.0 KB
Job Types

Import indicator timeseries data from CSV

Import rows for one indicator value from a completed resumable CSV upload into an indicator/timeseries project. Upload the CSV first via POST /api/uploads/* to obtain upload_id. Equivalent to POST /jobs with job_type import_indicator_data.

post/jobs/import_indicator_data

Request body

upload_idstring required

Completed resumable upload ID from POST /api/uploads/*

indicator_valuestring required

Import only rows whose indicator_id column matches this value

delimiterstring

CSV field delimiter (default comma)

keep_extra_csv_columnsboolean

Keep CSV columns beyond the bound DSD when importing

priorityinteger
max_attemptsinteger

Default 1 to avoid duplicate rows on retry

Example request

{
  "indicator_value": "NY.GDP.PCAP.CD",
  "delimiter": ","
}

Response

Job created successfully

statusstring
messagestring
uuidstring

Example response

{
  "status": "success",
  "message": "Job created successfully",
  "job": {
    "payload": {
      "project_id": 123,
      "options": {}
    },
    "result": {
      "pdf_path": "/path/to/project_123.pdf",
      "project_id": 123,
      "generated_at": "2025-01-11 16:30:45"
    }
  }
}