Staff: support inbox numbers
const url = 'https://api.deploybase.eu/api/v1/api/v1/support-desk/stats';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
object
Answered is conversations of the window with a first response.
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.
Late is open conversations whose first response is owed and past due now.
MedianFirstResponseSeconds is wall clock, created to first public staff reply. Null without any answered conversation in the window.
WindowDays is the window of the fields below.
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
object
object
object
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.
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
object
object
object
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.
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
object
object
object
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.
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