Show workspace metrics
Show metrics for workspaces
get
Path parameters
orgstring · min: 1 · max: 128RequiredExample:
Org is the organisation identifier.
o1projectstring · min: 1 · max: 128RequiredExample:
Project is the project identifier.
fgQuery parameters
start_timeinteger · int64OptionalExample:
Start time filter (Unix timestamp)
4554595841385176600end_timeinteger · int64OptionalExample:
End time filter (Unix timestamp)
9093459711421453000Header parameters
Harness-Accountstring · min: 1 · max: 128RequiredExample:
Account is the internal customer account ID.
yiResponses
200
OK response.
application/json
400
BadRequestError: Bad Request response.
application/vnd.goa.error
401
UnauthorizedError: Unauthorized response.
application/vnd.goa.error
403
ForbiddenError: Forbidden response.
application/vnd.goa.error
404
NotFoundError: Not Found response.
application/vnd.goa.error
408
TimeoutError: Request Timeout response.
application/vnd.goa.error
409
ConflictError: Conflict response.
application/vnd.goa.error
423
LockedError: Locked response.
application/vnd.goa.error
499
ContextCancelledError: response.
application/vnd.goa.error
500
InternalServerError: Internal Server Error response.
application/vnd.goa.error
502
BadGatewayError: Bad Gateway response.
application/vnd.goa.error
get/api/orgs/{org}/projects/{project}/workspace-metrics
GET /api/orgs/{org}/projects/{project}/workspace-metrics HTTP/1.1
Host: localhost:80
Harness-Account: yi
Accept: */*
{
"status_counts": {
"Ab debitis quam qui.": 3364157374848411000,
"Deleniti quisquam.": 8552386470240735000,
"Suscipit et qui.": 119343305104830880
}
}Last updated
Was this helpful?