Use the environment settings from Quickstart.
Replace sample resource IDs with your own. The examples show the required request shape.
import { MaxClient } from "@elmax/api";
const max = new MaxClient({
baseURL: process.env.MAX_API_URL,
});
const result = await max.api.getV1MaxCodeAppsCategories({});
console.log(result);
import os
from elmax_ai import MaxClient
with MaxClient(base_url=os.environ["MAX_API_URL"]) as max:
result = max.api.get_v1_max_code_apps_categories(**{})
print(result)
Response fields
categories
List of MaxCodeTemplateCategorySummary
Errors and recovery
401
Supply a valid credential for this route.
403
Check the credential's scopes, project, audience, ownership and current access.
404
Check the resource ID and workspace. A route may conceal private resources.
409
Refresh the resource or reuse the same request ID and request body for a retry.
422
Compare the request body and parameters with the published schema.
429
Wait for capacity or credits. Check the original operation before retrying a write.