Projects

Create Bucket

post/api/hosting/buckets

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/hosting/buckets
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

project_idinteger required
bucket_namestring nullable
slugstring nullable
visibility'public' | 'private' | 'project_members'
routing_mode'static_pages' | 'spa'

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.