Qodana 2026.3 Help

Experimental API

The experimental API helps you solve the following tasks:

  • Identify dependencies across organization projects

  • Filter project insights by specific vulnerability IDs

  • Retrieve the latest project report in SARIF format for a specific branch

  • Create teams and add team members in bulk

Prerequisites

The experimental API requires an organization API token for authentication purposes.

Before using the experimental API, make sure that the following requirements were met:

  • Your Qodana Cloud organization is licensed under the Ultimate Plus license of Qodana.

  • You have an organization API token. To generate a token, on the organization setting page of Qodana Cloud, use the API token tab. Generating a token requires the organization Owner or Admin role in Qodana Cloud.

  • To authorize API requests, use the organization API token as an Authorization header bearer token:

    Authorization: Bearer $organization_API_token
  • Use https://qodana.cloud as the base URL for Qodana Cloud API requests. If you use Qodana Self-Hosted, replace this with your custom base URL.

Get project dependencies

The dependency data returned by the experimental API matches an SPDX/JSON file available using the Download license list button in Qodana Cloud.

To return a SPDX/JSON dependency list to a specific Qodana Cloud project, send the following GET request:

GET /api/experimental/organizations/projects/{projectID}/dependencies HTTP/1.1 Accept: application/spdx+json

Here is the description of the accepted parameter:

Parameter

Type

Required

Description

Example value

projectId

String

Yes

ID of the project

Abc12

The accepted Accept values are absent, application/json or application/spdx+json.

If the stored object exists, the API responds with a redirect to a presigned URL to the projectStructure/thirdPartySoftwareList.json file; otherwise it returns 204 No Content.

Get project insights by vulnerability IDs

To retrieve project insights by vulnerability IDs, send the following POST request:

POST /api/experimental/organizations/project-insights/query

Here is the description of the request body:

Parameter

Type

Required

Description

Example value

includeProjectIds

array[string]

No

List of project IDs to include in the query

["Dg9Ca", "Ec3Bb"]

includeInspectionIds

array[string]

No

List of inspection IDs to include in the query

["ReplaceMapGetOrDefault", "ObjectPrivatePropertyName"]

includeTeamIds

array[string]

No

List of team IDs to include in the query

["2rcq6", "3hen0"]

includeVulnerabilityIds

array[string]

No

List of vulnerability IDs to include in the query

["CVE-2026-109618", "CVE-2026-109619"]

timeRange

object

No

Time range for the query. Contains start and end timestamps

{"start": "2026-01-01T00:00:00Z", "end": "2026-05-12T00:00:00Z"}

Here is the description of responses:

Response code

Description and examples

200

A list of projects with scan data for the given timestamp, where one entry exists for each unique combination of project ID and timestamp. If no time range is specified, entries at the latest timestamp are returned:

HTTP/2 200 OK date: Wed, 24 Sep 2025 10:39:06 GMT content-type: application/json x-request-id: 7vrrlorq2ocrz957 vary: Origin content-length: 514 x-http2-stream-id: 3   { "projects": [ { "id": "proj_123", "name": "My Awesome Project", "teamId": "team_456", "teamName": "Dev Team A", "codeCoverage": { "percentage": 85, "isEnabled": true }, "licenseAudit": { "isPassed": true, "isEnabled": true }, "severityToActualProblems": { "info": 5, "low": 10, "moderate": 3, "high": 1, "critical": 0, "total": 19 }, "severityToBaselineProblems": { "info": 8, "low": 12, "moderate": 5, "high": 2, "critical": 0, "total": 27 }, "timestamp": "2026-05-12T00:00:00Z" } ] }

400

HTTP/2 400 Bad Request date: Wed, 24 Sep 2025 10:36:37 GMT content-type: application/json x-request-id: 89ztzxra5ptt3vio vary: Origin content-length: 67 x-http2-stream-id: 3   { "name": "NO_FILTER_SELECTION", "details": "At least one filter (includeProjectIds, includeInspectionIds, or includeTeamIds) must be provided." }

