# Update User Symptom Log

Use the `updateSymptomLog` mutation to update a symptom log on behalf the user.

### Required Arguments

| Argument    | Type     | Description                                                                  |
| ----------- | -------- | ---------------------------------------------------------------------------- |
| `id`        | ID!      | Symptom Log ID.                                                              |
| `symptomId` | ID       | Symptom ID.                                                                  |
| `timestamp` | DateTime | The datetime the log was entered. Use the format: `YYYY-MM-DDT hh:mm:ssZ`    |
| `intensity` | Int      | Numeric value provided by the user to describe the intensity of the symptom. |
| `notes`     | String   | User-provided information about the symptom, e.g., trigger, duration, etc.   |

### Available Fields

| Field Name | Type    | Description                                                                            |
| ---------- | ------- | -------------------------------------------------------------------------------------- |
| `success`  | Boolean | **true:** If the entry has been updated successfully. Otherwise, it displays **false** |
| `message`  | String  | The message returns either if the entry has been updated or not.                       |

### Example

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

```graphql
mutation{
  updateSymptomLog(
    id:"U3ltcHRvbUxvZzoyNTY="
    timestamp:"2025-07-21T15:09:18.150559+00:00"
    intensity:3
  ){
    success
    message
  }
}
```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "updateSymptomLog": {
      "success": true,
      "message": "Symptom log updated"
    }
  }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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:

```
GET https://docs.suggestic.com/graphql/query/mutations/tracking/symptoms/update-user-symptom-log.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
