The company’s exports of its action log
const url = 'https://beta-api.plune.ai/v1/companies/example/audit-exports';const options = {method: 'GET', headers: {cookie: 'plune_session=<plune_session>'}};
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://beta-api.plune.ai/v1/companies/example/audit-exports \ --cookie plune_session=<plune_session>The panel of the company’s export jobs: the last 7 days, newest first, each with its job and whether its file is ready to fetch, still pending, or expired. The owner and the managers of the company (ADR 0079 Р261 А), the session alone; the file holds the log of EVERY project of the company, the ones the caller is not a member of too. A company without Enterprise in active or grace is refused 403 enterprise_required.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”The exports
object
object
The period and the filters it was asked with.
object
The file is kept until then (a day after it is made).
object
Which operation: ingest, sync, auto-analysis, and bin-empty — the Bin emptied by the server (#1388) — and runs-delete — runs deleted in the background (#1423) — today; open-ended.
What it works on — a run id, an import id.
Its name as people know it — shown after the kind.
How far it got; null while the size is not known yet.
object
Why it stopped — only on action_needed, paused, blocked, failed, cancelled. A cancel reads «Cancelled by
The producer’s own token for where it resumes; null — a Retry starts from the beginning.
Which try this is: 1, and one more for each Retry. A producer sends it back in its reports (attempt), and a report of an earlier try is 409 stale_attempt.
Set on completed, failed and cancelled, and only there.
Only on a run-export job in GET /v1/jobs and in the answer of GET /v1/runs/{id}/export (202): the run the file is of, so «Export again» works from any browser. A completed export stays in the list 7 days (its file goes after 24 hours).
Only on a testrail-import or testrail-dry-run job in GET /v1/jobs while TestRail asked it to wait (its import is paused_rate_limit, #2269): when it goes on by itself. The job stays in_progress; no Resume is needed. Absent once that time has passed, while the step that goes on has not settled yet.
Why the job failed, as a word (also the job’s reason): too_large - the file would be over 32 MiB; gone - its row was swept first; forbidden - the one who asked no longer runs the company’s people; failed - the build broke. null unless the job failed.
Example
{ "exports": [ { "format": "jsonl", "filename": "audit-log-2026-08-01-2026-10-30.jsonl", "state": "pending", "job": { "state": "in_progress" }, "failure": "too_large" } ]}No session
object
Example generated
{ "error": "example"}Not the owner or a manager, or no Enterprise
object
Example generated
{ "error": "example"}A company the caller is not in
object
Example generated
{ "error": "example"}