Quota Reservations API Reference
Quota API (1.0.0)
Download OpenAPI specification:Download
Query and manage quota and product access related data
Get all quota reservations
Retrieve a paginated list of quota reservations for the current organization. Supports filtering, sorting, and field selection.
query Parameters
fields | string(\w+)(,\w+)* List of comma separated model fields to return only. |
limit | number <integer> Limit parameter for paging output. |
offset | number <integer> Offset parameter for paging output. |
sort | string[+-]?\w+ Sort specification, can be |
{field}__{operator} | string Filter operations on fields are available with query parameters giving field name and operator. Available operators are |
{field} | string Shorthand for {field}__eq filter. |
Responses
Response samples
- 200
- 400
{- "meta": {
- "args": { },
- "count": 0,
- "next": "string",
- "prev": "string"
}, - "results": [
- {
- "amount": 0,
- "aoi_ref": "string",
- "collection_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "organization_id": 0,
- "product_id": 0,
- "state": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": null,
- "user_id": 0
}
]
}
Create a quota reservation
Create a quota reservation for the specified product and area of interest references. Use the product_id parameter which corresponds to the 'id' field returned from the /my/products endpoint.
Request Body schema: application/jsonrequired
The quota reservation to create
aoi_refs required | Array of strings List of area of interest references |
collection_id | string Optional collection ID |
product_id | integer Product ID from /my/products endpoint |
Responses
Request samples
- Payload
{- "aoi_refs": {
- "0": "aoi_123",
- "1": "aoi_456"
}, - "product_id": 12345
}
Response samples
- 201
- 400
- 403
{- "quota_remaining": "string",
- "quota_reservations": [
- {
- "aoi_ref": "string",
- "id": 0,
- "quota_used": 0,
- "state": "string"
}
], - "quota_total": 0,
- "quota_units": "string",
- "quota_used": 0,
- "url": null
}
Create bulk quota reservations asynchronously
Submit a bulk request to create quota reservations. This operation is processed asynchronously and returns a job ID to track the progress. The product_id parameter corresponds to the 'id' field returned from the /my/products endpoint.
Request Body schema: application/jsonrequired
The bulk quota reservations to create
aoi_refs required | Array of strings List of area of interest references |
collection_id | string Optional collection ID |
product_id | integer Product ID from /my/products endpoint |
Responses
Request samples
- Payload
{- "aoi_refs": {
- "0": "aoi_123",
- "1": "aoi_456",
- "2": "aoi_789"
}, - "collection_id": "collection_001",
- "product_id": 12345
}
Response samples
- 201
- 400
{- "job_id": "string",
- "status": "pending"
}
Calculate quota reservation estimate
Calculate an estimate for quota usage given a product and list of area of interest references. This endpoint does not create actual reservations, only provides cost estimates. The product_id parameter corresponds to the 'id' field returned from the /my/products endpoint.
Request Body schema: application/jsonrequired
The product and AOI refs to estimate
aoi_refs required | Array of strings List of area of interest references |
collection_id | string Optional collection ID |
product_id | integer Product ID from /my/products endpoint |
Responses
Request samples
- Payload
{- "aoi_refs": {
- "0": "aoi_123",
- "1": "aoi_456"
}, - "product_id": 12345
}
Response samples
- 200
- 400
{- "estimated_costs": [
- {
- "aoi_ref": "string",
- "cost": 0
}
], - "quota_remaining": "string",
- "quota_units": "string",
- "total_cost": 0
}
Get all jobs as a paginated list.
Get all jobs as paginated list. If successful, returns a list of jobs.
query Parameters
fields | string(\w+)(,\w+)* List of comma separated model fields to return only. |
limit | number <integer> Limit parameter for paging output. |
offset | number <integer> Offset parameter for paging output. |
sort | string[+-]?\w+ Sort specification, can be |
{field}__{operator} | string Filter operations on fields are available with query parameters giving field name and operator. Available operators are |
{field} | string Shorthand for {field}__eq filter. |
Responses
Response samples
- 200
- 400
{- "meta": {
- "args": { },
- "count": 0,
- "next": "string",
- "prev": "string"
}, - "results": [
- {
- "collection_id": "string",
- "id": 0,
- "organization_id": 0,
- "percentage": 0,
- "processed_items": 0,
- "status": "string",
- "total_items": 0,
- "type": "string"
}
]
}