`GET /v1/orgs/{org}/compliance/exports`.
const url = 'https://api.updawg.net/v1/orgs/example/compliance/exports';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.updawg.net/v1/orgs/example/compliance/exportsParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization slug.
Responses
Section titled “Responses”The 20 most recent exports, newest first.
object
The most recent, newest first.
object
Where to GET the file, while it can be: the API path, relative to
the API’s own address.
Why it failed.
After this the file is no longer handed out.
What the download is called, once ready.
exp_….
What an export contains.
usr_…; absent once that person’s account is gone.
Data rows, for a CSV.
Where an export is.
Example
{ "exports": [ { "kind": "hosts_csv", "status": "queued" } ]}No session.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not permitted for this role. Or the plan does not include compliance reports (Business): plan-required.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such organization, or not yours.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The organization’s data is in another region (wrong-region, DAWG-159). detail names that region’s API; send the request there.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}