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

# Odoo Get Schema

> Discover Odoo models, field names, relations, and selection values.

Requires the [Odoo integration](/integrations/odoo). Omit `model` to list models via `ir.model`, or specify one to inspect its fields:

```json theme={null}
{"model": "sale.order", "fields": ["partner_id", "order_line", "state", "amount_total"]}
```

Returns field labels, types, required/readonly metadata, related models, selection values, and help where provided by Odoo. Custom models and fields are discovered dynamically. Readonly metadata does not establish whether the API user has write access.

Both model and field lists support `limit` (1–200, default 50) and `offset`, and return `has_more` / `next_offset`. `domain` filters model discovery only. `fields` narrows field discovery only. All calls accept `instance` and the read context documented in [Odoo Query](/tools/odoo_query).

If model discovery is denied, try a known model such as `res.partner`, `sale.order`, `product.product`, `stock.quant`, or `account.move`. Access to `ir.model` is distinct from access to business records.
