Skip to main content
POST
Error

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workspace_id
string<uuid>
required

Body

application/json

Create payload for case duration definitions.

name
string
required

Human readable name for the metric.

Maximum string length: 255
start_anchor
CaseDurationEventAnchor · object
required

Event configuration that marks the start of the duration.

end_anchor
CaseDurationEventAnchor · object
required

Event configuration that marks the end of the duration.

description
string | null

Optional description providing more context.

Maximum string length: 1024

Response

Successful Response

Read model for case duration definitions.

name
string
required

Human readable name for the metric.

Maximum string length: 255
start_anchor
CaseDurationEventAnchor · object
required

Event configuration that marks the start of the duration.

end_anchor
CaseDurationEventAnchor · object
required

Event configuration that marks the end of the duration.

id
string<uuid>
required
description
string | null

Optional description providing more context.

Maximum string length: 1024