---
title: "Get Materials"
method: GET
path: "/materials"
---

# Get Materials

`GET /materials`

Gets PBR materials for the given parameters.

## Query parameters

- `user_id` string, required
- `skip` integer
- `limit` integer
- `most_recent_first` boolean
- `generation_ids` string[], nullable

## Response `200`

Successful Response

- GetMaterialsResponse
  - `materials` GeneratedMaterial[], required
    - `generation_id` string, required
    - `user_id` string, required
    - `albedo` string, nullable, required
    - `normal` string, nullable, required
    - `height` string, nullable, required
    - `metallic` string, nullable, required
    - `roughness` string, nullable, required
    - `ambient_occlusion` string, nullable, required
    - `title` string, nullable, required
    - `custom_instructions` string, nullable, required
    - `created_at` string, date-time, required
    - `saved` boolean, required
    - `deleted` boolean, required
    - `downloaded` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/iliad/apis/fastapi.md) · [All operations](https://skmtc.dev/iliad/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iliad/fastapi/revisions/c1701119b330/schema)
