Skip to content

The file of an export

GET
/v1/companies/{id}/audit-exports/{exportId}
curl --request GET \
--url https://beta-api.plune.ai/v1/companies/example/audit-exports/example \
--cookie plune_session=<plune_session>

JSON Lines (application/x-ndjson) or CSV (text/csv, a header row; a cell a spreadsheet would read as a formula starts with '), as an attachment. The fields of a line: source (project or company), id, at, projectId, entity, entityId, action, actorType, actorId, sessionHash, diff, meta - a company entry has no project, entity, actor type, session or diff. 30 a minute. 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.

id
required
string
exportId
required
string

The file

string
Example generated
example

No session

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Not the owner or a manager, or no Enterprise

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

No such export of the company, or a company the caller is not in

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

The file is still being made

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

The file is no longer kept (a day): export the period again

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over