{"openapi":"3.1.0","info":{"title":"Droplit","version":"1.0.0","description":"Hosted BSV wallets for apps and agents. https://droplit.dev publishes discovery, OpenAPI, and docs. Wallet create/deposit/tap/push/fund/mint execute on https://api.droplit.dev with BRC-103/104 mutual authentication via @bsv/sdk AuthFetch — not a bearer token. Signing uses an existing WalletInterface through HTTPWalletJSON or the Sigma wallet bridge; ProtoWallet remains supported for local signing. CLI: --wallet-url <URL> (recommended) or mutually exclusive --wif <WIF>. Sigma device OAuth alone does not provide wallet signing.","contact":{"name":"Droplit","url":"https://droplit.dev"}},"externalDocs":{"description":"Agent signup, create, and deposit playbook","url":"https://droplit.dev/docs/agents"},"servers":[{"url":"https://api.droplit.dev","description":"Wallet writes (BRC-103/104 AuthFetch)"},{"url":"https://droplit.dev","description":"Discovery, docs, OpenAPI"}],"tags":[{"name":"discovery","description":"Unauthenticated machine-readable indexes on droplit.dev"},{"name":"identity","description":"Register a signer identity on api.droplit.dev"},{"name":"droplits","description":"Create, list, and inspect hosted wallets"},{"name":"deposits","description":"Paymail and deposit-address funding"},{"name":"actions","description":"Canonical and legacy wallet operations"},{"name":"activity","description":"Live activity stream"},{"name":"keys","description":"Owner allowlist. Allowlisted keys get N per kind per period; the faucet owner is unlimited."}],"components":{"securitySchemes":{"AuthFetch":{"type":"apiKey","name":"x-bsv-auth-signature","in":"header","description":"The signature header is only a documentation marker for the custom BRC-103/104 protocol, not a reusable API key or TLS client certificate. Use @bsv/sdk AuthFetch to generate all required headers and manage the handshake. Not a bearer token and not an Authorization header you construct. Connect an existing SDK HTTPWalletJSON signer (not 1sat serve wallet storage RPC), a Sigma-backed WalletInterface, or an explicit local ProtoWallet; wrap it in AuthFetch, and call client.fetch(url, options). The SDK owns the handshake and session. Protected writes live on https://api.droplit.dev."}},"schemas":{"Problem":{"type":"object","required":["type","title","status","detail"],"properties":{"type":{"type":"string","example":"about:blank"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"hint":{"type":"string","description":"How to authenticate: AuthFetch against https://api.droplit.dev."}}},"JsonError":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}},"QuotaExceeded":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Quota denial. This is a rate limit (N per period), not a credits ledger and not monthly owner metering."},"resets_at":{"type":"string","format":"date-time","description":"RFC 3339 UTC instant when the current period ends and remaining resets."}}},"ActionQuotaSpec":{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["tap","push","mint","fund"]},"n_per_period":{"type":["number","null"],"description":"N actions of this kind per period. null means unlimited for this kind. Owner identities ignore this."},"period":{"type":"string","enum":["minute","hour","day","week"],"description":"Window for n_per_period. Default day."},"max_bytes":{"type":["number","null"]},"max_sats_per_action":{"type":["number","null"]},"max_sats_per_period":{"type":["number","null"]}}},"ActionQuotaStatus":{"allOf":[{"$ref":"#/components/schemas/ActionQuotaSpec"},{"type":"object","properties":{"used":{"type":"number"},"remaining":{"type":["number","null"],"description":"Actions left in the current period. null when n_per_period is unset (unlimited). Not a spendable credits balance."},"resets_at":{"type":"string","format":"date-time","description":"RFC 3339 UTC when remaining resets."},"sats_used":{"type":"number"},"sats_remaining":{"type":["number","null"]}}}]},"AddAPIKeyRequest":{"type":"object","required":["public_key"],"properties":{"public_key":{"type":"string","description":"Compressed public key hex to allowlist."},"label":{"type":"string"},"quotas":{"type":"array","items":{"$ref":"#/components/schemas/ActionQuotaSpec"},"description":"Per-key N rate limit. CLI: droplit api-keys add --quotas '<json array>'. Owner of the faucet is unlimited."}}},"APIKeyEntry":{"type":"object","properties":{"faucet_name":{"type":"string"},"user_public_key_hex":{"type":"string"},"label":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"quotas":{"type":"array","items":{"$ref":"#/components/schemas/ActionQuotaStatus"},"description":"Resolved quotas for this key, including remaining and resets_at."}}},"ListAPIKeysResponse":{"type":"object","properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/APIKeyEntry"}}}},"ListActionQuotasResponse":{"type":"object","required":["quotas"],"properties":{"quotas":{"type":"array","items":{"$ref":"#/components/schemas/ActionQuotaSpec"},"description":"Faucet-level policy. Empty array / no rows = today's unlimited allowlist. Per-key quotas remain on POST /faucet/{name}/api-keys via quotas."}}},"Catalog":{"type":"object","required":["name","description","when_to_use","hosts","signup","deposit","openapi","llms"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"when_to_use":{"type":"array","items":{"type":"string"}},"hosts":{"type":"object","properties":{"docs":{"type":"string","format":"uri"},"api":{"type":"string","format":"uri"},"auth":{"type":"string","format":"uri"}}},"signup":{"type":"object","properties":{"register":{"type":"string"},"create":{"type":"string"}}},"deposit":{"type":"object","properties":{"paymail":{"type":"string"},"address":{"type":"string"}}},"openapi":{"type":"string","format":"uri"},"llms":{"type":"string","format":"uri"}}},"CreateDroplitRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Droplit name. Also the paymail local-part: {name}@droplit.dev."},"fixed_drop_sats":{"type":"number","description":"Optional fixed tap amount in satoshis. This is the field POST /faucets reads. CLI --drop-sats maps here. drop_sats on create is ignored."},"target_buckets":{"type":"number"},"current_bucket_idx":{"type":"number"},"max_consolidation_inputs":{"type":"number"}}},"CreateDroplitResponse":{"type":"object","properties":{"faucet_name":{"type":"string"},"slug":{"type":"string"},"instance_pub_key":{"type":"string"},"instance_pubkey":{"type":"string","description":"Live API field name for the instance public key."},"owner_pub_key":{"type":"string"},"owner_pubkey":{"type":"string","description":"Live API field name for the owner public key."},"generated_api_key":{"type":"string"},"message":{"type":"string"}}},"Droplit":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"instance_pubkey":{"type":"string"},"owner_pubkey":{"type":"string"},"balance_sats":{"type":"number"},"drop_sats":{"type":["number","null"]},"paymail":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"FaucetAccess":{"type":"object","required":["slug","public_key","authorized","is_owner","quotas","unrestricted_kinds","approval_path"],"properties":{"slug":{"type":"string"},"public_key":{"type":"string","description":"Authenticated caller's compressed wallet identity key."},"authorized":{"type":"boolean","description":"Whether this caller is the owner or is allowlisted. False is returned with HTTP 200."},"is_owner":{"type":"boolean"},"quotas":{"type":"array","items":{"$ref":"#/components/schemas/ActionQuotaStatus"}},"unrestricted_kinds":{"type":"array","items":{"type":"string","enum":["tap","push","mint","fund"]},"description":"Kinds without quota rows for an authorized caller. Empty when unauthorized. Transaction fees are excluded from satoshi quotas."},"approval_path":{"type":"string","description":"Convenience owner-review path /droplit/{slug}?tab=api&request_key={public_key}. Resolve against a configured trusted site. No approval or durable pending request is created."}}},"FaucetStatus":{"type":"object","properties":{"faucet_name":{"type":"string"},"faucet_slug":{"type":"string"},"balance_satoshis":{"type":"number"},"unspent_utxo_count":{"type":"number"},"fixed_drop_sats":{"type":"number"},"spendable_utxo_count":{"type":"number"},"consolidating_balance_satoshis":{"type":"number"},"consolidating_utxo_count":{"type":"number"},"paymail":{"type":"string"},"action_quotas":{"type":"array","items":{"$ref":"#/components/schemas/ActionQuotaSpec"},"description":"Faucet-level quota policy. Public. No quota rows means today's unlimited allowlist."}}},"DepositAddressResponse":{"type":"object","properties":{"deposit_address":{"type":"string"},"deposit_invoice_number":{"type":"string"},"faucet_name":{"type":"string"}}},"ActionRequest":{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["tap","push","mint","fund"],"description":"Action kind. CLI: droplit action --kind tap|push|mint|fund."},"recipientAddress":{"type":"string"},"amountSat":{"type":"number"},"data":{"type":"array","items":{"type":"string"}},"encoding":{"type":"string"},"contentType":{"type":"string"},"inscription":{"type":"string"},"bsv21":{"type":"object","properties":{"ticker":{"type":"string"},"max":{"type":"string"},"limit":{"type":"string"},"dec":{"type":"number"}}},"rawtx":{"type":"string"},"broadcast":{"type":"boolean"}}},"ActionResponse":{"type":"object","properties":{"success":{"type":"boolean"},"kind":{"type":"string"},"txid":{"type":"string"},"rawtx":{"type":"string"},"message":{"type":"string"},"inscriptionId":{"type":"string"}}},"RegisterRequest":{"type":"object","required":["publicKey"],"properties":{"publicKey":{"type":"string","description":"Compressed public key hex for the signer identity."}}},"TapRequest":{"type":"object","properties":{"recipient_address":{"type":"string"},"satoshis":{"type":"number"}}},"PushRequest":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"string"}},"encoding":{"type":"string"},"broadcast":{"type":"boolean"}}},"FundRequest":{"type":"object","required":["rawtx"],"properties":{"rawtx":{"type":"string"},"broadcast":{"type":"boolean"}}},"MintRequest":{"type":"object","properties":{"recipientAddress":{"type":"string"},"contentType":{"type":"string"},"data":{"type":"string"},"inscription":{"type":"string"},"encoding":{"type":"string"},"broadcast":{"type":"boolean"}}}}},"paths":{"/sponsors":{"get":{"tags":["discovery"],"operationId":"discoverSponsors","servers":[{"url":"https://api.droplit.dev"}],"security":[],"summary":"Find owner-listed sponsors","description":"Public, unsigned names only, ordered by slug. Only owners who opt in appear; private wallets are omitted. Listing grants no access and promises no funding. Check /faucet/{name}/access using your signer and obtain owner approval.","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"after","in":"query","description":"The previous page's next_cursor slug.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page of sponsors; an empty array is valid.","content":{"application/json":{"schema":{"type":"object","required":["sponsors","next_cursor"],"properties":{"sponsors":{"type":"array","items":{"type":"object","required":["name","slug","approval_required"],"properties":{"name":{"type":"string"},"slug":{"type":"string"},"approval_required":{"type":"boolean","const":true}}}},"next_cursor":{"type":["string","null"]}}}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"500":{"description":"Sponsor discovery unavailable.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/admin/faucet/config/{slug}":{"patch":{"tags":["droplits"],"operationId":"updateDroplitConfig","servers":[{"url":"https://api.droplit.dev"}],"security":[{"AuthFetch":[]}],"summary":"Update owner configuration","description":"Owner-only AuthFetch. public_listing defaults to false; true lists the name in /sponsors. Unlisting does not revoke wallet grants or hide public status. Other configuration fields can be updated independently.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"public_listing":{"type":"boolean","default":false},"fixed_drop_sats":{"type":"integer"},"target_buckets":{"type":"integer"},"max_consolidation_inputs":{"type":"integer"},"current_bucket_idx":{"type":"integer"},"action_quotas":{"type":"array","items":{"$ref":"#/components/schemas/ActionQuotaSpec"}}}}}}},"responses":{"200":{"description":"Updated config, including public_listing and action_quotas.","content":{"application/json":{"schema":{"type":"object","properties":{"public_listing":{"type":"boolean"},"action_quotas":{"type":"array","items":{"$ref":"#/components/schemas/ActionQuotaSpec"}}}}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/api/v1":{"servers":[{"url":"https://droplit.dev"}],"get":{"operationId":"getCatalog","tags":["discovery"],"summary":"JSON API catalog","description":"Unauthenticated catalog of hosts, signup, deposit, OpenAPI, and llms.txt. Wallet writes are not executed on this host.","security":[],"responses":{"200":{"description":"Catalog","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalog"}}}}}}},"/openapi.json":{"servers":[{"url":"https://droplit.dev"}],"get":{"operationId":"getOpenApi","tags":["discovery"],"summary":"OpenAPI 3.1 document","description":"This specification. Discovery operations are served by https://droplit.dev; write operations are served by https://api.droplit.dev.","security":[],"responses":{"200":{"description":"OpenAPI 3.1 document","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/llms.txt":{"servers":[{"url":"https://droplit.dev"}],"get":{"operationId":"getLlmsTxt","tags":["discovery"],"summary":"LLM orientation guide","description":"Plain-text / markdown orientation for agents: when to use Droplit, which host to call, signup, deposits, and operations.","security":[],"responses":{"200":{"description":"llms.txt body","content":{"text/plain":{"schema":{"type":"string"}},"text/markdown":{"schema":{"type":"string"}}}}}}},"/auth/register":{"servers":[{"url":"https://api.droplit.dev"}],"post":{"operationId":"registerIdentity","tags":["identity"],"summary":"Register a signer identity","description":"Register the caller's public key with the Droplit API. Registration stores public authentication material; it does not grant sponsor authorization. Check GET /faucet/{name}/access before using a sponsor. Authenticate subsequent calls with AuthFetch using the same key.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}}},"responses":{"200":{"description":"Identity registered. JSON { ok: true }. Prefer this over 204 so AuthFetch can complete the handshake."},"204":{"description":"Identity registered with an empty body. AuthFetch may report missing BSV auth headers; the key is still saved. The CLI treats that 204 as success."},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/faucets":{"servers":[{"url":"https://api.droplit.dev"}],"post":{"operationId":"createDroplit","tags":["droplits"],"summary":"Create a droplit","description":"Create a hosted BSV wallet. Requires AuthFetch. Body: name (required), fixed_drop_sats and max_consolidation_inputs (optional). Response includes faucet_name, instance_pubkey, owner_pubkey, generated_api_key, and message. Deposit via {name}@droplit.dev or POST /faucet/{name}/deposit-address.","security":[{"AuthFetch":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDroplitRequest"}}}},"responses":{"201":{"description":"Droplit created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDroplitResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/admin/faucets":{"servers":[{"url":"https://api.droplit.dev"}],"get":{"operationId":"listDroplits","tags":["droplits"],"summary":"List droplits for the authenticated owner","description":"Returns droplits owned by the AuthFetch identity.","security":[{"AuthFetch":[]}],"responses":{"200":{"description":"Owner droplits","content":{"application/json":{"schema":{"type":"object","properties":{"droplits":{"type":"array","items":{"$ref":"#/components/schemas/Droplit"}}}}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/faucet/{name}/access":{"servers":[{"url":"https://api.droplit.dev"}],"get":{"operationId":"getDroplitAccess","tags":["keys"],"summary":"Read the authenticated wallet's sponsor access","description":"Read-only caller authorization and resolved quotas. HTTP 200 includes authorized=false for an authenticated caller without access; unknown sponsors return 404. No register, approve, deposit or payment occurs. The CLI access command refuses automatic SDK 402 payments. Copy the approval link for explicit human owner review, then check again using the same signer. CLI: npx @droplit.dev/cli access --name {name} --wallet-url <URL> --json.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"responses":{"200":{"description":"Current caller policy; Cache-Control: no-store.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaucetAccess"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/faucet/{name}/status":{"servers":[{"url":"https://api.droplit.dev"}],"get":{"operationId":"getDroplitStatus","tags":["droplits"],"summary":"Public droplit status","description":"Public balance and UTXO counts. This endpoint does not report caller authorization or remaining quotas. Use authenticated GET /faucet/{name}/access for caller policy.","security":[],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"responses":{"200":{"description":"Status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaucetStatus"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/faucet/{name}/deposit-address":{"servers":[{"url":"https://api.droplit.dev"}],"post":{"operationId":"createDepositAddress","tags":["deposits"],"summary":"Create a deposit address","description":"Allocate the next BSV deposit address for the droplit. Prefer paymail {name}@droplit.dev when the sender supports it. Requires AuthFetch ownership.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"responses":{"200":{"description":"Deposit address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositAddressResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/faucet/{name}/actions":{"servers":[{"url":"https://api.droplit.dev"}],"post":{"operationId":"executeAction","tags":["actions"],"summary":"Execute a canonical wallet action","description":"Canonical transaction endpoint. kind is tap | push | mint | fund. CLI: droplit action --kind tap|push|mint|fund --name {name} --wallet-url <URL> (or explicit --wif for local signing; no env WIF). Prefer this over legacy /tap /push /fund /mint. Do not automatically retry writes after an ambiguous response; inspect activity and transaction status first. Idempotency-Key replay is not implemented. Faucet owner is unlimited. Allowlisted keys get N per kind per period; exhausted quota is 429 with resets_at. Not a credits ledger.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionRequest"}}}},"responses":{"200":{"description":"Action result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"429":{"description":"Allowlisted key exhausted N actions (or sats/bytes) for this kind in the current period. Owner identities are unlimited and never receive this. Rate limit, not a credits ledger. JSON { error, resets_at }.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceeded"}}}}}}},"/faucet/{name}/tap":{"servers":[{"url":"https://api.droplit.dev"}],"post":{"operationId":"tap","tags":["actions"],"summary":"Legacy tap (send sats)","description":"Legacy wrapper. Prefer POST /faucet/{name}/actions with kind=tap. Sends satoshis to recipient_address.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TapRequest"}}}},"responses":{"200":{"description":"Tap result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"429":{"description":"Allowlisted key exhausted N actions (or sats/bytes) for this kind in the current period. Owner identities are unlimited and never receive this. Rate limit, not a credits ledger. JSON { error, resets_at }.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceeded"}}}}}}},"/faucet/{name}/push":{"servers":[{"url":"https://api.droplit.dev"}],"post":{"operationId":"push","tags":["actions"],"summary":"Legacy push (OP_RETURN)","description":"Legacy wrapper. Prefer POST /faucet/{name}/actions with kind=push.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushRequest"}}}},"responses":{"200":{"description":"Push result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"429":{"description":"Allowlisted key exhausted N actions (or sats/bytes) for this kind in the current period. Owner identities are unlimited and never receive this. Rate limit, not a credits ledger. JSON { error, resets_at }.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceeded"}}}}}}},"/faucet/{name}/fund":{"servers":[{"url":"https://api.droplit.dev"}],"post":{"operationId":"fund","tags":["actions"],"summary":"Legacy fund (add inputs to a tx template)","description":"Legacy wrapper. Prefer POST /faucet/{name}/actions with kind=fund.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundRequest"}}}},"responses":{"200":{"description":"Fund result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"429":{"description":"Allowlisted key exhausted N actions (or sats/bytes) for this kind in the current period. Owner identities are unlimited and never receive this. Rate limit, not a credits ledger. JSON { error, resets_at }.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceeded"}}}}}}},"/faucet/{name}/mint":{"servers":[{"url":"https://api.droplit.dev"}],"post":{"operationId":"mint","tags":["actions"],"summary":"Legacy mint (inscription)","description":"Legacy wrapper. Prefer POST /faucet/{name}/actions with kind=mint.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MintRequest"}}}},"responses":{"200":{"description":"Mint result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"429":{"description":"Allowlisted key exhausted N actions (or sats/bytes) for this kind in the current period. Owner identities are unlimited and never receive this. Rate limit, not a credits ledger. JSON { error, resets_at }.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceeded"}}}}}}},"/faucet/{name}/api-keys":{"servers":[{"url":"https://api.droplit.dev"}],"get":{"operationId":"listApiKeys","tags":["keys"],"summary":"List allowlisted public keys","description":"Owner-only. Each key may include quotas with remaining and resets_at. CLI: droplit api-keys list --name {name} --wallet-url <URL>. Owner of the faucet is unlimited; allowlisted keys get N. Rate limit, not a credits ledger.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"responses":{"200":{"description":"Allowlisted keys","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAPIKeysResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}},"post":{"operationId":"addApiKey","tags":["keys"],"summary":"Allowlist a public key","description":"Owner-only. Optional quotas set N per kind per period for that key (not credits). CLI: droplit api-keys add --name {name} --public-key <hex> [--quotas json] --wallet-url <URL>. No env WIF.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddAPIKeyRequest"}}}},"responses":{"200":{"description":"Key allowlisted.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}}}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/faucet/{name}/api-keys/{publicKey}":{"servers":[{"url":"https://api.droplit.dev"}],"delete":{"operationId":"deleteApiKey","tags":["keys"],"summary":"Remove an allowlisted public key","description":"Owner-only. CLI: droplit api-keys rm --name {name} --public-key <hex> --wallet-url <URL>.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}},{"name":"publicKey","in":"path","required":true,"description":"Compressed public key hex.","schema":{"type":"string"}}],"responses":{"200":{"description":"Key removed.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}}}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/faucet/{name}/action-quotas":{"servers":[{"url":"https://api.droplit.dev"}],"get":{"operationId":"getActionQuotas","tags":["keys"],"summary":"Get faucet-level action quotas","description":"Owner-only AuthFetch. Returns { quotas: ActionQuotaSpec[] }. Empty array / no rows is today's unlimited allowlist. Per-key quotas remain on POST /faucet/{name}/api-keys via quotas. Owner is unlimited; allowlisted keys get N per kind per period. Rate limit, not a credits ledger, not monthly owner metering. CLI: npx @droplit.dev/cli quotas list --name {name} --wallet-url <URL>.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"responses":{"200":{"description":"Faucet-level quota policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListActionQuotasResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"429":{"description":"Allowlisted key exhausted N actions (or sats/bytes) for this kind in the current period. Owner identities are unlimited and never receive this. Rate limit, not a credits ledger. JSON { error, resets_at }.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceeded"}}}}}},"put":{"operationId":"putActionQuotas","tags":["keys"],"summary":"Replace faucet-level action quotas","description":"Owner-only AuthFetch. Body { quotas: ActionQuotaSpec[] }. Empty array restores today's unlimited allowlist. Kinds: tap, push, mint, fund. Caps: n_per_period, period (minute|hour|day|week), max_bytes, max_sats_per_action, max_sats_per_period. Per-key quotas remain on POST /faucet/{name}/api-keys via quotas. CLI: npx @droplit.dev/cli quotas set --name {name} --wallet-url <URL>.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListActionQuotasResponse"}}}},"responses":{"200":{"description":"Replaced faucet-level quota policy.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListActionQuotasResponse"}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"429":{"description":"Allowlisted key exhausted N actions (or sats/bytes) for this kind in the current period. Owner identities are unlimited and never receive this. Rate limit, not a credits ledger. JSON { error, resets_at }.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotaExceeded"}}}}}}},"/faucet/{name}/activity":{"servers":[{"url":"https://api.droplit.dev"}],"post":{"operationId":"getActivity","tags":["activity"],"summary":"Read wallet activity","description":"Owner-authenticated activity history. This endpoint uses POST, not GET.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"}}}}}},"responses":{"200":{"description":"Activity history","content":{"application/json":{"schema":{"type":"object","properties":{"activities":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"timestamp":{"type":"string","format":"date-time"},"txid":{"type":"string"},"amount_sat":{"type":"integer"},"description":{"type":"string"}}}}}}}}},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}},"/faucet/{name}/activity-stream":{"servers":[{"url":"https://api.droplit.dev"}],"get":{"operationId":"activityStream","tags":["activity"],"summary":"Live activity stream","description":"WebSocket upgrade followed by BRC-103 mutual authentication through SDK Peer. Send an authenticated general subscription message to establish ownership; the server then sends JSON connected, ping, and faucet_activity frames. No HTTP SSE or X-Auth-Token transport.","security":[{"AuthFetch":[]}],"parameters":[{"name":"name","in":"path","required":true,"description":"Droplit name or slug.","schema":{"type":"string"}}],"responses":{"101":{"description":"WebSocket protocol upgrade; authenticate with Peer before receiving activity."},"400":{"description":"Validation or funding failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"401":{"description":"BRC-103/104 authentication or ownership failure.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"403":{"description":"Faucet authorization denied.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"404":{"description":"Droplit or path not found.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}},"409":{"description":"Conflict, such as a duplicate droplit name.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}},"application/json":{"schema":{"$ref":"#/components/schemas/JsonError"}}}}}}}},"x-sigma-auth":{"issuer":"https://auth.sigmaidentity.com","device_authorization_endpoint":"https://auth.sigmaidentity.com/api/auth/device/code","oauth_authorization_server":"https://droplit.dev/.well-known/oauth-authorization-server"}}