List models for an organization

List models for an organization with pagination, filtering, and sorting.

Filter parameters support Supabase filter operators, per the field's declared policy:

  • Text fields (name, description, created_by_email): use ilike.%value% for partial match
  • Date fields: use gte.value, lte.value, etc.
  • Date range: use created_at_gt and created_at_lt for between queries
get/models

Query parameters

limitinteger
offsetinteger
qstring nullable

Free-text search on model name and search_vector.

Free-text search on model name and search_vector.

namestring nullable
descriptionstring nullable
created_by_emailstring nullable
created_atstring nullable
created_at_gtstring nullable
created_at_ltstring nullable
updated_atstring nullable
updated_at_gtstring nullable
updated_at_ltstring nullable
order_by'name' | 'created_at' | 'updated_at'
order'asc' | 'desc'

Response

Successful Response

countinteger required
totalinteger required

Changes

No recorded changes to this endpoint across all 1 revision of this API.