---
title: "Public search and list ledger entries"
method: POST
path: "/public/v1/project_groups/{company_id}/search"
tags: ["project_group"]
---

# Public search and list ledger entries

`POST /public/v1/project_groups/{company_id}/search`

## Path parameters

- `company_id` string, uuid, required

## Request body

- object
  - `page` number — Which page to return
  - `page_size` number — How many items to list in a page
  - `sort_by` 'name' | 'status' | 'project_developer' | 'protocol' | 'country'
  - `sort_direction` 'asc' | 'desc' — Sort direction
  - `filter` object — A filter object for Project Groups where it can filter based on any of these following fields. No fields are mandatory and the syntax is roughly the same as MongoDB querying.
    - `name` string
    - `status` 'active' | 'closed'
    - `project_developer` string
    - `protocol` string
    - `country` string

## Response `200`

A successful operation

- object
  - `page_number` number
  - `page_size` number
  - `total_entries` number
  - `total_pages` number
  - `data` ProjectGroupPublic[]
    - `name` string
    - `status` 'active' | 'closed'
    - `project_developer` string
    - `start_date` string, date
    - `end_date` string, date
    - `protocol` string
    - `country` string
    - `id` string, uuid

---

[API](https://skmtc.net/validere/apis/carbonhub-api.md) · [All operations](https://skmtc.net/validere/apis/carbonhub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/validere/carbonhub-api/revisions/053edab62415/schema)
