---
title: "The caller's unsaved edits to this entry"
method: GET
path: "/entries/{entryId}/autosave"
tags: ["Entry drafts"]
---

# The caller's unsaved edits to this entry

`GET /entries/{entryId}/autosave`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/entries/{entryId}/autosave`
- Auth: HTTP bearer

Answers null inside the envelope when there is nothing autosaved.

## Path parameters

- `entryId` string, uuid, required

## Response `200`

OK

- object
  - `data` object, nullable, required
    - `id` string, uuid, required
    - `diaryId` string, uuid, required
    - `entryId` string, uuid, nullable, required
    - `occurredAt` string, nullable, required
    - `content` DraftContent, nullable, required
      - `format` 'plain' | 'markdown'
      - `body` string
      - `title` string, nullable
      - `mood` string, nullable
      - `location` string, nullable
      - `tags` string[]
      - `coverMediaAssetId` string, uuid, nullable
    - `media` MediaRef[], nullable, required
      - `mediaAssetId` string, uuid, required
      - `caption` string, nullable
    - `createdAt` string, required
    - `updatedAt` string, required
  - `meta` object, required
    - `requestId` string, required

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
