Skip to main content

@elizaos/core v1.0.0-beta.34 / 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:379


sourceEntityId

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

First user ID

Defined in

packages/core/src/types.ts:382


targetEntityId

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

Second user ID

Defined in

packages/core/src/types.ts:385


agentId

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

Agent ID

Defined in

packages/core/src/types.ts:388


tags

tags: string[]

Tags for filtering/categorizing relationships

Defined in

packages/core/src/types.ts:391


metadata

metadata: object

Additional metadata about the relationship

Index Signature

[key: string]: any

Defined in

packages/core/src/types.ts:394


createdAt?

optional createdAt: string

Optional creation timestamp

Defined in

packages/core/src/types.ts:399