Skip to main content
GET
/
organization
/
{organizationId}
/
projects
Get all projects of an organization with pagination
curl --request GET \
  --url https://us.cybedefend.com/organization/{organizationId}/projects \
  --header 'Authorization: Bearer <token>'
{
  "projects": [
    {
      "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "teamName": "<string>",
      "name": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "riskLevel": "<string>",
      "issuesCount": {
        "critical": 123,
        "high": 123,
        "medium": 123,
        "low": 123
      },
      "analyses": [
        {
          "type": "<string>",
          "lastScan": "2023-11-07T05:31:56Z",
          "source": "<string>",
          "issuesCount": {
            "critical": 123,
            "high": 123,
            "medium": 123,
            "low": 123
          }
        }
      ],
      "ingestionProjectId": "<string>"
    }
  ],
  "totalProjects": 123,
  "totalPages": 123,
  "mainStatistics": {
    "highRiskProjects": 123,
    "highRiskProjectsInLast7Days": 123,
    "solvedIssues": 123,
    "solvedIssuesInLast7Days": 123,
    "newIssues": 123,
    "newIssuesInLast7Days": 123,
    "criticalIssues": 123,
    "highIssues": 123,
    "mediumIssues": 123,
    "lowIssues": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string<uuid>
required

Organization ID

Query Parameters

page
number

Page number

Required range: x >= 1
Example:

1

pageSize
number

Page size

Required range: 1 <= x <= 20
Example:

10

Search query

Example:

"my-project"

Response

Projects found successfully

projects
object[]
required

List of projects with all informations

totalProjects
number
required

Total number of projects

totalPages
number
required

Total number of pages

mainStatistics
object
required

Main statistics