WorkOS PHP SDK

AgentBlueprintUpdatedData
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

The event payload.

Table of Contents

Interfaces

JsonSerializable

Properties

$createdAt  : string
The timestamp when the agent blueprint was created.
$description  : string|null
Human-readable description of the agent blueprint.
$id  : string
Unique identifier of the agent blueprint.
$invocableBy  : AgentBlueprintUpdatedDataInvocableBy
Who may mint sessions from this blueprint.
$name  : string
Human-readable name of the agent blueprint.
$object  : string
Distinguishes the agent blueprint object.
$permissions  : array<string|int, string>
Permission slugs forming the ceiling on what sessions minted from this blueprint may do.
$sessionSettings  : AgentBlueprintUpdatedDataSessionSetting
Token and session lifetimes for sessions minted from this blueprint.
$updatedAt  : string
The timestamp when the agent blueprint was last updated.

Methods

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

Properties

$permissions

Permission slugs forming the ceiling on what sessions minted from this blueprint may do.

public array<string|int, string> $permissions

Methods

__construct()

public __construct(string $object, string $id, string $name, string|null $description, array<string|int, mixed> $permissions, AgentBlueprintUpdatedDataInvocableBy $invocableBy, AgentBlueprintUpdatedDataSessionSetting $sessionSettings, string $createdAt, string $updatedAt) : mixed
Parameters
$object : string
$id : string
$name : string
$description : string|null
$permissions : array<string|int, mixed>
$invocableBy : AgentBlueprintUpdatedDataInvocableBy
$sessionSettings : AgentBlueprintUpdatedDataSessionSetting
$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