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
OwnerorAdminrole in Qodana Cloud.To authorize API requests, use the organization API token as an
Authorizationheader bearer token:Authorization: Bearer $organization_API_tokenUse
https://qodana.cloudas 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:
Here is the description of the accepted parameter:
Parameter | Type | Required | Description | Example value |
|---|---|---|---|---|
| String | Yes | ID of the project |
|
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:
Here is the description of the request body:
Parameter | Type | Required | Description | Example value |
|---|---|---|---|---|
| array[string] | No | List of project IDs to include in the query |
|
| array[string] | No | List of inspection IDs to include in the query |
|
| array[string] | No | List of team IDs to include in the query |
|
| array[string] | No | List of vulnerability IDs to include in the query |
|
| object | No | Time range for the query. Contains start and end timestamps |
|
Here is the description of responses:
Response code | Description and examples |
|---|---|
| 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"
}
]
}
|
|
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."
}
|
|
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."
}
|
|
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:
Here is the description of the accepted parameter:
Parameter | Type | Required | Description | Example value |
|---|---|---|---|---|
| String | No | Name of the branch to retrieve the report for. If not specified, the default branch is used |
|
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:
The request accepts a JSON object containing the team details, for example:
Here is the description of the object fields:
Field | Type | Required | Description |
|---|---|---|---|
| string | Yes | The team name is matched ignoring case and spaces. For example, |
| boolean | No | Controls the team visibility. The default value is |
The response object contains the team ID in the id field:
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:
Here is the description of the accepted parameter:
Parameter | Type | Required | Description | Example value |
|---|---|---|---|---|
| String | Yes | The ID of the existing Qodana Cloud team |
|
This endpoint does not send invitations via email.
The request accepts a JSON object containing an array of team members, for example:
Here is the description of the object fields:
Field | Type | Required | Description |
|---|---|---|---|
| array[object] | Yes | The array containing the list of team members. |
| string | Yes | The email address of the team member. |
| string | No | The role of the team member in Qodana Cloud. |
Here is the description of responses:
Response code | Description and examples | |||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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:
Here is the description of how the endpoint processes users depending on their status in Qodana Cloud:
| |||||||||||||||||||||||||||||
|
HTTP/2 400 Bad request
{
"name": "validation_failed",
"details": "Too many members provided in the request: 1234, at most 1000 allowed"
}
| |||||||||||||||||||||||||||||
|
HTTP/2 404 Not Found
|