# Reporting, Insights and Statistics

### Manager Insights: Recent Member Recognition Reporting

This API lets you get insights about recent recognized Workspace members within a particular Workspace. The following recognition types supported: **Gifts** and **Shoutouts**. See [documentation](/version/openapi/reports).

```shell curl
curl -i -X GET \
  'https://api-demo.guusto.io/api/v1/reports/members/last-recognized?page=1&size=25&employeeNumber=23412&manager=23412&currency=CAD&department=Engineering&location=Vancouver&costCentre=CC002' \
  -H 'Authorization: Bearer <YOUR_ApiToken_HERE>' \
  -H 'X-Workspace-id: 444'
```

```json 200 application/json
{
  "page": 1,
  "size": 1,
  "totalElements": 2,
  "totalPages": 1,
  "teamMembers": [
    {
      "teamMember": {
        "email": "john.doe@example.com",
        "firstName": "John",
        "lastName": "Doe"
      },
      "lastDate": "2025-04-02",
      "type": "SHOUTOUT"
    },
    {
      "teamMember": {
        "email": "Jimmy2@example.com",
        "firstName": "Jim",
        "lastName": "Bob"
      },
      "lastDate": "2025-03-30",
      "type": "GIFT"
    }
  ]
}
```

```json 400 application/json
{
  "status": 400,
  "message": "Bad Request - Input could be invalid",
  "type": "invalid_field"
}
```

```json 401 application/json
{
  "status": 401,
  "message": "You do not have the right authentication to access this resource.",
  "type": "security_error"
}
```

```json 403 application/json
{
  "status": 403,
  "message": "You do not have authorization to access this resource.",
  "type": "security_error"
}
```

```json 500 application/json
{
  "status": 500,
  "message": "Something happened on our side",
  "type": "server_error"
}
```

### Workspace Activity Feed

This API lets you retrieve recognition activity within a particular Workspace. Which `Activity` contains further details about a recognition.See [documentation](/version/openapi/reports).

```shell curl
curl -i -X GET \
  'https://api-demo.guusto.io/api/v1/reports/teams/activity?page=1&size=25' \
  -H 'Authorization: Bearer <YOUR_ApiToken_HERE>' \
  -H 'X-Workspace-id: 444'
```

```json 200 application/json
{
  "page": 1,
  "size": 1,
  "totalElements": 2,
  "totalPages": 1,
  "activities": [
    {
      "status": "PENDING",
      "sender": {
        "id": 123332,
        "email": "aldrin.ca@example.io",
        "firstName": "Aldrin",
        "lastName": "Ca",
        "image": "www.image.io/example2.png",
        "self": false
      },
      "receiver": {
        "id": 1233,
        "email": "david.lu@example.io",
        "firstName": "David",
        "lastName": "Lu",
        "image": "www.image.io/example.png",
        "self": false
      },
      "createdOn": "2025-04-02T12:39:24.356313",
      "description": "What an achievement!",
      "reason": {
        "id": 33,
        "description": "Team Lead"
      },
      "isPrivate": false,
      "type": "SHOUTOUT",
      "account": 12323,
      "team": 765
    },
    {
      "status": "APPROVED",
      "sender": {
        "id": 123332,
        "email": "aldrin.ca@example.io",
        "firstName": "Aldrin",
        "lastName": "Ca",
        "image": "www.image.io/example2.png",
        "self": false
      },
      "receiver": {
        "id": 1233,
        "email": "ericJ@example.io",
        "firstName": "Eric",
        "lastName": "Jupiter",
        "image": "www.example2.io/example.png",
        "self": false
      },
      "createdOn": "2025-03-30T12:39:24.356351",
      "description": "What an achievement!",
      "reason": {
        "id": 33,
        "description": "Team Lead"
      },
      "isPrivate": false,
      "type": "SHOUTOUT",
      "account": 12323,
      "team": 765
    }
  ]
}
```

```json 400 application/json
{
  "status": 400,
  "message": "Bad Request - Input could be invalid",
  "type": "invalid_field"
}
```

```json 401 application/json
{
  "status": 401,
  "message": "You do not have the right authentication to access this resource.",
  "type": "security_error"
}
```

```json 403 application/json
{
  "status": 403,
  "message": "You do not have authorization to access this resource.",
  "type": "security_error"
}
```

```json 500 application/json
{
  "status": 500,
  "message": "Something happened on our side",
  "type": "server_error"
}
```