AgentInstanceCreatedData
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
$agentBlueprintId
The agent blueprint this instance was minted from.
public
string
$agentBlueprintId
$createdAt
The timestamp when the agent instance was created.
public
string
$createdAt
$id
Unique identifier of the agent instance.
public
string
$id
$object
Distinguishes the agent instance object.
public
string
$object
$organizationId
The organization the instance acts within.
public
string
$organizationId
$organizationMembershipId
The organization membership the instance acts on behalf of; `null` for an autonomous instance.
public
string|null
$organizationMembershipId
$type
Whether the instance acts on behalf of a user (`delegated`) or as itself within an organization (`autonomous`).
public
AgentInstanceType
$type
$updatedAt
The timestamp when the agent instance was last updated.
public
string
$updatedAt
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
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>