Profiles

Download profile archive

Changed on

Downloads the profile in its stored format by default. Current profiles are returned as zstd-compressed tar archives, while legacy profiles remain JSON. Set format=tar to decompress current profiles during download; legacy profiles remain JSON.

get/profiles/{id_or_name}/download

Request

  • Base URL
    https://api.onkernel.com
  • URL
    https://api.onkernel.com/profiles/{id_or_name}/download
  • Auth
    HTTP bearer

Path parameters

id_or_namestring required

Profile ID or name

Query parameters

format'tar.zst' | 'tar'

Response format for current profile archives. Legacy profiles are always returned as JSON.

Response

Profile data in the requested format, or JSON for a legacy profile.

Changes

    • info

      added the new optional query request parameter format

    • info

      added the media type application/x-tar for the response with the status

    • info

      added the media type application/zstd for the response with the status