GptApi - object-oriented interface

Export

GptApi

Extends

  • BaseAPI

Constructors

new GptApi()

new GptApi(configuration?, basePath?, axios?): GptApi

Parameters

configuration?

basePath?

string = BASE_PATH

axios?

AxiosInstance = globalAxios

Returns

Inherited from

BaseAPI.constructor

Properties

axios

protected axios: AxiosInstance = globalAxios

Inherited from

BaseAPI.axios


basePath

protected basePath: string = BASE_PATH

Inherited from

BaseAPI.basePath


configuration

protected configuration: undefined | Configuration

Inherited from

BaseAPI.configuration

Methods

apiV1GptPost()

apiV1GptPost(runsCount?, gptEmulateRequestDTO?, options?): Promise<AxiosResponse<GptEmulatedResponseDTO>>

Parameters

runsCount?

number

gptEmulateRequestDTO?

options?

RawAxiosRequestConfig

Override http request option.

Returns

Promise<AxiosResponse<GptEmulatedResponseDTO>>

Throws

Memberof

GptApi

Found a mistake? Let us know.

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.