{
  "opencollection": "1.0.0",
  "info": {
    "name": "Prime Intellect Compute admin-clusters Secrets API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Secrets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Secrets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.primeintellect.ai/api/v1/secrets/",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Filter by team ID"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List global secrets for the authenticated user or a team.\n\nIf teamId is provided, returns secrets for that team (requires team membership).\nOtherwise, returns the user's personal secrets."
        },
        {
          "info": {
            "name": "Create Secret",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.primeintellect.ai/api/v1/secrets/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new global secret.\n\nThe secret will be encrypted and stored securely. If teamId is provided,\nthe secret will be associated with that team (requires team membership)."
        },
        {
          "info": {
            "name": "Get Secret",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.primeintellect.ai/api/v1/secrets/:secret_id",
            "params": [
              {
                "name": "secret_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Team ID for team secrets"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a specific secret by ID.\n\nNote: The secret value is not returned, only metadata."
        },
        {
          "info": {
            "name": "Update Secret",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.primeintellect.ai/api/v1/secrets/:secret_id",
            "params": [
              {
                "name": "secret_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Team ID for team secrets"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an existing secret.\n\nYou can update the name, value, and/or description."
        },
        {
          "info": {
            "name": "Delete Secret",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.primeintellect.ai/api/v1/secrets/:secret_id",
            "params": [
              {
                "name": "secret_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Team ID for team secrets"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a secret.\n\nThis operation cannot be undone. Secrets that are linked to environments\nwill be automatically unlinked."
        }
      ]
    }
  ],
  "bundled": true
}