Skip to main content
POST
/
organization
/
{organizationId}
/
project
/
report
/
batch
/
{reportType}
/
{format}
Generate report for a manual selection of projects
curl --request POST \
  --url https://api-eu.cybedefend.com/organization/{organizationId}/project/report/batch/{reportType}/{format} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "projectIds": [
    "550e8400-e29b-41d4-a716-446655440000",
    "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
  ],
  "detailed": true
}
'
{
  "timestamp": "2025-02-18T12:31:18.491Z",
  "service": "AiService",
  "method": "startConversation",
  "message": "Invalid parameters provided",
  "code": 400
}

Authorizations

x-api-key
string
header
required

API Key for authentication. You can generate an API key from your personal settings.

Path Parameters

organizationId
string
required
reportType
enum<string>
required

Type of report to generate

Available options:
owasp,
cwe
format
enum<string>
required

Output format

Available options:
json,
html,
pdf

Body

application/json
projectIds
string[]
required

List of project IDs to include in the report

Example:
[
"550e8400-e29b-41d4-a716-446655440000",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
]
detailed
boolean
default:true

Generate detailed report with full vulnerability descriptions

Example:

true

Response

Batch report generated successfully