---
updatedAt: 2026-04-27T23:21:35.000Z
agentTools:
  projectIndex: https://developer.runn.io/llms.txt
---

# Get by-day entries for a project with assignments and actuals

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Runn API",
    "version": "1.0.0",
    "description": "<p>See <a target=\"_blank\" href=\"https://help.runn.io/en/articles/8579592-api-v1-beta\" title=\"Runn API full documentation\">the full documentation and guide</a> to using the Runn API.</p><p>The domain for your API endpoint can be found in <strong>Accounts > Settings > API</strong> in your Runn application</p>"
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "NotFound": {
        "type": "object",
        "required": [
          "error",
          "message",
          "statusCode"
        ],
        "properties": {
          "error": {
            "type": "string",
            "enum": [
              "Not Found"
            ]
          },
          "message": {
            "type": "string"
          },
          "statusCode": {
            "type": "number",
            "enum": [
              404
            ]
          }
        }
      },
      "Unauthorized": {
        "type": "object",
        "required": [
          "error",
          "message",
          "statusCode"
        ],
        "properties": {
          "error": {
            "type": "string",
            "enum": [
              "Unauthorized"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "Unauthorized"
            ]
          },
          "statusCode": {
            "type": "number",
            "enum": [
              401
            ]
          }
        }
      },
      "ReportsHoursProjects": {
        "type": "object",
        "required": [
          "date",
          "roleId",
          "personId",
          "projectId",
          "workstreamId",
          "phaseId",
          "billableMinutes",
          "nonBillableMinutes",
          "totalMinutes",
          "assignments",
          "actuals"
        ],
        "properties": {
          "date": {
            "type": "string",
            "format": "date",
            "description": "The date of the entry. Multi-day assignments will get split over multiple days. Format: YYYY-MM-DD"
          },
          "roleId": {
            "description": "The project-specific role for the associated person",
            "type": "integer"
          },
          "personId": {
            "description": "The person related to this entry",
            "type": "integer"
          },
          "projectId": {
            "description": "The project for this entry",
            "type": "integer"
          },
          "workstreamId": {
            "description": "The workstream for this entry",
            "type": "integer",
            "nullable": true
          },
          "phaseId": {
            "description": "Associated phase (using actual phase, and falling back to assignment phase)",
            "type": "integer",
            "nullable": true
          },
          "billableMinutes": {
            "description": "Billable minutes for this day. Returns Actual minutes where it exists, otherwise returns Assignment minutes.",
            "type": "integer"
          },
          "nonBillableMinutes": {
            "description": "Non-billable minutes for this day. Returns Actual minutes where it exists, otherwise returns Assignment minutes.",
            "type": "integer"
          },
          "totalMinutes": {
            "description": "Total minutes for this day (sum of billable and non-billable)",
            "type": "integer"
          },
          "assignments": {
            "type": "object",
            "required": [
              "billableMinutes",
              "nonBillableMinutes",
              "totalMinutes",
              "phaseId"
            ],
            "properties": {
              "billableMinutes": {
                "description": "Billable minutes for this assignment",
                "type": "integer"
              },
              "nonBillableMinutes": {
                "description": "Non-billable minutes for this assignment",
                "type": "integer"
              },
              "totalMinutes": {
                "description": "Total billable and non-billable minutes for this assignment",
                "type": "integer"
              },
              "phaseId": {
                "description": "Associated phase",
                "type": "integer",
                "nullable": true
              }
            }
          },
          "actuals": {
            "type": "object",
            "required": [
              "billableMinutes",
              "nonBillableMinutes",
              "totalMinutes",
              "phaseId"
            ],
            "properties": {
              "billableMinutes": {
                "description": "Billable minutes for this actual",
                "type": "integer"
              },
              "nonBillableMinutes": {
                "description": "Non-billable minutes for this actual",
                "type": "integer"
              },
              "totalMinutes": {
                "description": "Total billable and non-billable minutes for this actual",
                "type": "integer"
              },
              "phaseId": {
                "description": "Associated phase",
                "type": "integer",
                "nullable": true
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/reports/hours/projects/{projectId}": {
      "get": {
        "operationId": "getProjectHoursReport",
        "summary": "Get by-day entries for a project with assignments and actuals",
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "cursor",
            "required": false,
            "description": "Cursor for paginated requests"
          },
          {
            "schema": {
              "default": 50,
              "minimum": 1,
              "maximum": 200,
              "type": "integer"
            },
            "in": "query",
            "name": "limit",
            "required": false,
            "description": "The number of results per page"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "in": "query",
            "name": "startDate",
            "required": false,
            "description": "Only include entries that start on or after this date. Format: YYYY-MM-DD"
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "in": "query",
            "name": "endDate",
            "required": false,
            "description": "Only include entries that end on or before this date. Format: YYYY-MM-DD"
          },
          {
            "schema": {
              "type": "integer"
            },
            "in": "path",
            "name": "projectId",
            "required": true
          },
          {
            "schema": {
              "default": "1.0.0",
              "enum": [
                "1.0.0"
              ]
            },
            "in": "header",
            "name": "accept-version",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "values",
                    "nextCursor"
                  ],
                  "properties": {
                    "values": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ReportsHoursProjects"
                      }
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotFound"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.runn.io",
      "description": "EU Server"
    },
    {
      "url": "https://api.us.runn.io",
      "description": "US Server"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-readme": {
    "proxy-enabled": false
  }
}
```