Estimate Usage
POST/pipelines/:namespace/:name/estimate
Get a usage estimate for an order request before placing the order. As part of the process the order is also validated.
Request
Path Parameters
REQUIRED. A group of pipelines.
REQUIRED. The name of the pipeline.
- application/json
Body
- Array [
- Amazon S3
- Google Cloud Storage
- Azure Blob Storage
- File Download
- MGP Order Manager
- ]
- Array [
- HTTP Callback
- Amazon SNS
- ]
output_configs object[]required
Sets delivery notifications
Possible values: [amazon_s3
]
Possible values: [google_cloud_storage
]
Possible values: [azure_blob_storage
]
Possible values: [download
]
Possible values: [zip
, tar
]
Possible values: [mgp_order_manager
]
notifications object[]
Sets order notifications
config object
Possible values: [FINAL_ONLY
, INTERMEDIATE
, INITIAL_FINAL
, ON_FAIL
]
Possible values: [http
]
config object
Possible values: [FINAL_ONLY
, INTERMEDIATE
, INITIAL_FINAL
, ON_FAIL
]
Possible values: [sns
]
Possible values: [FINAL_ONLY
, INTERMEDIATE
, INITIAL_FINAL
, ON_FAIL
]
Possible values: [email
]
Specifies pipeline specific settings
Arbitrary user key-value metadata
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
links objectrequired
{
"data": {},
"links": {
"request": "https://api.maxar.com/ordering/v1/pipelines/imagery/analysis-ready/order"
},
"request_timestamp": "2022-12-01T23:19:02Z",
"response_timestamp": "2022-12-01T23:19:06Z",
"request_duration": 4
}
{
"data": {
"usage_estimate": [
{
"pipeline_id": "imagery/analysis-ready",
"units": "sqkm",
"quantity": 0,
"product_id": 242,
"date_reported": "2023-06-01T19:19:31Z",
"description": "Fresh Archive Imagery < 90 Days",
"billable": true
},
{
"pipeline_id": "imagery/analysis-ready",
"units": "sqkm",
"quantity": 3,
"product_id": 244,
"date_reported": "2023-06-01T19:19:31Z",
"description": "Standard Archive Imagery ≥ 90 Days",
"billable": true
}
],
"order_config": {
"pipeline_id": "imagery/analysis-ready",
"settings": {
"acquisitions": [
"03cf5011-7fd0-49ab-8bcf-36d7e2a1075f-inv"
],
"aoi": {
"type": "Polygon",
"coordinates": [
[
[
47.8,
29.25
],
[
47.8,
29.27
],
[
47.81,
29.27
],
[
47.81,
29.25
],
[
47.8,
29.25
]
]
]
},
"ard_settings": {
"bundle_adjust": true,
"healthy_vegetation_mask": false,
"water_mask": false
}
},
"output_configs": [
{
"type": "amazon_s3",
"bucket": "example-bucket",
"prefix": "example-prefix"
}
],
"notifications": [
{
"type": "email",
"target": "email@myemail.com",
"level": "INTERMEDIATE"
}
],
"metadata": {
"project_id": "onboarding"
}
}
}
}