Download a log export
GET
/v1/logs/export/{jobId}/downloadDownload a log export.
Returns the exported file as an attachment: CSV (text/csv, one header row then one row per log), or JSON, an array of log rows as the search returns them. Fails with 404 for an unknown job, or one more than an hour old, and with 409 while the job has not finished.
Requires an organization owner or admin of the job's organization, or an organization-scoped va_ key with the admin role.
Authorization
AuthorizationBearer va_A platform API key (
va_...), created under Settings > API keys. Scoped to an organization or one workspace, with an admin or member role. Used by the management API.
Path parameters
jobIdstringrequiredthe job's id, as returned when it was started
Responses
200text/csv
The exported file
string