Medusa Views API

A view configuration is a saved data-table view for an entity, such as products or orders. It lets admin users customize how a table shows its data, then save that customization as a reusable view. These API routes allow admin users to manage the system default and personal views.

GitHub OpenAPI

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /admin/views/entities List saved views · List Views #
Ask an LLM
“Which saved views exist for my tables?”
“Can I see all the saved view configurations?”
Tell an agent
List all saved views.
Show every saved view configuration.
GET /admin/views/{entity}/columns List columns in a view · List Columns in View #
Ask an LLM
“What columns are in the saved view for a table?”
“Which fields does a particular view show?”
Tell an agent
List the columns in the view for {entity}.
Show which fields the saved view of {entity} includes.
GET /admin/views/{entity}/configurations List view configurations for an entity · List View Configurations #
Ask an LLM
“What view configurations exist for a table?”
“Can I filter view configurations by name or user?”
Tell an agent
List view configurations for {entity}.
Show view configurations of {entity} named {name}.
POST /admin/views/{entity}/configurations Create a view configuration · Create View Configuration #
Ask an LLM
“How do I save a custom view for a table?”
“Can a new view be made the system default?”
Tell an agent
Create a view named {name} for {entity}.
Save a new {entity} view configuration with columns {configuration}.
GET /admin/views/{entity}/configurations/active Get the active view configuration · Get Active View Configuration #
Ask an LLM
“Which view is currently active for a table?”
“What columns does my active view show?”
Tell an agent
Get the active view configuration for {entity}.
Show which columns my active {entity} view includes.
POST /admin/views/{entity}/configurations/active Make a view configuration active · Make View Configuration Active #
Ask an LLM
“How do I switch to a different saved view?”
“Can I clear the active view and fall back to the system default?”
Tell an agent
Make view {view_configuration_id} active for {entity}.
Clear the active view for {entity}.
GET /admin/views/{entity}/configurations/{id} Get a view configuration · Get View Configuration #
Ask an LLM
“What columns does a specific view configuration include?”
“Can I look up one saved view by ID?”
Tell an agent
Get view configuration {id} for {entity}.
Show the columns in saved view {id} of {entity}.
POST /admin/views/{entity}/configurations/{id} Update a view configuration · Update View Configuration #
Ask an LLM
“How do I rename a saved view?”
“Can I change the columns in an existing view?”
Tell an agent
Rename view {id} for {entity} to {name}.
Update the columns in view {id} of {entity} to {configuration}.
DELETE /admin/views/{entity}/configurations/{id} Remove a view configuration · Remove View Configurations #
Ask an LLM
“How do I delete a saved view?”
“Can I remove a custom view configuration?”
Tell an agent destructive · confirm first
Delete view configuration {id} from {entity}.
Remove saved view {id} of {entity}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/medusa:medusa-views-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

medusa-views-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.19.0
  title: Medusa Admin Views API
  license:
    name: MIT
    url: https://github.com/medusajs/medusa/blob/develop/LICENSE
  description: 'A view configuration is a saved data-table view for an entity, such as products or orders. It lets admin users customize how a table shows its data, then save that customization as a reusable view.

    These API routes allow admin users to manage the system default and personal views.'
servers:
- url: http://localhost:9000
- url: https://api.medusajs.com
tags:


# --- truncated at 32 KB (58 KB total) ---
# Full source: https://artifacts.apis.io/medusa/openapi/medusa-views-api-openapi.yml