GETPro+
/api/v1/models/{model_id}/schemaGet Schema
Returns the metamodel (M2 schema): all node types, relationship types, their properties, and allowed connection patterns. Equivalent to the MCP get_metamodel tool.
AuthenticationBearer mpt_... or OAuth JWT
Plan RequirementPro+
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
model_id | String | ✓ | [Get Schema] UUID of the model. Path parameter. | |
locale | String | — | [Get Schema] Return type names and descriptions in this locale. Query parameter. |
Example Response
{"node_types": [{"name": "Feature", "properties": [{"name": "status", "data_type": "String"}]}], "relationship_types": [{"name": "depends_on"}], "allowed_connections": [...]}