---
updatedAt: 2025-06-05T21:40:29.000Z
agentTools:
  projectIndex: https://apidocs.officient.io/llms.txt
---

# Weekly schedule

scope required: weekly.schedules:read

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "officient-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.officient.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/1.0/people/{person_id}/weekly_schedule/current": {
      "get": {
        "summary": "Weekly schedule",
        "description": "",
        "operationId": "weekly-schedule",
        "parameters": [
          {
            "name": "person_id",
            "in": "path",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "\"data\": {\n        \"weekly_time_engagement_minutes\": {\n            \"monday\": 456,\n            \"tuesday\": 456,\n            \"wednesday\": 456,\n            \"thursday\": 456,\n            \"friday\": 456,\n            \"saturday\": 0,\n            \"sunday\": 0\n        },\n        \"multiple_week_schedule\": {\n            \"schedule_start_date\": \"2016-07-11\",\n            \"weeks\": [\n                {\n                    \"week_nr\": 1,\n                    \"weekly_time_engagement_minutes\": {\n                        \"monday\": 456,\n                        \"tuesday\": 456,\n                        \"wednesday\": 456,\n                        \"thursday\": 456,\n                        \"friday\": 456,\n                        \"saturday\": 0,\n                        \"sunday\": 0\n                    }\n                },\n                {\n                    \"week_nr\": 2,\n                    \"weekly_time_engagement_minutes\": {\n                        \"monday\": 450,\n                        \"tuesday\": 450,\n                        \"wednesday\": 450,\n                        \"thursday\": 450,\n                        \"friday\": 480,\n                        \"saturday\": 0,\n                        \"sunday\": 0\n                    }\n                }\n            ]\n        }\n    }\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status_code\": 400,\n    \"reason_phrase\": \"Invalid employee id\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "status_code": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "reason_phrase": {
                          "type": "string",
                          "example": "Employee not found or you have no access."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "status_code": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "reason_phrase": {
                          "type": "string",
                          "example": "Invalid employee id"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```