`GET /v1/orgs/{org}/compliance/exports/{export_id}`.
GET
/v1/orgs/{org}/compliance/exports/{export_id}
const url = 'https://api.updawg.net/v1/orgs/example/compliance/exports/example';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/exports/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
Organization slug.
export_id
required
string
The exp_… id.
Responses
Section titled “Responses”How the export is doing.
Media typeapplication/json
object
bytes
integer | null format: int64
created_at
required
string format: date-time
download
Where to GET the file, while it can be: the API path, relative to
the API’s own address.
string | null
error
Why it failed.
string | null
expires_at
required
After this the file is no longer handed out.
string format: date-time
filename
What the download is called, once ready.
string | null
finished_at
string | null format: date-time
group
id
required
exp_….
string
kind
required
What an export contains.
string
requested_by
usr_…; absent once that person’s account is gone.
string | null
rows
Data rows, for a CSV.
integer | null format: int64
since
required
string format: date-time
status
required
Where an export is.
string
until
required
string format: date-time
Example
{ "kind": "hosts_csv", "status": "queued"}No session.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
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.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such export here.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
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.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
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.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}