---
updatedAt: 2026-05-21T10:46:05.000Z
agentTools:
  projectIndex: https://docs.qpilot.cloud/llms.txt
---

# /SecretKeys/{id}

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "QPilot API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.qpilot.cloud"
    }
  ],
  "paths": {
    "/SecretKeys/{id}": {
      "get": {
        "tags": [
          "SecretKeys"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QPilot.Core.Modules.Sites.SecretKeys.Actions.SecretKeyModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QPilot.Core.Modules.Sites.SecretKeys.Actions.SecretKeyModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QPilot.Core.Modules.Sites.SecretKeys.Actions.SecretKeyModel"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "QPilot.Core.Modules.Sites.SecretKeys.Actions.SecretKeyModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "integrationId": {
            "type": "integer",
            "format": "int64"
          },
          "key": {
            "type": "string",
            "format": "byte",
            "nullable": true,
            "readOnly": true
          },
          "plainTextKey": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "type": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Authorization header using the Bearer scheme. Example: \"Bearer {token}\"",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```