Orders — Listing
An order is called a pipeline in the SkyWatch platform. List orders for the current user or all org orders (?type=all). Use pagination via cursor.
List my orders
- curl
- Python
- JavaScript
curl --location 'https://api.skywatch.co/earthcache/pipelines' \
--header 'x-api-key: {{User_API_Key}}'
requests.get(
"https://api.skywatch.co/earthcache/pipelines",
headers={"x-api-key":"{{User_API_Key}}"}
).json()
await (await fetch(
"https://api.skywatch.co/earthcache/pipelines",
{ headers: { "x-api-key": "{{User_API_Key}}" } }
)).json();
List all org orders
- curl
- Python
- JavaScript
curl --location 'https://api.skywatch.co/earthcache/pipelines?type=all' \
--header 'x-api-key: {{User_API_Key}}'
requests.get(
"https://api.skywatch.co/earthcache/pipelines?type=all",
headers={"x-api-key":"{{User_API_Key}}"}
).json()
await (await fetch(
"https://api.skywatch.co/earthcache/pipelines?type=all",
{ headers: { "x-api-key": "{{User_API_Key}}" } }
)).json();
Use ?cursor=<value> when the response includes a non-null cursor to page through results.