Twenty · Schema
RelationMetadataInput
CRMOpen SourceRESTGraphQLWebhookSelf-HostedCompaniesPeopleOpportunitiesWorkflowsAI AgentsCustom Objects
Properties
| Name | Type | Description |
|---|---|---|
| relationType | string | |
| fromObjectMetadataId | string | |
| toObjectMetadataId | string | |
| fromName | string | |
| fromLabel | string | |
| toName | string | |
| toLabel | string | |
| fromIcon | string | |
| toIcon | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/twenty/json-schema/twenty-relation-metadata-input-schema.json",
"title": "RelationMetadataInput",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/twenty-relations-api-openapi.yml#/components/schemas/RelationMetadataInput",
"type": "object",
"required": [
"relationType",
"fromObjectMetadataId",
"toObjectMetadataId",
"fromName",
"fromLabel",
"toName",
"toLabel"
],
"properties": {
"relationType": {
"type": "string",
"enum": [
"ONE_TO_MANY",
"MANY_TO_ONE",
"ONE_TO_ONE"
]
},
"fromObjectMetadataId": {
"type": "string",
"format": "uuid"
},
"toObjectMetadataId": {
"type": "string",
"format": "uuid"
},
"fromName": {
"type": "string"
},
"fromLabel": {
"type": "string"
},
"toName": {
"type": "string"
},
"toLabel": {
"type": "string"
},
"fromIcon": {
"type": "string"
},
"toIcon": {
"type": "string"
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/twenty-relation-metadata-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.