Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.7 KB

OrganizationDataService.md

File metadata and controls

40 lines (26 loc) · 1.7 KB

OrganizationDataService

A list of all methods in the OrganizationDataService service. Click on the method name to view detailed information about that method.

Methods Description
listGpuClasses List the GPU Classes

listGpuClasses

List the GPU Classes

  • HTTP Method: GET
  • Endpoint: /organizations/{organization_name}/gpu-classes

Parameters

Name Type Required Description
organizationName string Your organization name. This identifies the billing context for the API operation and represents a security boundary for SaladCloud resources. The organization must be created before using the API, and you must be a member of the organization.

Return Type

GpuClassesList

Example Usage Code Snippet

import { SaladCloudSdk } from '@saladtechnologies-oss/salad-cloud-sdk';

(async () => {
  const saladCloudSdk = new SaladCloudSdk({
    apiKey: 'YOUR_API_KEY',
  });

  const { data } = await saladCloudSdk.organizationData.listGpuClasses('ksb7ikadj659qttkrqdm5b9xdre4met9iop');

  console.log(data);
})();