# Get verifying keys

GET /v1/configs/{config_id}/vk/{key_type}

Generate a presigned URL to download various verification keys for a configuration.

    Available verification key types:
    - `app`: Application verification key
    - `agg`: Aggregation verification key

## Operation schema

```json
{
  "tags": [
    "configs"
  ],
  "summary": "Download Verification Key",
  "description": "Generate a presigned URL to download various verification keys for a configuration.\n\n    Available verification key types:\n    - `app`: Application verification key\n    - `agg`: Aggregation verification key",
  "operationId": "download_verification_key_v1_configs__config_id__vk__key_type__get",
  "security": [
    {
      "APIKeyHeader": []
    }
  ],
  "parameters": [
    {
      "name": "config_id",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "title": "Config Id"
      }
    },
    {
      "name": "key_type",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string",
        "description": "The type of verification key to download. Must be one of: app, agg",
        "title": "Key Type"
      },
      "description": "The type of verification key to download. Must be one of: app, agg"
    }
  ],
  "responses": {
    "200": {
      "description": "Download URL generated successfully",
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "download_url": {
                "type": "string",
                "title": "Download Url"
              }
            },
            "type": "object",
            "required": [
              "download_url"
            ],
            "title": "UrlDownloadResponse",
            "description": "Response for download URL generation."
          }
        }
      }
    },
    "400": {
      "description": "Invalid key type"
    },
    "404": {
      "description": "Configuration or key not found"
    },
    "422": {
      "description": "Validation Error",
      "content": {
        "application/json": {
          "schema": {
            "properties": {
              "detail": {
                "items": {
                  "properties": {
                    "loc": {
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ]
                      },
                      "type": "array",
                      "title": "Location"
                    },
                    "msg": {
                      "type": "string",
                      "title": "Message"
                    },
                    "type": {
                      "type": "string",
                      "title": "Error Type"
                    }
                  },
                  "type": "object",
                  "required": [
                    "loc",
                    "msg",
                    "type"
                  ],
                  "title": "ValidationError"
                },
                "type": "array",
                "title": "Detail"
              }
            },
            "type": "object",
            "title": "HTTPValidationError"
          }
        }
      }
    }
  }
}
```

[Complete OpenAPI specification](/api-reference/rest-api/openapi.json)
