Get Global Issues CSV
https://app.fossa.com/api/v2/issues/csv/globalDownload the global issues report bundle (a zip of per-category issue-list CSVs and/or a daily issue-counts CSV) or submit it for background processing. Requires the `Create` permission on either `OrganizationReport` or `TeamReport`; requests from users without one of these permissions are rejected with a `403`.
Query parameters
emailbooleanWhen `true`, we will submit the report for background processing and deliver via email when ready. Otherwise the report will be streamed via API
teamIdsstring | string[] | enumScope the report to one or more team IDs. Accepts a single team ID, an array of team IDs, or the literal string `"null"`. Invalid (non-integer) team IDs are rejected with a `400`. Ignored for organizations on the free tier.
releaseGroupIdintegerScope the issue-list export to a single release group, using its latest release (the issues shown on the release group's Issues page). Requires view access to the release group; otherwise rejected with a `403`. When set, `teamIds` is ignored — the export is scoped to the release group only, not an intersection of both filters. Cannot be combined with `includeDailyCounts` — daily counts are not release-group-scoped, so that combination is rejected with a `400`.
includeIssuesListbooleanWhether to include the per-category issue-list CSVs in the bundle. Defaults to `true` when omitted. Setting this to `false` without `includeDailyCounts=true` selects no reports and is rejected with a `400`.
includeDailyCountsbooleanWhether to include a daily issue-counts CSV (a time series of active, ignored, and remediated counts) in the bundle. Defaults to `false`. Scoped to the selected teams and organization only, and rejected with a `400` when `releaseGroupId` is set (daily counts are not release-group-scoped).
Responses
200CSV report (as a zip file) or background task metadataidintegerUnique identifier for the task
taskstringName of the task being run
jobTokenstringToken used to poll for the task's status and result
statusenumCurrent status of the task
CREATEDASSIGNEDRUNNINGSUCCEEDEDFAILEDattempt_numberintegerNumber of times the task has been attempted
maxRetriesinteger | nullMaximum number of retries permitted for the task
startedstring | null <date-time>When the task started running, or null if it has not started
finishedstring | null <date-time>When the task finished, or null if it has not finished
scheduledStartTimestring | null <date-time>When the task is scheduled to start, or null
podstring | nullIdentifier of the pod running the task, or null
contextobjectTask-specific context payload
createdAtstring <date-time>When the task record was created
updatedAtstring <date-time>When the task record was last updated
400Bad RequestuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
403ForbiddenuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
500Server ErroruuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
Try this endpoint
Build a request and run it against app.fossa.com.
Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.
GET https://app.fossa.com/api/v2/issues/csv/globalcurl --request GET \ --url 'https://app.fossa.com/api/v2/issues/csv/global' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN'Real request. Mutating methods can change data.
Query params
emailbooleanWhen `true`, we will submit the report for background processing and deliver via email when ready. Otherwise the report will be streamed via API
teamIdsstringScope the report to one or more team IDs. Accepts a single team ID, an array of team IDs, or the literal string `"null"`. Invalid (non-integer) team IDs are rejected with a `400`. Ignored for organizations on the free tier.
releaseGroupIdintegerScope the issue-list export to a single release group, using its latest release (the issues shown on the release group's Issues page). Requires view access to the release group; otherwise rejected with a `403`. When set, `teamIds` is ignored — the export is scoped to the release group only, not an intersection of both filters. Cannot be combined with `includeDailyCounts` — daily counts are not release-group-scoped, so that combination is rejected with a `400`.
includeIssuesListbooleanWhether to include the per-category issue-list CSVs in the bundle. Defaults to `true` when omitted. Setting this to `false` without `includeDailyCounts=true` selects no reports and is rejected with a `400`.
includeDailyCountsbooleanWhether to include a daily issue-counts CSV (a time series of active, ignored, and remediated counts) in the bundle. Defaults to `false`. Scoped to the selected teams and organization only, and rejected with a `400` when `releaseGroupId` is set (daily counts are not release-group-scoped).