Skip to main content
Returns the workspace’s S3 log export, as configured under Log Export in workspace settings: its destination, which streams it exports, and its state. The role ARN is always redacted; the full ARN is not available through the API. To set up an export or change its destination, use Configure log export. Returns 404 when no export is configured or the workspace does not have log export.

Authorization

Requires an Admin API key, or an OAuth sign-in with Admin access by a person who is a workspace admin. Read and Write keys get 403, and a sign-in with Read or Write access gets an insufficient_scope challenge for macroscope:admin.
string
required
Bearer <key>. See Authentication.

Path parameters

string
required
GITHUB_ORGANIZATION or GITHUB_USER.
string
required
Numeric GitHub ID of the organization or user.

Response

LogExport

Errors

HTTPMeaning
403Your credential or your permissions do not allow managing the log export
404No log export is configured, or the workspace does not have log export
See Errors for the rest.