Skip to main content
GET
Check the progress and outcome of a PVFARM import

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> on every request. See the Authentication section of the API description for how to fetch a token.

Path Parameters

jobId
integer<int64>
required

Response

The current state of the import job

The state and outcome of a PVFARM import job.

jobId
integer<int64>
required
status
enum<string>
required

Processing — still running, check again shortly. Completed — finished; the power plant and its 3D shade scene are on the prediction. Failed — nothing was built; errorCode says why.

Available options:
Processing,
Completed,
Failed
originalFileName
string | null

The uploaded filename.

projectId
integer<int64>

The project containing the target prediction.

predictionId
integer<int64>

The prediction the plant was built on.

summary
string | null

One sentence describing the outcome in plain language, suitable to relay to a person as-is.

errorCode
string | null

Set only when status is Failed. One of:

  • invalid-file — the file could not be used: not a PVFARM shading model file, an old format version, a fixed-tilt project, or a module technology PlantPredict does not recognize. Re-export from PVFARM, or use the web application's import.
  • prediction-not-eligible — the target prediction cannot take the import: no weather file selected, not a Block Builder prediction, or it already has a built power plant and the call did not carry overwriteExistingPowerPlant=true.
  • import-error — a fault on the PlantPredict side. Contact support with the jobId; retrying the same file will not help.
error
string | null

Free-form detail accompanying errorCode.

plant
object | null

Headline figures for the built plant. Null until the import completes successfully.

equipment
object[] | null

The library records created from the file's datasheet values — one Module per module type and one Inverter per inverter type. Re-importing the same data reuses these records rather than creating duplicates, and says so in notices.

notices
string[] | null

Informational messages about the import, such as equipment records reused rather than created.