ArchAstro.V1.Threads.Settings (archastro v0.2.0)

Copy Markdown

Setting API resource.

Summary

Functions

Retrieve thread settings

Update thread settings

Functions

list(client, thread)

Retrieve thread settings

Returns the current settings for the specified thread. Settings control per-thread behavior such as whether the AI agent is enabled.

The authenticated user must own the thread or be a member of its workspace. If settings have never been explicitly configured, defaults are returned (for example, agent_enabled defaults to true).

Successful response

replace(client, thread, input)

Update thread settings

Updates the settings for the specified thread. Only fields included in the settings map are modified; omitted fields retain their current values.

The authenticated user must own the thread or be a member of its workspace. Returns the full settings object reflecting the state after the update. Validation errors are returned as 422 Unprocessable Entity.

The thread settings object after the update has been applied.