WorkOS PHP SDK

AgentBlueprintsCreateRequestInvocableAs
in package
implements JsonSerializable uses JsonSerializableTrait

Read onlyYes

How sessions may be minted from this blueprint.

Table of Contents

Interfaces

JsonSerializable

Properties

$instanceTypes  : array<string|int, AgentInstanceType>|null
Instance types that may be minted from this blueprint: `delegated` (a user-delegated session, minted with a user access token) and/or `autonomous` (a session acting as the agent itself, minted with an agent registration credential). Agent-delegated chaining and refreshes are checked against the type of the presenting instance. Defaults to both.

Methods

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

Properties

$instanceTypes

Instance types that may be minted from this blueprint: `delegated` (a user-delegated session, minted with a user access token) and/or `autonomous` (a session acting as the agent itself, minted with an agent registration credential). Agent-delegated chaining and refreshes are checked against the type of the presenting instance. Defaults to both.

public array<string|int, AgentInstanceType>|null $instanceTypes = null

Methods

jsonSerialize()

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

Search results