Skip to main content
Glama

directus_create_relation

Create foreign key relationships between collections in Directus to establish data connections and maintain referential integrity across your content structure.

Instructions

[UNIFIED] Create a new relation (foreign key) between collections.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYes
collectionYes
fieldYes
related_collectionYes
metaNo
schemaNo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/airano-ir/mcphub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server