---
updatedAt: 2026-06-22T16:03:32.000Z
agentTools:
  projectIndex: https://docs.oysterhr.com/llms.txt
---

# Retrieve all time sheets

Returns all Time Sheets for a company.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Endpoints",
    "version": "v1"
  },
  "components": {
    "securitySchemes": {
      "bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "timeTrackingTimeSheets": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "id",
            "engagement",
            "timePeriod",
            "cadence",
            "status",
            "locked",
            "isAmendment",
            "hasAmendmentTimeSheet",
            "createdBy",
            "flexibleWorkArrangement",
            "totals",
            "workSummary"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "engagement": {
              "type": "object",
              "properties": {
                "engagementId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "countryCode": {
                  "type": "string"
                }
              }
            },
            "timePeriod": {
              "type": "object",
              "required": [
                "startDate",
                "endDate"
              ],
              "properties": {
                "startDate": {
                  "type": "string",
                  "format": "date"
                },
                "endDate": {
                  "type": "string",
                  "format": "date"
                },
                "year": {
                  "type": "string"
                },
                "month": {
                  "type": "string"
                }
              }
            },
            "cadence": {
              "type": "string",
              "enum": [
                "MONTHLY",
                "BI_WEEKLY",
                "SEMI_MONTHLY"
              ]
            },
            "status": {
              "type": "string",
              "enum": [
                "PENDING_SUBMISSION",
                "SUBMITTED",
                "PENDING_APPROVAL",
                "APPROVED"
              ]
            },
            "statusReason": {
              "type": "string",
              "nullable": true
            },
            "locked": {
              "type": "boolean"
            },
            "isAmendment": {
              "type": "boolean"
            },
            "hasAmendmentTimeSheet": {
              "type": "boolean"
            },
            "amendmentTimeSheetId": {
              "type": "string",
              "nullable": true
            },
            "originalTimeSheetId": {
              "type": "string",
              "nullable": true
            },
            "createdBy": {
              "type": "string"
            },
            "submittedBy": {
              "type": "string",
              "nullable": true
            },
            "confirmedBy": {
              "type": "string",
              "nullable": true
            },
            "flexibleWorkArrangement": {
              "type": "boolean"
            },
            "totals": {
              "type": "object",
              "properties": {
                "worked": {
                  "$ref": "#/components/schemas/duration"
                },
                "workedOnHolidays": {
                  "$ref": "#/components/schemas/duration"
                },
                "workedOnWeekends": {
                  "$ref": "#/components/schemas/duration"
                },
                "workedOnWeekdays": {
                  "$ref": "#/components/schemas/duration"
                },
                "notWorked": {
                  "$ref": "#/components/schemas/duration"
                },
                "timeOff": {
                  "$ref": "#/components/schemas/duration"
                }
              }
            },
            "workSummary": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/timeTrackingWorkSummaryItem"
              }
            }
          }
        }
      },
      "timeTrackingWorkSummaryItem": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "duration": {
            "$ref": "#/components/schemas/duration"
          }
        },
        "required": [
          "type",
          "duration"
        ]
      },
      "duration": {
        "type": "object",
        "properties": {
          "hours": {
            "type": "integer",
            "minimum": 0
          },
          "minutes": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "hours",
          "minutes"
        ]
      },
      "meta": {
        "type": "object",
        "properties": {
          "items": {
            "type": "integer"
          },
          "count": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "pages": {
            "type": "integer"
          },
          "firstUrl": {
            "type": "string"
          },
          "lastUrl": {
            "type": "string"
          },
          "pageUrl": {
            "type": "string"
          },
          "nextUrl": {
            "type": "string"
          },
          "prevUrl": {
            "type": "string"
          },
          "deprecation": {
            "type": "object",
            "properties": {
              "at": {
                "type": "string"
              },
              "sunset": {
                "type": "string"
              },
              "link": {
                "type": "object",
                "properties": {
                  "rel": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "required": [
          "items",
          "count",
          "page",
          "pages",
          "firstUrl",
          "lastUrl",
          "pageUrl",
          "nextUrl",
          "prevUrl"
        ]
      }
    }
  },
  "paths": {
    "/v1/time_tracking/time_sheets": {
      "get": {
        "summary": "Retrieve all time sheets",
        "tags": [
          "Time Tracking"
        ],
        "description": "Returns all Time Sheets for a company.",
        "security": [
          {
            "bearer_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful",
            "content": {
              "application/json": {
                "examples": {
                  "No time sheets": {
                    "value": {
                      "data": [],
                      "meta": {
                        "items": 100,
                        "count": 0,
                        "page": 1,
                        "pages": 1,
                        "firstUrl": "/v1/time_tracking/time_sheets?perPage=100&page=1",
                        "lastUrl": "/v1/time_tracking/time_sheets?perPage=100&page=1",
                        "pageUrl": "/v1/time_tracking/time_sheets?perPage=100&page=1",
                        "nextUrl": "/v1/time_tracking/time_sheets?perPage=100&page=",
                        "prevUrl": "/v1/time_tracking/time_sheets?perPage=100&page="
                      }
                    }
                  },
                  "Successful": {
                    "value": {
                      "data": [
                        {
                          "id": "A4338e26",
                          "engagement": {
                            "engagementId": "A5540727",
                            "name": "Margery Wolf",
                            "type": "EMPLOYMENT",
                            "countryCode": "US"
                          },
                          "timePeriod": {
                            "startDate": "2022-10-01",
                            "endDate": "2022-10-31",
                            "year": "2022",
                            "month": "10"
                          },
                          "cadence": "MONTHLY",
                          "status": "PENDING_SUBMISSION",
                          "statusReason": null,
                          "locked": false,
                          "isAmendment": false,
                          "hasAmendmentTimeSheet": false,
                          "amendmentTimeSheetId": null,
                          "originalTimeSheetId": null,
                          "createdBy": "OYSTER_STAFF",
                          "submittedBy": null,
                          "confirmedBy": null,
                          "flexibleWorkArrangement": false,
                          "workSummary": [],
                          "totals": {
                            "worked": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "workedOnHolidays": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "workedOnWeekends": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "workedOnWeekdays": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "notWorked": {
                              "hours": 136,
                              "minutes": 0
                            },
                            "timeOff": {
                              "hours": 0,
                              "minutes": 0
                            }
                          }
                        },
                        {
                          "id": "B4b8df09",
                          "engagement": {
                            "engagementId": "B0b779a8",
                            "name": "Hermine Dach",
                            "type": "EMPLOYMENT",
                            "countryCode": "US"
                          },
                          "timePeriod": {
                            "startDate": "2022-10-01",
                            "endDate": "2022-10-31",
                            "year": "2022",
                            "month": "10"
                          },
                          "cadence": "MONTHLY",
                          "status": "SUBMITTED",
                          "statusReason": null,
                          "locked": false,
                          "isAmendment": false,
                          "hasAmendmentTimeSheet": false,
                          "amendmentTimeSheetId": null,
                          "originalTimeSheetId": null,
                          "createdBy": "OYSTER_STAFF",
                          "submittedBy": "AUTOMATION",
                          "confirmedBy": null,
                          "flexibleWorkArrangement": false,
                          "workSummary": [],
                          "totals": {
                            "worked": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "workedOnHolidays": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "workedOnWeekends": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "workedOnWeekdays": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "notWorked": {
                              "hours": 136,
                              "minutes": 0
                            },
                            "timeOff": {
                              "hours": 0,
                              "minutes": 0
                            }
                          }
                        },
                        {
                          "id": "C5aef98c",
                          "engagement": {
                            "engagementId": "C6c9d557",
                            "name": "Mitzi Nienow DVM",
                            "type": "EMPLOYMENT",
                            "countryCode": "US"
                          },
                          "timePeriod": {
                            "startDate": "2022-10-01",
                            "endDate": "2022-10-31",
                            "year": "2022",
                            "month": "10"
                          },
                          "cadence": "MONTHLY",
                          "status": "PENDING_APPROVAL",
                          "statusReason": "PENDING_ADMIN_REVIEW",
                          "locked": true,
                          "isAmendment": false,
                          "hasAmendmentTimeSheet": false,
                          "amendmentTimeSheetId": null,
                          "originalTimeSheetId": null,
                          "createdBy": "OYSTER_STAFF",
                          "submittedBy": "AUTOMATION",
                          "confirmedBy": null,
                          "flexibleWorkArrangement": false,
                          "workSummary": [],
                          "totals": {
                            "worked": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "workedOnHolidays": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "workedOnWeekends": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "workedOnWeekdays": {
                              "hours": 0,
                              "minutes": 0
                            },
                            "notWorked": {
                              "hours": 136,
                              "minutes": 0
                            },
                            "timeOff": {
                              "hours": 0,
                              "minutes": 0
                            }
                          }
                        }
                      ],
                      "meta": {
                        "items": 100,
                        "count": 3,
                        "page": 1,
                        "pages": 1,
                        "firstUrl": "/v1/time_tracking/time_sheets?perPage=100&page=1",
                        "lastUrl": "/v1/time_tracking/time_sheets?perPage=100&page=1",
                        "pageUrl": "/v1/time_tracking/time_sheets?perPage=100&page=1",
                        "nextUrl": "/v1/time_tracking/time_sheets?perPage=100&page=",
                        "prevUrl": "/v1/time_tracking/time_sheets?perPage=100&page="
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/timeTrackingTimeSheets"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/meta"
                    }
                  },
                  "required": [
                    "data",
                    "meta"
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.oysterhr.com",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.oysterhr.com",
      "description": "Sandbox server"
    }
  ]
}
```