Skip to main content
GET
/
api
/
v1
/
groups
/
{id}
/
projects
cURL
curl --request GET \
  --url https://us.infisical.com/api/v1/groups/{id}/projects
{
  "projects": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "type": "<string>",
      "joinedGroupAt": "2023-11-07T05:31:56Z",
      "description": "<string>"
    }
  ],
  "totalCount": 123
}

Path Parameters

id
string
required

The ID of the group to list projects for.

Query Parameters

offset
number
default:0

The offset to start from. If you enter 10, it will start from the 10th project.

Required range: x >= 0
limit
number
default:10

The number of projects to return.

Required range: 1 <= x <= 100

The text string that project name or slug will be filtered by.

filter
enum<string>

Whether to filter the list of returned projects. 'assignedProjects' will only return projects assigned to the group, 'unassignedProjects' will only return projects not assigned to the group, undefined will return all projects in the organization.

Available options:
assignedProjects,
unassignedProjects
orderBy
enum<string>
default:name

The column to order projects by.

Available options:
name
orderDirection
enum<string>
default:asc

The direction to order projects in.

Available options:
asc,
desc

Response

Default Response

projects
object[]
required
totalCount
number
required