View the audit log
Organization audit-log listing is not currently available; the method returns NOT_IMPLEMENTED.
client.org(orgId).auditLog
Organization audit-log listing is not currently available; the method returns NOT_IMPLEMENTED.
Not available
The method is published for contract stability, but the operation currently returns
NOT_IMPLEMENTED.
Import and client prerequisite
import { createCapxulClient } from "@capxul/sdk";
const created = await createCapxulClient({
publishableKey: "cap_pk_…",
});
if (!created.ok) throw created.error;
const client = created.value;Current behavior
declare const orgId: OrgId;
const result = await client.org(orgId).auditLog();
if (result.ok) {
throw new Error("This operation is not expected to succeed");
}
console.log(result.error.code); // "NOT_IMPLEMENTED"Signature
client.org(orgId).auditLog(options?: { readonly signal?: AbortSignal; }): Promise<CapxulResult<readonly OrganizationAuditLogItem[]>>;Source: packages/sdk/src/surface/org.ts:235.
Parameters
options
Optional.
{ readonly signal?: AbortSignal; } | undefinedReturns
Promise<CapxulResult<readonly OrganizationAuditLogItem[]>>;Read the ok discriminant before accessing value or error.
Errors
Expected failures resolve as { ok: false, error: CapxulError }; they are not thrown as the normal domain contract. Branch on result.ok and use the stable error.code. A pre-aborted AbortSignal returns a CANCELLED failure. Provider messages and internal causes are not public contracts.
Availability and evidence
Not available. Evidence classification: shipped-proven.
shipped-proven negative contract: Organization audit-log listing currently returns NOT_IMPLEMENTED.
Related
- No dedicated React SDK hook currently projects this method.
- Platform capability matrix
- Core SDK scaffold inventory
- Result and proof boundaries