Skip to content

Latest commit

 

History

History
187 lines (128 loc) · 15.5 KB

File metadata and controls

187 lines (128 loc) · 15.5 KB

AIGateway

Types:

Methods:

  • client.aiGateway.create({ ...params }) -> AIGatewayCreateResponse
  • client.aiGateway.update(id, { ...params }) -> AIGatewayUpdateResponse
  • client.aiGateway.list({ ...params }) -> AIGatewayListResponsesV4PagePaginationArray
  • client.aiGateway.delete(id, { ...params }) -> AIGatewayDeleteResponse
  • client.aiGateway.get(id, { ...params }) -> AIGatewayGetResponse

EvaluationTypes

Types:

Methods:

  • client.aiGateway.evaluationTypes.list({ ...params }) -> EvaluationTypeListResponsesV4PagePaginationArray

Logs

Types:

Methods:

  • client.aiGateway.logs.list(gatewayId, { ...params }) -> LogListResponsesV4PagePaginationArray
  • client.aiGateway.logs.delete(gatewayId, { ...params }) -> LogDeleteResponse
  • client.aiGateway.logs.edit(gatewayId, id, { ...params }) -> LogEditResponse
  • client.aiGateway.logs.get(gatewayId, id, { ...params }) -> LogGetResponse
  • client.aiGateway.logs.request(gatewayId, id, { ...params }) -> unknown
  • client.aiGateway.logs.response(gatewayId, id, { ...params }) -> unknown

Datasets

Types:

Methods:

  • client.aiGateway.datasets.create(gatewayId, { ...params }) -> DatasetCreateResponse
  • client.aiGateway.datasets.update(gatewayId, id, { ...params }) -> DatasetUpdateResponse
  • client.aiGateway.datasets.list(gatewayId, { ...params }) -> DatasetListResponsesV4PagePaginationArray
  • client.aiGateway.datasets.delete(gatewayId, id, { ...params }) -> DatasetDeleteResponse
  • client.aiGateway.datasets.get(gatewayId, id, { ...params }) -> DatasetGetResponse

Evaluations

Types:

Methods:

  • client.aiGateway.evaluations.create(gatewayId, { ...params }) -> EvaluationCreateResponse
  • client.aiGateway.evaluations.list(gatewayId, { ...params }) -> EvaluationListResponsesV4PagePaginationArray
  • client.aiGateway.evaluations.delete(gatewayId, id, { ...params }) -> EvaluationDeleteResponse
  • client.aiGateway.evaluations.get(gatewayId, id, { ...params }) -> EvaluationGetResponse

DynamicRouting

Types:

Methods:

  • client.aiGateway.dynamicRouting.create(gatewayId, { ...params }) -> DynamicRoutingCreateResponse
  • client.aiGateway.dynamicRouting.update(gatewayId, id, { ...params }) -> DynamicRoutingUpdateResponse
  • client.aiGateway.dynamicRouting.list(gatewayId, { ...params }) -> DynamicRoutingListResponse
  • client.aiGateway.dynamicRouting.delete(gatewayId, id, { ...params }) -> DynamicRoutingDeleteResponse
  • client.aiGateway.dynamicRouting.createDeployment(gatewayId, id, { ...params }) -> DynamicRoutingCreateDeploymentResponse
  • client.aiGateway.dynamicRouting.createVersion(gatewayId, id, { ...params }) -> DynamicRoutingCreateVersionResponse
  • client.aiGateway.dynamicRouting.get(gatewayId, id, { ...params }) -> DynamicRoutingGetResponse
  • client.aiGateway.dynamicRouting.getVersion(gatewayId, id, versionId, { ...params }) -> DynamicRoutingGetVersionResponse
  • client.aiGateway.dynamicRouting.listDeployments(gatewayId, id, { ...params }) -> DynamicRoutingListDeploymentsResponse
  • client.aiGateway.dynamicRouting.listVersions(gatewayId, id, { ...params }) -> DynamicRoutingListVersionsResponse

ProviderConfigs

Types:

Methods:

  • client.aiGateway.providerConfigs.create(gatewayId, { ...params }) -> ProviderConfigCreateResponse
  • client.aiGateway.providerConfigs.list(gatewayId, { ...params }) -> ProviderConfigListResponsesV4PagePaginationArray

URLs

Types:

Methods:

  • client.aiGateway.urls.get(gatewayId, provider, { ...params }) -> URLGetResponse

Billing

Types:

Methods:

  • client.aiGateway.billing.creditBalance({ ...params }) -> BillingCreditBalanceResponse
  • client.aiGateway.billing.invoiceHistory({ ...params }) -> BillingInvoiceHistoryResponse
  • client.aiGateway.billing.invoicePreview({ ...params }) -> BillingInvoicePreviewResponse
  • client.aiGateway.billing.usageHistory({ ...params }) -> BillingUsageHistoryResponse

Topup

Types:

Methods:

  • client.aiGateway.billing.topup.create({ ...params }) -> TopupCreateResponse
  • client.aiGateway.billing.topup.status({ ...params }) -> TopupStatusResponse

Config

Types:

Methods:

  • client.aiGateway.billing.topup.config.create({ ...params }) -> ConfigCreateResponse
  • client.aiGateway.billing.topup.config.delete({ ...params }) -> ConfigDeleteResponse
  • client.aiGateway.billing.topup.config.get({ ...params }) -> ConfigGetResponse

SpendingLimit

Types:

Methods:

  • client.aiGateway.billing.spendingLimit.create({ ...params }) -> SpendingLimitCreateResponse
  • client.aiGateway.billing.spendingLimit.delete({ ...params }) -> SpendingLimitDeleteResponse
  • client.aiGateway.billing.spendingLimit.get({ ...params }) -> SpendingLimitGetResponse