{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kernel API Keys Profiles API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Profiles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List profiles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.onkernel.com/profiles",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Limit the number of profiles to return."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset the number of profiles to return."
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Case-insensitive substring match against profile name or ID."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Exact-match filter on profile name using the database collation. In production, matching is case- and accent-insensitive. During the default-project migration, unscoped requests prefer a concrete default-project profile over a legacy unscoped profile with the same name."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List profiles with optional filtering and pagination."
        },
        {
          "info": {
            "name": "Create a new profile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.onkernel.com/profiles",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a browser profile that can be used to load state into future browser sessions."
        },
        {
          "info": {
            "name": "Get profile by ID or name",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.onkernel.com/profiles/:id_or_name",
            "params": [
              {
                "name": "id_or_name",
                "value": "",
                "type": "path",
                "description": "Profile ID or name"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve details for a single profile by its ID or name."
        },
        {
          "info": {
            "name": "Rename profile by ID or name",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.onkernel.com/profiles/:id_or_name",
            "params": [
              {
                "name": "id_or_name",
                "value": "",
                "type": "path",
                "description": "Profile ID or profile name"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a profile's name. Names must be unique within the logical project; during the default-project migration, unscoped profiles and profiles in the org default project are treated as the same project. Duplicate-name conflicts are checked before update but are best-effort because there is no backing unique index. Renaming a profile while a browser session references it by name may prevent that session's changes from saving; prefer renaming when the profile is not in use."
        },
        {
          "info": {
            "name": "Delete profile by ID or name",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.onkernel.com/profiles/:id_or_name",
            "params": [
              {
                "name": "id_or_name",
                "value": "",
                "type": "path",
                "description": "Profile ID or profile name"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a profile by its ID or by its name."
        },
        {
          "info": {
            "name": "Download profile archive",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.onkernel.com/profiles/:id_or_name/download",
            "params": [
              {
                "name": "id_or_name",
                "value": "",
                "type": "path",
                "description": "Profile ID or name"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a zstd-compressed tar file of the full user-data directory."
        }
      ]
    }
  ],
  "bundled": true
}