1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. access
  6. getApiKeyMetrics
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
thoth logo
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security

    Using getApiKeyMetrics

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getApiKeyMetrics(opts?: InvokeOptions): Promise<GetApiKeyMetricsResult>
    function getApiKeyMetricsOutput(opts?: InvokeOptions): Output<GetApiKeyMetricsResult>
    def get_api_key_metrics(opts: Optional[InvokeOptions] = None) -> GetApiKeyMetricsResult
    def get_api_key_metrics_output(opts: Optional[InvokeOptions] = None) -> Output[GetApiKeyMetricsResult]
    func GetApiKeyMetrics(ctx *Context, opts ...InvokeOption) (*GetApiKeyMetricsResult, error)
    func GetApiKeyMetricsOutput(ctx *Context, opts ...InvokeOption) GetApiKeyMetricsResultOutput

    > Note: This function is named GetApiKeyMetrics in the Go SDK.

    public static class GetApiKeyMetrics 
    {
        public static Task<GetApiKeyMetricsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetApiKeyMetricsResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApiKeyMetricsResult> getApiKeyMetrics(InvokeOptions options)
    public static Output<GetApiKeyMetricsResult> getApiKeyMetrics(InvokeOptions options)
    
    fn::invoke:
      function: thoth:access/getApiKeyMetrics:getApiKeyMetrics
      arguments:
        # arguments dictionary
    data "thoth_access_get_api_key_metrics" "name" {
        # arguments
    }

    getApiKeyMetrics Result

    The following output properties are available:

    ActiveSdkKeys int
    AvgLatencyMs double
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyUsage24h int
    MetricsJson string
    RedTeamTests int
    ActiveSdkKeys int
    AvgLatencyMs float64
    Id string
    The provider-assigned unique ID for this managed resource.
    KeyUsage24h int
    MetricsJson string
    RedTeamTests int
    active_sdk_keys number
    avg_latency_ms number
    id string
    The provider-assigned unique ID for this managed resource.
    key_usage24h number
    metrics_json string
    red_team_tests number
    activeSdkKeys Integer
    avgLatencyMs Double
    id String
    The provider-assigned unique ID for this managed resource.
    keyUsage24h Integer
    metricsJson String
    redTeamTests Integer
    activeSdkKeys number
    avgLatencyMs number
    id string
    The provider-assigned unique ID for this managed resource.
    keyUsage24h number
    metricsJson string
    redTeamTests number
    active_sdk_keys int
    avg_latency_ms float
    id str
    The provider-assigned unique ID for this managed resource.
    key_usage24h int
    metrics_json str
    red_team_tests int
    activeSdkKeys Number
    avgLatencyMs Number
    id String
    The provider-assigned unique ID for this managed resource.
    keyUsage24h Number
    metricsJson String
    redTeamTests Number

    Package Details

    Repository
    thoth atensecurity/pulumi-thoth
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the thoth Terraform Provider.
    thoth logo
    Viewing docs for Thoth v0.1.15
    published on Thursday, Jul 23, 2026 by Aten Security

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial