> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gizmo.antimlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Downloads & bundle formats

> Export assets for Isaac Sim, MuJoCo, Gazebo or a GLB viewer, and load their collision geometry correctly.

## Export an asset

```bash theme={null}
curl --fail-with-body -X POST \
  "https://api.gizmo.antimlabs.com/v1/assets/ASSET_ID/export?format=mjcf" \
  -H "Authorization: Bearer $GIZMO_API_KEY" \
  -o asset-mjcf.zip
```

Use `result.asset.id` from the finished job as `ASSET_ID` (or a ready variation's `assetId`). `format` is a query parameter and there is no request body. The response is the file itself, not JSON or a link.

| Format | For | You get |
| - | - | - |
| `usd` | NVIDIA Isaac Sim / Omniverse | `.zip` with the USD file and its textures |
| `usdz` | Isaac Sim, Apple tools | one `.usdz` file |
| `mjcf` | MuJoCo | `.zip` with the MJCF XML and meshes |
| `sdf` | Gazebo | `.zip` with the SDF model and meshes |
| `glb` | Any 3D viewer, ManiSkill, custom pipelines | `.zip` with `visual.glb`, `collision.glb` and `physics.json` |

Each request exports one asset in one format. Exports are free and you can download the same asset as often as you like.

Check the HTTP status and `Content-Type` before saving the body, so an error message never ends up saved as an asset file. `Content-Disposition` suggests a filename. `X-Export-Warnings` lists anything worth knowing about the export.

## What is in the GLB bundle

| File | What it is |
| - | - |
| `visual.glb` | What the asset looks like: meshes, materials and textures |
| `collision.glb` | Collision geometry as a set of convex hulls |
| `physics.json` | Mass, friction and other physical properties, joints, and a `colliders` section describing the collision files |
| `collision_hybrid_convex.glb`, `collision_hybrid_sdf.glb` | Included for assets with openings that convex hulls would close (sockets, slots, handle cutouts). See below. |
| `physics-qa.json` | Included when physics checks ran: what was tested and the results |

A successful job means the asset was built and published. It is not a guarantee that every physics check passed; read `physics-qa.json` when it is present.

## Load collision geometry

In `collision.glb`, each mesh node is one convex hull. Load every node as its own hull and do not re-decompose it.

Assets with functional openings also include `collision_hybrid_convex.glb` and `collision_hybrid_sdf.glb`. Use that pair instead of `collision.glb`, and load the second file as SDF colliders. (PhysX SDF colliders do not collide with plane shapes, so use a box for the floor or table.) `physics.json` describes each file under `colliders`.

In ManiSkill:

```python theme={null}
builder.add_visual_from_file("visual.glb")
builder.add_multiple_convex_collisions_from_file("collision.glb")
# or, when the hybrid pair is present:
# builder.add_multiple_convex_collisions_from_file("collision_hybrid_convex.glb")
# builder.add_nonconvex_collision_from_file("collision_hybrid_sdf.glb")
```

## Asset details

`GET /v1/assets/{asset_id}?include_record=true` returns the full record: parts, joints and materials. Mesh and texture URLs inside it expire after five minutes, so read the record again when you need fresh ones, and keep the asset ID as your permanent identifier.

## Team downloads

Team keys have two extra options, when enabled for the Team:

| Method | Path | Output |
| - | - | - |
| `GET` | `/v1/assets/{asset_id}/files/glb` | The raw visual `.glb` |
| `GET` | `/v1/assets/{asset_id}/files/glb_bundle` | The saved visual, collision and physics ZIP |
| `GET` | `/v1/assets/{asset_id}/files/{format}/url` | A private download link for `usd`, `usdz`, `mjcf`, `sdf`, `glb` or `glb_bundle`, valid for 5 minutes |

Team exports return the files saved when the asset was built. A format the Team has not enabled returns `409 export_not_available`; check `published_formats` on the job or batch item first. An asset that has not finished returns `409 asset_not_ready`. Binary downloads include an `X-Content-SHA256` header you can verify.

## Endpoint reference

[Export an asset](https://docs.gizmo.antimlabs.com/api-reference/exports/export-an-asset.md) · [Download a saved file](https://docs.gizmo.antimlabs.com/api-reference/exports/download-a-saved-team-glb-file.md) · [Get a temporary download link](https://docs.gizmo.antimlabs.com/api-reference/exports/get-a-short-lived-team-download-link.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.