WorkOS PHP SDK

AgentInstanceDeletedData
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

The event payload.

Table of Contents

Interfaces

JsonSerializable

Properties

$agentBlueprintId  : string
The agent blueprint this instance was minted from.
$createdAt  : string
The timestamp when the agent instance was created.
$id  : string
Unique identifier of the agent instance.
$object  : string
Distinguishes the agent instance object.
$organizationId  : string
The organization the instance acts within.
$organizationMembershipId  : string|null
The organization membership the instance acts on behalf of; `null` for an autonomous instance.
$type  : AgentInstanceType
Whether the instance acts on behalf of a user (`delegated`) or as itself within an organization (`autonomous`).
$updatedAt  : string
The timestamp when the agent instance was last updated.

Methods

__construct()  : mixed
fromArray()  : self
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Properties

$organizationMembershipId

The organization membership the instance acts on behalf of; `null` for an autonomous instance.

public string|null $organizationMembershipId

Methods

__construct()

public __construct(string $object, string $id, string $agentBlueprintId, string $organizationId, string|null $organizationMembershipId, AgentInstanceType $type, string $createdAt, string $updatedAt) : mixed
Parameters
$object : string
$id : string
$agentBlueprintId : string
$organizationId : string
$organizationMembershipId : string|null
$type : AgentInstanceType
$createdAt : string
$updatedAt : string

fromArray()

public static fromArray(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Return values
self

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results