All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| getMyUsage() | GET /api/v3/organizations/{organisation}/ai/usage/me | Get AI usage summary for the authenticated user |
getMyUsage($organisation): \QuantClient\Model\GetMyUsage200ResponseGet AI usage summary for the authenticated user
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIUsageApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation ID
try {
$result = $apiInstance->getMyUsage($organisation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AIUsageApi->getMyUsage: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation ID |
\QuantClient\Model\GetMyUsage200Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]