{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Create a relationship between object schemas.\n\nNote that flow filtering and segmentation are currently not supported for object-to-object relationships.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m`\n\n**Scopes:**\n`custom-objects:write`\n\n[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/stable/apis/create_object_schema_relationship.json)","properties":{"path":{"type":"object","properties":{"id":{"description":"The ULID ID of the object schema.","type":"string","examples":["01K61DKJ7EKJ0ES9VE456XF5JG"]}},"required":["id"],"additionalProperties":false},"headers":{"type":"object","properties":{"revision":{"type":"string","default":"2026-10-15","enum":["2026-10-15"],"description":"API endpoint revision (format: YYYY-MM-DD[.suffix])"}},"required":["revision"],"additionalProperties":false},"body":{"$ref":"#/definitions/ObjectSchemaRelationshipCreateQuery"}},"required":["path","headers","body"],"additionalProperties":false,"definitions":{"ObjectSchemaRelationshipCreateQuery":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["type","id"],"properties":{"type":{"$ref":"#/definitions/ObjectSchemaEnum"},"id":{"description":"The ULID ID of the related object schema.","type":"string","examples":["01K5YKKQKM819VVGCPZZKGE6D4"]},"meta":{"$ref":"#/definitions/ObjectSchemaRelationshipCreateMeta"}}}}},"required":["data"]},"ObjectSchemaEnum":{"type":"string","enum":["object-schema"]},"ObjectSchemaRelationshipCreateMeta":{"type":"object","properties":{"name":{"description":"The name of the relationship","type":"string","examples":["subscription"]},"description":{"description":"The description of the relationship","type":["string","null"],"default":"","examples":["The subscription this pet is enrolled in"]}},"required":["name"]}}},"name":"Create Object Schema Relationship","id":"klaviyo.create_object_schema_relationship","example":{"path":{"id":"01K61DKJ7EKJ0ES9VE456XF5JG"},"headers":{"revision":"2026-10-15"},"body":{"data":[]}},"maxRequests":1,"summary":false}}