# Intake Checklist

The `intakesChecklist` query helps you review your *food intake* to see if you're doing well or if you need to improve something in your daily intake.

### Required Arguments

| **Argument** | **Type**       | **Description**                                                                                                                |
| ------------ | -------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `category`   | IntakeCategory | <p>Select among the following categories: <br><code>FOOD</code>, <code>PLAN\_SUPPLEMENT</code>, or <code>SUPPLEMENT</code></p> |
| `startDate`  | Date           | The date when the food intake will start counting. Use the format: `YYYY-MM-DD`                                                |
| `endDate`    | Date           | The date when the food intake will end counting. Use the format: `YYYY-MM-DD`                                                  |

### **Available Fields**

<table data-header-hidden><thead><tr><th width="253.33333333333331">Field name</th><th>Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Field name</strong></td><td><strong>Type</strong></td><td><strong>Description</strong></td></tr><tr><td>name</td><td>String</td><td>Unique Id of the checklist item</td></tr><tr><td>icon</td><td>String</td><td>Title of the checklist item</td></tr><tr><td>days</td><td>IntakesChecklistDay</td><td>An object that returns the items checklist per day</td></tr></tbody></table>

### Example <a href="#example" id="example"></a>

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

```graphql
query($category: IntakeCategory!, $start: Date!, $end: Date!) {
  intakesChecklist(start: $start, end: $end, category: $category) {
    name
    icon
    days {
      date
      items {
        ... on ChecklistItem {
          id
          title
          image
          checked
          subtitle
          category
        }
        ... on SupplementOnPlan {
          planName
          checked
          timeOfDay
          order
        }
    
      }
    }
  }
}

```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="QUERY VARIABLES" %}

```graphql
{
  "start": "2012-01-01",
  "end": "2022-12-01",
  "category": "SUPPLEMENT"
}
```

{% endtab %}
{% endtabs %}
