Skip to content

Staff: support inbox numbers

GET
/api/v1/support-desk/stats
curl --request GET \
--url https://api.deploybase.eu/api/v1/api/v1/support-desk/stats \
--header 'Authorization: <Authorization>'

Open and late conversations now, and over the last 30 days: the share of first responses sent by the due time (answered plus missed ones count, missed meaning unanswered, not closed and past due) and the median first response in seconds, wall clock.

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
answered

Answered is conversations of the window with a first response.

integer
answered_in_time_pct

AnsweredInTimePct is in-time first responses over answered plus missed ones (unanswered, not closed, past due), 0 to 100. Null when the window has neither.

number
late

Late is open conversations whose first response is owed and past due now.

integer
median_first_response_seconds

MedianFirstResponseSeconds is wall clock, created to first public staff reply. Null without any answered conversation in the window.

integer
open
integer
window_days

WindowDays is the window of the fields below.

integer

Example generated

{
"data": {
"answered": 1,
"answered_in_time_pct": 1,
"late": 1,
"median_first_response_seconds": 1,
"open": 1,
"window_days": 1
},
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Unauthorized

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Forbidden

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Internal Server Error

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Live 582ac705 built