Skip to main content
GET
List Moderation Models

Headers

x-edenai-view
enum<string> | null

The same choice as view, for clients that can set headers but not query parameters. view wins when both are sent.

Available options:
endpoints,
models

Query Parameters

view
enum<string> | null

How to group the listing. 'endpoints' (default) is one entry per provider/model id, unchanged. 'models' is one entry per routable model name with its provider endpoints nested underneath, plus one per routing policy you can call — send that name as model to let Eden AI choose the provider. Models your organization hosts are listed too, each under its full id.

Available options:
endpoints,
models
q
string | null

Keeps entries whose id contains this text, ignoring case.

owned_by
string[] | null

Keeps entries whose owned_by is one of these, e.g. anthropic,openai: the provider in the default view, the model's author with view=models. Several values: separate them with commas or repeat the parameter.

input_modalities
string[] | null

Keeps entries that accept all of these inputs, e.g. image,file. Several values: separate them with commas or repeat the parameter.

output_modalities
string[] | null

Keeps entries that produce all of these outputs, e.g. image. Several values: separate them with commas or repeat the parameter.

capabilities
string[] | null

Keeps entries with all of these capabilities flags true, named without supports_, e.g. function_calling,reasoning. Several values: separate them with commas or repeat the parameter.

context
integer | null

Keeps entries whose context_length is at least this many tokens.

Required range: x >= 1
max_input_price
number | null

Keeps entries whose input rate is at most this, in USD per million tokens. Entries priced by another unit (per image, per second) are kept.

Required range: x >= 0
max_output_price
number | null

Keeps entries whose output rate is at most this, in USD per million tokens. Entries priced by another unit (per image, per second) are kept.

Required range: x >= 0
region
string | null

Keeps entries served in this region: a regions[].code such as eu or us.

zero_data_retention
boolean | null

true keeps only models whose provider keeps no prompts or outputs after the response (Zero Data Retention); false keeps only those known to keep them. Models not verified yet (zero_data_retention: null) match neither.

sort
enum<string> | null

Orders the listing: 'newest' first, 'price' by lowest input rate, 'context' by largest context_length. Entries without that value come last.

Available options:
newest,
price,
context

Response

Successful Response

List models response.

data
ModelObject · object[]
required

List of models

object
string
default:list

Object type

Allowed value: "list"