Buckets
Archive a bucket
Retire a bucket so no new order can target it.
DELETE/buckets/{bucket_id}self-hosted · access token · trade
Self-hosted. Served by synpath serve on your own machine or host, which must be running; the engine and its order types live there. Nothing on this page runs on Synpath's servers.
Orders already on the bucket keep working, and its orders, reports and position stay readable. Archiving needs trade on every member venue.
Path parameters
| Name | Type | Description |
|---|---|---|
bucket_id | string | The bucket's id, or its market id bucket:<id>. |
Response
The bucket, with status: "archived".
from synpath import Client
client = Client(server="http://127.0.0.1:8000") # your self-hosted server (synpath serve)
bucket = await client.archive_bucket("<bucket_id>")200
{
"id": "3f2a9c1e5b7d4e0a8c6f1b2d9e4a7c30",
"book": "alpha",
"name": "Fed cut in September",
"members": [
{
"market_id": "kalshi:KXFEDDECISION-26SEP-C25",
"flip": false
},
{
"market_id": "polymarket:2252244",
"flip": true
}
],
"status": "archived",
"created_ms": 1790265600000,
"updated_ms": 1790265600000
}
