ETL

The plan with the given key (its name, URL encoded).

get/etl/v1/plans/{key}

Request

  • Base URL
    https://api.minubo.com
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

keystring required

Plan key (name)

Response

The plan

idinteger required
keystring required

The plan name as it appears in the plan data (planName); identifies the plan in the URL.

displayNamestring
descriptionstring
status'staged' | 'loaded' | 'failed' | 'deleting' required

staged: created by POST /etl/v1/plans, not yet loaded by an ETL run. loaded: in the ClickHouse table since the last completed ETL run. failed: staged, but still not loaded 36 hours after its creation (statusMessage says why); becomes loaded if it arrives later, delete it to reuse the name. deleting: deletion requested; the next ETL run deletes its files and then the plan.

statusMessagestring
source'sftp' | 'api' required

Where the plan comes from: sftp (generic plan files uploaded via SFTP) or api (this API).

measuresstring[] required
attributesstring[] required
startDatestring date

First day with planned values (ISO date).

endDatestring date

Last day with planned values (ISO date).

Example response

{
  "startDate": "2027-01-01",
  "endDate": "2027-12-31"
}

Changes