Content
GET /v1/assets/{asset_id}/versions/{version_id}/content
Request fields
| Field | Location | Type | Required |
|---|---|---|---|
asset_id | path | string | Required |
version_id | path | string | Required |
Examples
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,
apiKey: process.env.MAX_API_KEY,
});
const result = await max.request("GET", "/v1/assets/ast_example/versions/icv_example/content", { responseType: "bytes" });
console.log(result);import os
from elmax_ai import MaxClient
with MaxClient(base_url=os.environ["MAX_API_URL"], api_key=os.environ["MAX_API_KEY"]) as max:
result = max.request("GET", "/v1/assets/ast_example/versions/icv_example/content", response_type="bytes")
print(result)