[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-workday\u002Fdaily-reports\u002Fget":3,"docs-tabs-workday\u002Fdaily-reports\u002Fget":6},{"content":4,"lastmod":5},"## Read a daily report\n\n`GET \u002Fv1\u002Fworkday\u002Frecords\u002F:recordId\u002Freport`\n\nReturns an employee's daily report by the ID of the work time record it belongs to.\n\nRequires the `timeman` scope. Bitrix24 checks whether the credential owner can read the time records of the employee the record belongs to. READONLY keys can read reports.\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|----------|-----|:-----:|-----------|----------|\n| `recordId` (path) | integer | yes | — | Work time record ID. List: [`GET \u002Fv1\u002Fworkday\u002Frecords`](\u002Fdocs\u002Fworkday\u002Frecords) |\n| `withAi` (query) | boolean | no | `false` | `true` or `1` adds the report written for the record by AI or an automation rule: its type is returned in `type` and its text in `reportExtended`. The saved report is read; no new one is generated. Without an employee's report, the response is `data: null`, even if AI or an automation rule has written a report for the record |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Frecords\u002F185\u002Freport\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Frecords\u002F185\u002Freport\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n```\n\n### JavaScript — personal key\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Frecords\u002F185\u002Freport', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\nconst { data } = await res.json()\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fworkday\u002Frecords\u002F185\u002Freport', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\nconst { data } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | `true` when the request succeeds |\n| `data` | object \\| null | The daily report, or `null` if the record has no employee's report. Field details — [Report fields](\u002Fdocs\u002Fworkday\u002Fdaily-reports\u002Ffields) |\n| `data.id` | integer | Daily report ID. List: [`GET \u002Fv1\u002Fworkday\u002Fdaily-reports`](\u002Fdocs\u002Fworkday\u002Fdaily-reports\u002Flist) |\n| `data.recordId` | integer | Work time record ID. List: [`GET \u002Fv1\u002Fworkday\u002Frecords`](\u002Fdocs\u002Fworkday\u002Frecords) |\n| `data.userId` | integer | ID of the employee the report belongs to. List: [`GET \u002Fv1\u002Fusers`](\u002Fdocs\u002Fentities\u002Fusers\u002Flist) |\n| `data.type` | string | Report type: `REPORT` — the employee's report. With `withAi=true` — `AI_REPORT` or `ROBOT_REPORT` if AI or an automation rule has written a report for the record |\n| `data.report` | string | The employee's report text with BB code markup |\n| `data.reportPlain` | string | Report text without markup |\n| `data.timestamp` | string \\| null | When the report was last saved |\n| `data.reportExtended` | string \\| null | Text of the report written by AI or an automation rule. Present with `withAi=true` if such a report exists, otherwise `null` |\n\n## Response example\n\nThe record has an employee's report:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": 379,\n    \"recordId\": 185,\n    \"userId\": 101,\n    \"type\": \"REPORT\",\n    \"report\": \"[b]Done:[\u002Fb] daily summary\",\n    \"reportPlain\": \"Done: daily summary\",\n    \"timestamp\": \"2026-10-07T08:11:53.000Z\",\n    \"reportExtended\": null\n  }\n}\n```\n\nThe record has no employee's report:\n\n```json\n{\n  \"success\": true,\n  \"data\": null\n}\n```\n\n## Error response example\n\n404 — no work time record with this `recordId` exists:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"Record not found.\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `INVALID_PARAMS` | `recordId` is not a positive integer; `withAi` is not `true`, `false`, `1`, or `0`; an unknown parameter is passed; or a parameter is passed twice |\n| 404 | `ENTITY_NOT_FOUND` | No work time record with this `recordId` exists |\n| 403 | `BITRIX_ACCESS_DENIED` | The credential owner lacks the right to read the time records of the employee the record belongs to. Without this right, reading one's own record is refused too |\n| 409 | `TIMEMAN_MODULE_NOT_ENABLED` | Time Management is not available on this portal |\n| 422 | `BITRIX_ERROR` | Bitrix24 refused the operation |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable or returned a response of an unexpected shape |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header was not passed |\n| 401 | `TOKEN_MISSING` | An app key was sent without a session token in `Authorization: Bearer` |\n| 401 | `INVALID_SESSION` | The session token is invalid or has expired |\n| 403 | `SCOPE_DENIED` | The key lacks the `timeman` scope |\n| 429 | `RATE_LIMITED` | The report read limit (30 requests per minute per key–user pair) or the general request limit was exceeded. The effective report read limit is in the `x-ratelimit-limit` header |\n\nFor the full list of common API errors, see [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Save a daily report](\u002Fdocs\u002Fworkday\u002Fdaily-reports\u002Fsave)\n- [List daily reports](\u002Fdocs\u002Fworkday\u002Fdaily-reports\u002Flist)\n- [Report fields](\u002Fdocs\u002Fworkday\u002Fdaily-reports\u002Ffields)\n- [Workday history](\u002Fdocs\u002Fworkday\u002Frecords)\n- [Daily reports](\u002Fdocs\u002Fworkday\u002Fdaily-reports)\n- [Workday](\u002Fdocs\u002Fworkday)\n","2026-10-23",{},1795415522801]