Optional
config: ClientConfigProtected
apiProtected
asyncProtected
defaultProtected
Optional
onProtected
timeoutPayload for creating an assistant.
Optional
assistantOptional
config?: ConfigOptional
description?: stringOptional
ifOptional
metadata?: MetadataOptional
name?: stringThe created assistant.
Protected
fetchOptional
options: RequestInit & { Get the JSON representation of the graph assigned to a runnable
The ID of the assistant.
Optional
options: { Optional
xray?: number | booleanWhether to include subgraphs in the serialized graph representation. If an integer value is provided, only subgraphs with a depth less than or equal to the value will be included.
Serialized graph
Get the state and config schema of the graph assigned to a runnable
The ID of the assistant.
Graph schema
Get the schemas of an assistant by ID.
The ID of the assistant to get the schema of.
Optional
options: { Additional options for getting subgraphs, such as namespace or recursion extraction.
Optional
namespace?: stringOptional
recurse?: booleanThe subgraphs of the assistant.
List all versions of an assistant.
List of assistant versions.
Protected
prepareList assistants.
Optional
query: { Query options.
Optional
graphOptional
limit?: numberOptional
metadata?: MetadataOptional
offset?: numberOptional
sortOptional
sortList of assistants.
Update an assistant.
The updated assistant.
Create a new assistant.