{
  "opencollection": "1.0.0",
  "info": {
    "name": "Nexos AI Public API Production Agent Management User Management API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "User Management",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Rotate API key",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.nexos.ai/v1/apikey/rotate"
          },
          "docs": "Rotates the API key used to authenticate this request. Returns a new key value."
        },
        {
          "info": {
            "name": "List user API keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.nexos.ai/v1/user/api_keys"
          },
          "docs": "Return all API keys that belong to the current user."
        },
        {
          "info": {
            "name": "Create user API key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nexos.ai/v1/user/api_keys",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new API key for the current user."
        },
        {
          "info": {
            "name": "Update many user API keys",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.nexos.ai/v1/user/api_keys/bulk",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update multiple user API keys in a single request."
        },
        {
          "info": {
            "name": "Update user API key",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.nexos.ai/v1/user/api_keys/:keyId",
            "params": [
              {
                "name": "keyId",
                "value": "",
                "type": "path",
                "description": "The ID of the key."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a user API key."
        },
        {
          "info": {
            "name": "Delete user API key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.nexos.ai/v1/user/api_keys/:keyId",
            "params": [
              {
                "name": "keyId",
                "value": "",
                "type": "path",
                "description": "The ID of the key."
              }
            ]
          },
          "docs": "Permanently delete a user API key."
        },
        {
          "info": {
            "name": "Regenerate user API key",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.nexos.ai/v1/user/api_keys/:keyId/regenerate",
            "params": [
              {
                "name": "keyId",
                "value": "",
                "type": "path",
                "description": "The ID of the key."
              }
            ]
          },
          "docs": "Regenerate the value of a user API key."
        }
      ]
    }
  ],
  "bundled": true
}