> ## Documentation Index
> Fetch the complete documentation index at: https://docs.athina.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Logs By ID

Every inference logged to Athina returns a `prompt_run_id`.

If you store this `prompt_run_id`, you can update the logs with additional information as your application has new events.

For example, you may log `user_feedback` to track user satisfaction with the responses.

You can do this by sending a patch request with `prompt_run_id` of the original inference log.

* **Method**: `PATCH`
* **Endpoint**: `https://log.athina.ai/api/v1/log/inference/{prompt_run_id}`
* **Headers**:

  * `athina-api-key`: YOUR\_ATHINA\_API\_KEY
  * `Content-Type`: `application/json`

#### Request Body[](#request-body)

```python
{
  // ...Fields you want to update,
  "user_feedback": 1,
}
```

For the full list of fields you can update, see the [Logging Attributes](/api-reference/logging/logging-attributes).

#### Allowed fields to update[](#allowed-fields-to-update)

<Tip>You cannot update the prompt\_run\_id or created\_at fields.</Tip>
