Skip to content
SupportLogin
Stacks

Stacks

Create a stack
POST/api/v1/stacks
List stacks
GET/api/v1/stacks
Retrieve a stack
GET/api/v1/stacks/{stack_id}
Update a stack
PATCH/api/v1/stacks/{stack_id}
Delete a stack
DELETE/api/v1/stacks/{stack_id}
ModelsExpand Collapse
Stack object { id, object, name, 8 more }
id: string
formatuuid
object: "stack"
name: string

Display name. The stack is called through model_id, which is derived from the name, so renaming a stack changes its model_id.

model_id: string

What to pass as model to POST /responses to call the stack. Use it as is.

status: "draft" or "active" or "inactive"

active serves requests, inactive keeps its configuration but refuses them. draft is a stack started in the dashboard whose configuration is not finished.

One of the following:
"draft"
"active"
"inactive"
model: string

The model the stack serves. Null only for a draft without one yet.

tools: array of StackTool { server_label, status }
server_label: string
status: "enabled" or "needs_connection" or "unavailable"

enabled runs on requests to the stack. needs_connection waits for you to connect the account the tool acts as. unavailable is not available to you, e.g. not on your plan.

One of the following:
"enabled"
"needs_connection"
"unavailable"
agentic_memory: boolean

Whether requests to the stack use agentic memory unless they set it themselves. Teams with zero data retention cannot turn it on.

self_improvement: boolean

Whether requests to the stack use self-improvement unless they set it themselves.

created_at: string
formatdate-time
updated_at: string
formatdate-time
StackTool object { server_label, status }
server_label: string
status: "enabled" or "needs_connection" or "unavailable"

enabled runs on requests to the stack. needs_connection waits for you to connect the account the tool acts as. unavailable is not available to you, e.g. not on your plan.

One of the following:
"enabled"
"needs_connection"
"unavailable"
StackDeleteResponse object { id, object, deleted }
id: string
formatuuid
object: "stack.deleted"
deleted: boolean

Always true.