Search documentation
karat

+

K

User Documentation ↗
Version 3.0Beta

Get Marketplace Installation Job Details

GET/api/v3/platform/marketplaceInstallationJobs/{marketplaceInstallationJobRid}/details
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

Get available preparation results and execution failure diagnostics for an installation job or draft. Use the installation job's status to track its progress and outcome. These details can help explain why a draft or job has not progressed or completed as expected.

Draft owners receive full preparation and validation errors. Other authorized viewers receive a summary of blocking errors instead. Preparation failures are included as blocking errors alongside any validation errors. An absent errors field means no result is available; an empty preparation error list or a summary count of zero is an available result.

Failed and aborted jobs return HTTP 200 with their available diagnostics. An explicit abort may have no diagnostics. A submission prevented by validation is reported through preparation. The job remains queryable under the same RID after its draft is submitted, subject to retention and access.

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:v3:marketplace-installation-job-details:read:get.

Path parameters

marketplaceInstallationJobRid
string

The RID of a Marketplace installation job or its draft.

Query parameters

preview
booleanoptional

Enables the use of preview functionality.

Response body

MarketplaceInstallationJobDetails
object

Available preparation results and execution failure diagnostics for an installation job or draft.

Hide child attributes

Hide child attributes

errors
unionoptional

Preparation results for a draft, or execution failure diagnostics for a submitted job, when available. Draft owners receive the full list of preparation and validation errors; other authorized viewers receive a summary of blocking errors, including failures that prevented preparation from reaching a consistent state.

This field is absent when no result is available, for example, while preparation is still running. Absence does not mean preparation passed validation or the job succeeded. An explicitly aborted job may have no diagnostics. Check the job's status for its progress and outcome.

An empty preparation error list means a result is available with no preparation or validation errors.

Show child attributes

Show child attributes

Examples

Request

Copied!
1 2 3 curl \ \t-H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v3/platform/marketplaceInstallationJobs/ri.marketplace.main.installation-job.1a80ebf8-341a-4d9e-98e2-9fd4ba7c14d8/details?preview=true"

Response

Copied!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 { "errors": { "result": { "errors": [ { "severity": "BLOCKING", "target": { "type": "job" }, "errorValue": { "errorCode": "INVALID_ARGUMENT", "errorName": "Marketplace:IncompatibleDefaultBuildOptions", "parameters": { "errorType": { "kind": "installJob" } }, "type": "other" } } ], "type": "errors" }, "type": "preparation" } }

Error responses

Error Name
MarketplaceOperationFailedError CodeINTERNAL
Status Code500
DescriptionMarketplace could not complete the operation. The underlying error name and code are provided for diagnosis; its message and parameters are omitted.
ParameterserrorName, errorCode
InstallationInputApiNamesNotEnabledError CodeINVALID_ARGUMENT
Status Code400
DescriptionOne or more installations have product inputs without API names. Enable input API name generation for those products before interacting with them.
ParametersinstallationRids
MarketplaceInstallationJobNotFoundError CodeNOT_FOUND
Status Code404
Description
ParametersmarketplaceInstallationJobRid