Skip to content

Get Resource Obligations

GET
/compliance/resources/{resourceId}/obligations

Returns the list of Actions that a specific Resource must fulfill (its obligations). Obligations are derived from: Resource -> Unit <- Action, filtered by the type-matching rule (action.targetResourceType == resource.type). This shows WHAT is required, not WHETHER it’s fulfilled — use Get Resource Compliance for that.

resourceId
required
string
X-Space-Id
required
string format: uuid

UUID of the target Space (tenant boundary). Validated against user access.

Array<object>
object
actionId
required

Action ID

string format: uuid
Example
660e8400-e29b-41d4-a716-446655440000
name
required

Action name

string
Example
Fire safety training
type
required

Action type

string
Allowed values: training health check ppe maintenance
Example
training
targetResourceType
required

Target resource type

string
Allowed values: person equipment environment substance
Example
person
validityValue
required

Validity duration value

number
Example
5
validityUnit
required

Validity duration unit

string
Allowed values: year month day
Example
year

Unauthorized — missing or invalid JWT

Forbidden — insufficient permissions

Resource not found