Skip to content

Latest commit

 

History

History
executable file
·
48 lines (30 loc) · 1.5 KB

File metadata and controls

executable file
·
48 lines (30 loc) · 1.5 KB

Speakeasy SDK

Overview

Speakeasy API: The Speakeasy API allows teams to manage common operations with their APIs

The Speakeasy Platform Documentation

Available Operations

validateApiKey

Validate the current api key.

Example Usage

import { Speakeasy } from "@speakeasy-api/speakeasy-client-sdk-typescript";

(async() => {
  const sdk = new Speakeasy({
    security: {
      apiKey: "",
    },
  });

  const res = await sdk.speakeasy.validateApiKey();

  if (res.statusCode == 200) {
    // handle response
  }
})();

Parameters

Parameter Type Required Description
config AxiosRequestConfig Available config options for making requests.

Response

Promise<operations.ValidateApiKeyResponse>