{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sb0 Agent APIKeys API Keys API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "API Keys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List API Keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api_keys",
            "params": [
              {
                "name": "include_revoked",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List all API keys for the organization. Only org admins can list keys."
        },
        {
          "info": {
            "name": "Create API Key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api_keys",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new org-level API key. Only org admins can create API keys."
        },
        {
          "info": {
            "name": "Get API Key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api_keys/:api_key_id",
            "params": [
              {
                "name": "api_key_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get details of a specific API key. Only org admins can view keys."
        },
        {
          "info": {
            "name": "Update API Key Scopes",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api_keys/:api_key_id",
            "params": [
              {
                "name": "api_key_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update scopes for an API key. Only org admins can update key scopes."
        },
        {
          "info": {
            "name": "Revoke API Key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api_keys/:api_key_id",
            "params": [
              {
                "name": "api_key_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Revoke an API key. Only org admins can revoke keys."
        },
        {
          "info": {
            "name": "Update API Key Sharing Groups",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api_keys/:api_key_id/sharing-groups",
            "params": [
              {
                "name": "api_key_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update default sharing groups for resources created by an API key."
        }
      ]
    }
  ],
  "bundled": true
}