Skip to Content
veriom

Get workspace retention

Report how long the audit log and resolved findings are kept, and the plan's bounds.

GET
/v1/workspaces/{workspace_id}/data-retention

Report how long the audit log and resolved findings are kept, and the plan's bounds.

Authorization

workspaceToken
headerAuthorizationBearer <vat_<opaque-token>>

Expiring, hashed workspace token with explicit scopes.

Path Parameters

workspace_id*Workspace Id
Formatuuid

Response Body

Successful Response

application/json
  1. response
audit_log*

Findings fixed or marked false positive, and unchanged for longer than the effective period, are deleted with their evidence, comments, and history.

plan*PlanId
Value in"trial""starter""growth""enterprise"
plan_enforced*Plan Enforced

When false no plan bound applies and only a chosen period removes records.

resolved_findings*

Findings fixed or marked false positive, and unchanged for longer than the effective period, are deleted with their evidence, comments, and history.

updated_at*|null
updated_by*|null
version*Version

Send back on update to detect a concurrent change.

Example Request
curl -X GET 'https://api.veriom.ai/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/data-retention'
Example Response
{  "audit_log": {    "configured_days": 0,    "effective_days": 0,    "maximum_days": 0,    "minimum_days": 0  },  "plan": "trial",  "plan_enforced": true,  "resolved_findings": {    "configured_days": 0,    "effective_days": 0,    "maximum_days": 0,    "minimum_days": 0  },  "updated_at": "2019-08-24T14:15:22Z",  "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe",  "version": 0}