---
title: "Get project factory utilization"
method: GET
path: "/experimental/projects/{projectId}/factory/metrics/utilization"
tags: ["Projects"]
---

# Get project factory utilization

`GET /experimental/projects/{projectId}/factory/metrics/utilization`

## Request

- Base URL: `https://api.tessl.io`
- URL: `https://api.tessl.io/experimental/projects/{projectId}/factory/metrics/utilization`
- Auth: none declared

Counts the PRs opened in the project's repository, from GitHub webhooks, in the requested window (`filter[timestamp][gte]` to the exclusive `filter[timestamp][lt]`, at most 90 days, the last 7 days when neither is given) and in the window of the same length just before it, by open time. `factoryPrs` counts those a launch run produced. Counts cover the whole repository, whatever the project’s subpath. `trackedSince` is when the repository’s record starts, null before its first PR; earlier PRs are not counted. `series` has one point per UTC day that the current window touches, zeros included, and its points add up to `current`.

## Path parameters

- `projectId` string, uuid, required

## Query parameters

- `filter[timestamp][gte]` string, date-time
- `filter[timestamp][lt]` string, date-time

## Headers

- `Authorization` string

## Response `200`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
  - `data` object, required
    - `id` string, uuid, required
    - `type` 'project-factory-utilization', required
    - `attributes` object, required
      - `current` object, required
        - `start` string, date-time, required
        - `end` string, date-time, required
        - `allPrs` integer, required
        - `factoryPrs` integer, required
      - `previous` object, required
        - `start` string, date-time, required
        - `end` string, date-time, required
        - `allPrs` integer, required
        - `factoryPrs` integer, required
      - `series` object[], required
        - `day` string, required
        - `allPrs` integer, required
        - `factoryPrs` integer, required
      - `trackedSince` string, date-time, nullable, required

## Other responses

- `401`: Unauthorized
- `403`: Default Response
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-10-29** `06d2142ed144`: 1 info
  - api operation id `getProjectFactoryMetricUtilization` was added
- **2026-10-27** `9bd1824a6d6c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tessl/apis/tessl-api/changes/experimental/projects/:projectId/factory/metrics/utilization/get.md)

---

[API](https://skmtc.dev/tessl/apis/tessl-api.md) - [All operations](https://skmtc.dev/tessl/apis/tessl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tessl/apis/tessl-api/revisions/4fa2a17154e4?raw)
