Project API
API to manage projects, versions, and documents in Ketryx
Ketryx exposes an API to manage projects programmatically. There is also a formal OpenAPI specification defining this API, and a separate page about authentication and API keys.
Projects
Gets a list of Ketryx projects in the current organization. Only non-deleted (active) projects are returned.
Project name to filter for
Start listing projects at the given index. Defaults to 0.
Maximum number of projects to return. Defaults to no limit.
OK
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
The resource was not found.
Name of the new project
My projectOK
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
The resource was not found.
Project
OK
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
The resource was not found.
Object with advanced setting names as keys and a JSON value for each setting
{ "statusMapping": { "Backlog": "OPEN", "Done": "RESOLVED" } }OK
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
The resource was not found.
Deletion successful, no content returned
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
The resource was not found.
No content
Versions
Gets a list of versions in the given project.
OK
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
The resource was not found.
My projectOK
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
The resource was not found.
Version
OK
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
Deletion successful, no content returned
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
The resource was not found.
No content
Generated documents
Use this API to generate and download the SBOM document for a given project. Optionally, a certain version ID can be specified:
If no
versionIdis specified, the document for the "current draft" state (corresponding to the main analyzed branch, not specific to a certain version) is downloaded.If a
versionIdis specified, the document is generated for the given version (and its corresponding release ref).
By default, the response is an Excel file in binary form (xslx). Optionally, a format parameter with value cyclonedx can be used to generate and download the SBOM document in CycloneDX JSON format (specifically, CyclonedX version 1.5).
Ketryx project ID. This is required.
Ketryx version ID. If not specified, defaults to using the "current draft" state.
SBOM format to return. Defaults to "xslx".
cyclonedxPossible values: File contents in binary format
The request is not valid.
The requester is not authenticated.
The requester is unauthorized.
The resource was not found.
Last updated
Was this helpful?