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 }
Stack object { id, object, name, 8 more }
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.
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.
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.
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.