401

HTTP/2 401 Unauthorized date: Wed, 24 Sep 2025 10:36:37 GMT content-type: application/json x-request-id: 89zthxrm5pxt9phi vary: Origin content-length: 67 x-http2-stream-id: 3   { "name": "INVALID_TOKEN", "details": "The provided API token is expired or invalid." }

403

HTTP/2 403 Forbidden date: Wed, 24 Sep 2025 10:36:37 GMT content-type: application/json x-request-id: 89zthxrm5pxt9phi vary: Origin content-length: 67 x-http2-stream-id: 3   { "name": "FEATURE_NOT_SUPPORTED", "details": "Project insights are not enabled for this organization." }

Retrieve latest SARIF report

To retrieve the latest project report in SARIF format, send the following GET request:

GET /api/experimental/report/latest?branch={branch}

Here is the description of the accepted parameter:

Parameter

Type

Required

Description

Example value

branch

String

No

Name of the branch to retrieve the report for. If not specified, the default branch is used

feature

The API response does not include code snippets or full rule descriptions.

Create teams

To create new teams in Qodana Cloud, send the following POST request:

POST /api/experimental/teams

The request accepts a JSON object containing the team details, for example:

{ "name": "My Team", "isPublic": true }

Here is the description of the object fields:

Field

Type

Required

Description

name

string

Yes

The team name is matched ignoring case and spaces. For example, My Team and my-team are treated as equivalent.

isPublic

boolean

No

Controls the team visibility. The default value is true.

The response object contains the team ID in the id field:

HTTP/2 201 Created Content-Type: application/json { "id": "Xb9kQ" }

You can use this team ID to add team members, as described in the Add team members chapter.

Add team members

To add new team members to a Qodana Cloud team and assign them Qodana Cloud roles, send the following POST request:

POST /api/experimental/teams/{id}/members

Here is the description of the accepted parameter:

Parameter

Type

Required

Description

Example value

id

String

Yes

The ID of the existing Qodana Cloud team

aBcDe

This endpoint does not send invitations via email.

The request accepts a JSON object containing an array of team members, for example:

{ "members": [ { "email": "viewer1@example.com" }, { "email": "editor2@example.com", "role": "EDITOR" }, { "email": "admin3@example.com", "role": "ADMIN" } ] }

Here is the description of the object fields:

Field

Type

Required

Description

members

array[object]

Yes

The array containing the list of team members.
Accepts up to 1000 entries; exceeding that returns the 400 Bad request response.

email

string

Yes

The email address of the team member.
Case insensitive.
For duplicate emails, the last entry wins.
Deactivated emails and emails that do not belong to organization members are not processed and are returned as unknown.

role

string

No

The role of the team member in Qodana Cloud.
Accepts VIEWER, EDITOR, or ADMIN. The VIEWER role is assigned by default.
Unchanged roles are neither added nor updated.
Existing roles can be updated.

Here is the description of responses:

Response code

Description and examples

200

Object containing the member statistics:

HTTP/2 200 OK content-type: application/json   { numMembersAdded: 123, numMembersUpdated: 3, unknownEmails: [ "email1@enterprise.com", "email2@enterprise.com" ] }

Here is the detailed description of the response body:

Field

Description

numMembersAdded

Number of added team members

numMembersUpdated

Number of team members with updated roles

unknownEmails

Email addresses that were not processed

Here is the description of how the endpoint processes users depending on their status in Qodana Cloud:

User status in Qodana Cloud organization

Action

Reported under

Active

Add

numMembersAdded

Active

Update a role

numMembersUpdated

Active

Update a role, keep invited

numMembersUpdated

Invited, not accepted

Update a role, keep invited

numMembersUpdated

Invited, not accepted

Add a pending role

numMembersAdded

Deactivated or not a member

Nothing

unknownEmails

400

HTTP/2 400 Bad request   { "name": "validation_failed", "details": "Too many members provided in the request: 1234, at most 1000 allowed" }

404

HTTP/2 404 Not Found
23 November 2026