---
# System prepended metadata

title: API for Logging

---

# API for Logging

## Brief Log

### GET /log/brief
Get brief log of client's facegalleries

####  Request
##### Headers
|KEY|VALUE|
|----------------|-----------------------------|
|**Accesstoken**|`oauth Accesstoken`|
##### Body
- `None`

####  Response
##### Headers
|KEY|VALUE|
|----------------|-----------------------------|
|**Content-Type**|`application/json`|
##### Body
```json=
{
   "status" : "200",
   "status_message" : "Success",
   "result" : [
        {
            "facegallery_id": "luqmanr@loket",
            "total_hits":1000,
            "usage_details": [
                { "code":200, "total_hit": 586 },
                { "code":400, "total_hit": 414 }
            ]
        },
        {
            "facegallery_id": "si_db@mandalik",
            "total_hits":6969,
            "usage_details": [
                { "code":200, "total_hit": 69 },
                { "code":400, "total_hit": 3450 },
                { "code":500, "total_hit": 340 }
            ]
        },
        "..."
   ]
}
```

|Key|Type|Description|
|----------------|-----------------------------|-----------------------------|
|`status`|`string`|Describing the condition of API hit, please refer to List of Status Code|
|`status_message`|`string`|The verbose message of API hit status, please refer to List of Status Code|
|`FaceGalleries`|`list`|List of facegallery with total hit and total hit per status code|

