Auditmark

Get a report export

GET
/reports/{report_id}/exports/{export_id}

Poll one export. No plan gate: an export that already exists stays readable, so a plan change cannot strand a caller mid-poll with no way to learn the outcome.

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Path Parameters

report_id*Report Id
export_id*Export Id

Response Body

application/json

application/json

curl -X GET "https://api.auditmark.io/v1/reports/497f6eca-6276-4993-bfeb-53cbbbba6f08/exports/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "report_id": "5ed7905a-4735-4cf7-b1ab-521e066fb971",  "format": "string",  "status": "string",  "generated_at": "2019-08-24T14:15:22Z",  "signed_url": "string",  "status_reason": "export_failed"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}