> For the complete documentation index, see [llms.txt](https://docs.suggestic.com/graphql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.suggestic.com/graphql/query/queries/tracking/daily-recap/get-daily-recap.md).

# Get Daily Recap

Use the `dailyRecap` query to get the information of the daily questions available in the [coaching portal](https://docs.suggestic.com/coaching-portal/accessing-the-coaching-portal/navigating-the-coaching-portal/coach-dashboard/progress-tab/checking-the-users-recap-questions) and in the app, based on a given date.

### Required Argument

| **Argument Name** |    **Type**   |                                      **Description**                                      |
| :---------------: | :-----------: | :---------------------------------------------------------------------------------------: |
|       `date`      |      Date     | <p>Date when the question has been logged. Use the format <code>YYYY-mm-dd</code><br></p> |
|      `group`      | GroupQuestion |                       Argument used to get Mood recap. enum: `MOOD`                       |

### Available Fields

<table data-header-hidden><thead><tr><th width="219.33333333333331" align="center">Field</th><th align="center">Type</th><th align="center">Description</th></tr></thead><tbody><tr><td align="center"><strong>Field</strong></td><td align="center"><strong>Type</strong></td><td align="center"><strong>Description</strong></td></tr><tr><td align="center"><code>id</code></td><td align="center">String</td><td align="center">Daily recap question ID</td></tr><tr><td align="center"><code>imageUrl</code></td><td align="center">Int</td><td align="center">URL of the question's image</td></tr><tr><td align="center"><code>question</code></td><td align="center">String</td><td align="center">Question's title</td></tr><tr><td align="center"><code>answers</code></td><td align="center"><a href="#answer-object">Answer</a></td><td align="center">Object that includes the answer information.</td></tr></tbody></table>

## Answer object

The Answer object displays the information of the answer

### Available Fields

<table data-header-hidden><thead><tr><th width="219.33333333333331" align="center">Field</th><th align="center">Type</th><th align="center">Description</th></tr></thead><tbody><tr><td align="center"><strong>Field</strong></td><td align="center"><strong>Type</strong></td><td align="center"><strong>Description</strong></td></tr><tr><td align="center"><code>id</code></td><td align="center">ID</td><td align="center">Answer unique ID</td></tr><tr><td align="center"><code>answer</code></td><td align="center">String</td><td align="center">Answer text</td></tr><tr><td align="center"><code>selected</code></td><td align="center">Boolean</td><td align="center"><code>true</code> if the answer has been selected. Otherwise, <code>false</code></td></tr><tr><td align="center"><code>type</code></td><td align="center">HabitAnswerType</td><td align="center">User habit's answer type. There are three possible values: <code>NEGATIVE</code>, <code>NEUTRAL</code>, <code>POSITIVE</code></td></tr><tr><td align="center"><code>imageUrl</code></td><td align="center">String</td><td align="center">Mood answer image URL.</td></tr></tbody></table>

## Example

{% tabs %}
{% tab title="Request" %}

```graphql
{
  dailyRecap(date: "2022-01-12") {
    id
    question
    imageUrl
    answers {
      id
      answer
      selected
      type
    }
  }
}

```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "dailyRecap": [
      {
        "id": "RGFpbHlRdWVzdGlvbjo3Y2E4YzAxZS1kZDRjLTRlODktYjA3NS04ZGZmNzhlZDlhZTE=",
        "question": "I exercised for at least 30 minutes",
        "imageUrl": "https://sg-data.storage.googleapis.com/images_bucket/icon-recap-exercised-48e2ba45-6b6f-44eb-972b-d96082e2bfee.png",
        "answers": [
          {
            "id": "QW5zd2VyOmZjYTNhYjEwLWU4NDAtNGExZS05NzkyLTc4OTE0NzhmMTE1Zg==",
            "answer": "Yes, I did",
            "selected": false,
            "type": "POSITIVE"
          },
          {
            "id": "QW5zd2VyOjY0OTViNTA0LWJhZDQtNGY2Ni05ZDI4LWRiZDk3NzAzOTRhMQ==",
            "answer": "No, I didn't",
            "selected": false,
            "type": "NEGATIVE"
          }
        ]
      },
      {
        "id": "RGFpbHlRdWVzdGlvbjo2ZDI0ZjQ5Ny0wNzQzLTQyYTQtYThlZi1lNjhiNzkyZjA0NmU=",
        "question": "I slept at least 7 hours",
        "imageUrl": "https://sg-data.storage.googleapis.com/images_bucket/icon-recap-slept-1ba72e13-7495-44b9-894d-e3aa0bbc3d55.png",
        "answers": [
          {
            "id": "QW5zd2VyOmI2MWVkZGJlLTc0ODYtNDFlOS1iNzNlLTQ5NmM0NzNmZGViYQ==",
            "answer": "+ 7 hours",
            "selected": false,
            "type": "POSITIVE"
          },
          {
            "id": "QW5zd2VyOjMwZjU3ZDU2LTViNzUtNGMzYi1hYzAxLWI2MGE0NzczOGJiZg==",
            "answer": "- 7 hours",
            "selected": false,
            "type": "NEGATIVE"
          }
        ]
      }
    ]
  }
}
```

{% endtab %}
{% endtabs %}

## Example for Mood

{% tabs %}
{% tab title="Request" %}

```graphql
{
 dailyRecap(date: "2023-05-09", group: MOOD){
  question
  answers{
    id
    imageUrl
    type
    selected
    answer
  }
}
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "dailyRecap": [
      {
        "question": "How are you feeling today?",
        "answers": [
          {
            "id": "QW5zd2VyOjJjNWUzMWIzLTMxMGYtNDdjYy1hYzVmLWNlNGQ4NTcxMjNmZQ==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-anxious.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Anxious"
          },
          {
            "id": "QW5zd2VyOjYwMjdkMDg2LWJkZDgtNGJmYS05MWZkLWU4YWYzOWZmOWI1ZA==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-content.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Content"
          },
          {
            "id": "QW5zd2VyOjJhZDUyOGYyLWY5ODctNGU4Zi1hM2NiLTg2ODNjMGQ2ZmFmOQ==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-energized.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Energized"
          },
          {
            "id": "QW5zd2VyOjU5OWJiYjZiLWZiYTUtNGUzMi04OWY3LWY3NTA2N2NhZTc2NQ==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-exited.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Excited"
          },
          {
            "id": "QW5zd2VyOjE4ZjY1OWQ3LTJmOWYtNGZiMi04NDAzLTc5NDc1YzJmZjcxOQ==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-focused.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Focused"
          },
          {
            "id": "QW5zd2VyOmI1MTBlZWRiLTY4MjgtNDdmZi04NDc3LTU2NmFhYjc1NTVjYg==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-frustrated.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Frustrated"
          },
          {
            "id": "QW5zd2VyOjAwMmQxN2ViLTlkOWEtNDFmOS1hMzc3LTQ2ZWI4OTM2NjdlYQ==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-grateful.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Grateful"
          },
          {
            "id": "QW5zd2VyOmI5ZTBkMDc0LWY2MGMtNDg4ZS1hMDhmLTY2NzA0YmRjMmJlMA==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-happy.png",
            "type": "NEUTRAL",
            "selected": true,
            "answer": "Happy"
          },
          {
            "id": "QW5zd2VyOmUxYzJkZDdkLWI3NTgtNDhiOS05YTI5LTI3MTQ0ZjZkMjU1ZA==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-hopeful.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Hopeful"
          },
          {
            "id": "QW5zd2VyOjc2NzFhMGFlLTM5NjgtNGJjMy1iODU3LWE0ZWY2MGRlZTY3OA==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-inspired.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Inspired"
          },
          {
            "id": "QW5zd2VyOjI1NjMyNjk5LTliZmItNGUyYy1iNTg3LWU4NTY1OWYyZTcwNw==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-sad.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Sad"
          },
          {
            "id": "QW5zd2VyOmRjNjVkZjZmLWViOGMtNGNmZC1hZjBjLWZhZjE4NmJlYmE4MQ==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood%20Icons/ic_base_emoji-stressed.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Stressed"
          },
          {
            "id": "QW5zd2VyOmNiOWVhYzNkLTZmN2EtNDRhYS04YmI5LWJjNWU5ZmM2OTQ3Mg==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-tired.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Tired"
          },
          {
            "id": "QW5zd2VyOmFiNzBhMTQwLWFhZTMtNGExOS05MjNjLWFmNWNhMjk4NzY2ZA==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-uncertain.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Uncertain"
          },
          {
            "id": "QW5zd2VyOjk1NmExNmVlLWRlZDAtNGM3Yy04OWEzLWRhYTUwY2NhNDM3YQ==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-unmotivated.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Unmotivated"
          },
          {
            "id": "QW5zd2VyOmJjNWJmZmM3LTcxYjEtNGFmMi05NzY0LTlmMDBiOGVmNWQ4Ng==",
            "imageUrl": "https://storage.googleapis.com/sg-data/serena/Mood Icons/ic_base_emoji-worried.png",
            "type": "NEUTRAL",
            "selected": false,
            "answer": "Worried"
          }
        ]
      }
    ]
  }
}
```

{% endtab %}
{% endtabs %}

<figure><img src="/files/mrQANUCONgf5KAyCSgj1" alt=""><figcaption><p>Today's mood</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.suggestic.com/graphql/query/queries/tracking/daily-recap/get-daily-recap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
