Skip to main content

@elizaos/core v1.0.0-beta.51 / Relationship

Interface: Relationship

Represents a relationship between users

Properties​

id​

id: `${string}-${string}-${string}-${string}-${string}`

Unique identifier

Defined in​

packages/core/src/types.ts:432


sourceEntityId​

sourceEntityId: `${string}-${string}-${string}-${string}-${string}`

First user ID

Defined in​

packages/core/src/types.ts:435


targetEntityId​

targetEntityId: `${string}-${string}-${string}-${string}-${string}`

Second user ID

Defined in​

packages/core/src/types.ts:438


agentId​

agentId: `${string}-${string}-${string}-${string}-${string}`

Agent ID

Defined in​

packages/core/src/types.ts:441


tags​

tags: string[]

Tags for filtering/categorizing relationships

Defined in​

packages/core/src/types.ts:444


metadata​

metadata: object

Additional metadata about the relationship

Index Signature​

[key: string]: any

Defined in​

packages/core/src/types.ts:447


createdAt?​

optional createdAt: string

Optional creation timestamp

Defined in​

packages/core/src/types.ts:452