Projects

Retrieve a project time summary

Summarize the time logged on the tasks of a project, optionally between from and to (dates in the company time zone): total, billable, invoiced and pending-to-invoice seconds, broken down by member (with their names) and by task. Requires projects:read only, without tasks:read or users:read.

get/companies/{company}/projects/{project}/time-summary

Request

  • Base URL: https://api.factuarea.com/v1
  • URL: https://api.factuarea.com/v1/companies/{company}/projects/{project}/time-summary
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

companystring uuid required

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

projectstring uuid required

Public identifier (UUID v7) of the project.

Query parameters

fromstring date

First day included in the summary (YYYY-MM-DD), in the company time zone. Optional.

tostring date

Last day included in the summary (YYYY-MM-DD), equal to or after from. Optional.

Headers

Factuarea-Versionstring date
Example:2026-06-01

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Response

Example response

{
  "data": {
    "object": "project_time_summary",
    "project_id": "0193a4f2-7c20-7a11-8b52-4d6e8f0a2c01",
    "from": "2026-09-01",
    "to": "2026-09-30",
    "total_seconds": 36900,
    "billable_seconds": 33300,
    "invoiced_seconds": 9900,
    "pending_seconds": 23400,
    "by_task": [
      {
        "task_id": "0193a4f2-8f53-7d44-8e85-7a9b1c3d5f12",
        "key": "DEV-12",
        "title": "Integrar la pasarela de pago en el checkout",
        "total_seconds": 22500,
        "billable_seconds": 22500,
        "invoiced_seconds": 9900,
        "pending_seconds": 12600
      },
      {
        "task_id": "0193a4f2-8f53-7d44-8e85-7a9b1c3d5f14",
        "key": "DEV-14",
        "title": "Corregir el cálculo del IVA en el carrito",
        "total_seconds": 14400,
        "billable_seconds": 10800,
        "invoiced_seconds": 0,
        "pending_seconds": 10800
      }
    ],
    "by_user": [
      {
        "user_id": "0193a4f2-6b1c-7d3e-8a41-2c5e7f9a1b01",
        "name": "Ana Pérez",
        "total_seconds": 22500,
        "billable_seconds": 22500
      },
      {
        "user_id": "0193a4f2-6b1c-7d3e-8a41-2c5e7f9a1b03",
        "name": "Lucía Fernández",
        "total_seconds": 14400,
        "billable_seconds": 10800
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.