{"components":{"parameters":{},"schemas":{"Platform.ApiKey":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"api key id (key_...)","type":"string"},"ip_allowlist":{"description":"CIDR entries; empty means any","items":{"type":"string"},"type":"array"},"last4":{"maxLength":4,"minLength":4,"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"prefix":{"enum":["em_live_","em_test_"],"type":"string"},"revoked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"scopes":{"items":{"type":"string"},"type":"array"},"stream_id":{"description":"stream id (str_...)","type":["string","null"]}},"required":["id","name","prefix","last4","scopes","stream_id","ip_allowlist","created_at","revoked_at"],"type":"object"},"Platform.AuditEvent":{"properties":{"action":{"type":"string"},"actor":{"type":"string"},"diff":{"additionalProperties":{},"description":"Before/after values pass the same redaction as logs: addresses hashed or masked, never plaintext (D8)","type":["object","null"]},"id":{"description":"audit event id (aud_ev_...)","type":"string"},"occurred_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"subject":{"properties":{"id":{"type":"string"},"kind":{"type":"string"}},"required":["kind","id"],"type":"object"},"tenant_id":{"description":"tenant id (tn_...)","type":["string","null"]}},"required":["id","actor","action","subject","tenant_id","occurred_at","diff"],"type":"object"},"Platform.CreateApiKey":{"properties":{"ip_allowlist":{"default":[],"items":{"type":"string"},"type":"array"},"mode":{"enum":["live","test"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"scopes":{"items":{"type":"string"},"minItems":1,"type":"array"},"stream_id":{"default":null,"description":"stream id (str_...)","type":["string","null"]}},"required":["name","mode","scopes"],"type":"object"},"Platform.CreateDomain":{"properties":{"domain":{"maxLength":253,"minLength":3,"type":"string"}},"required":["domain"],"type":"object"},"Platform.CreateSmtpCredential":{"properties":{"stream_id":{"description":"stream id (str_...)","type":"string"}},"required":["stream_id"],"type":"object"},"Platform.CreateStream":{"properties":{"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"}},"required":["name","lane"],"type":"object"},"Platform.CreateSuppression":{"properties":{"address":{"description":"Accepted on input; stored hashed","format":"email","type":"string"},"reason":{"default":"manual","enum":["manual"],"type":"string"}},"required":["address"],"type":"object"},"Platform.CreateTemplate":{"properties":{"body_html":{"maxLength":500000,"type":"string"},"body_text":{"default":null,"maxLength":500000,"type":["string","null"]},"kind":{"enum":["transactional","campaign","signature"],"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"}},"required":["name","kind","body_html"],"type":"object"},"Platform.CreatedApiKey":{"properties":{"key":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"api key id (key_...)","type":"string"},"ip_allowlist":{"description":"CIDR entries; empty means any","items":{"type":"string"},"type":"array"},"last4":{"maxLength":4,"minLength":4,"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"prefix":{"enum":["em_live_","em_test_"],"type":"string"},"revoked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"scopes":{"items":{"type":"string"},"type":"array"},"stream_id":{"description":"stream id (str_...)","type":["string","null"]}},"required":["id","name","prefix","last4","scopes","stream_id","ip_allowlist","created_at","revoked_at"],"type":"object"},"raw_key":{"description":"Shown once, never retrievable again","pattern":"^em_(live|test)_[A-Za-z0-9]{32}$","type":"string"}},"required":["key","raw_key"],"type":"object"},"Platform.CreatedSmtpCredential":{"properties":{"credential":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"smtp credential id (smtp_...)","type":"string"},"revoked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"stream_id":{"description":"SMTP credentials bind to one stream (S11)","type":"string"},"username":{"minLength":1,"type":"string"}},"required":["id","username","stream_id","created_at","revoked_at"],"type":"object"},"password":{"description":"Shown once, never retrievable again","minLength":16,"type":"string"}},"required":["credential","password"],"type":"object"},"Platform.DlqMessage":{"properties":{"body_excerpt":{"description":"Truncated, redacted body preview (K4, D8)","maxLength":2000,"type":"string"},"first_seen_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"type":"string"},"queue":{"type":"string"},"received_count":{"minimum":1,"type":"integer"}},"required":["id","queue","received_count","first_seen_at","body_excerpt"],"type":"object"},"Platform.DnsRecord":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"name":{"minLength":1,"type":"string"},"priority":{"description":"MX preference; null for TXT/CNAME","maximum":65535,"minimum":0,"type":["integer","null"]},"purpose":{"enum":["dkim","spf","tracking","inbound","dmarc","bimi","verification"],"type":"string"},"rail":{"description":"Rail name when the record exists for one rail only (dkimImport=false second selector)","minLength":1,"type":["string","null"]},"status":{"enum":["pending","verified","failed"],"type":"string"},"type":{"enum":["TXT","CNAME","MX"],"type":"string"},"value":{"minLength":1,"type":"string"}},"required":["type","name","value","priority","purpose","rail","status","checked_at"],"type":"object"},"Platform.Domain":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"dns_bundle":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"name":{"minLength":1,"type":"string"},"priority":{"description":"MX preference; null for TXT/CNAME","maximum":65535,"minimum":0,"type":["integer","null"]},"purpose":{"enum":["dkim","spf","tracking","inbound","dmarc","bimi","verification"],"type":"string"},"rail":{"description":"Rail name when the record exists for one rail only (dkimImport=false second selector)","minLength":1,"type":["string","null"]},"status":{"enum":["pending","verified","failed"],"type":"string"},"type":{"enum":["TXT","CNAME","MX"],"type":"string"},"value":{"minLength":1,"type":"string"}},"required":["type","name","value","priority","purpose","rail","status","checked_at"],"type":"object"},"type":"array"},"domain":{"maxLength":253,"minLength":3,"type":"string"},"id":{"description":"domain identity id (dom_...)","type":"string"},"tracking_domain":{"maxLength":253,"minLength":3,"type":["string","null"]},"verifications":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"rail":{"description":"Rail name as configured, e.g. primary, backup","minLength":1,"type":"string"},"status":{"enum":["pending","verified","failed"],"type":"string"}},"required":["provider_account_id","rail","status","checked_at"],"type":"object"},"type":"array"}},"required":["id","domain","tracking_domain","dns_bundle","verifications","created_at"],"type":"object"},"Platform.DomainVerification":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"rail":{"description":"Rail name as configured, e.g. primary, backup","minLength":1,"type":"string"},"status":{"enum":["pending","verified","failed"],"type":"string"}},"required":["provider_account_id","rail","status","checked_at"],"type":"object"},"Platform.Entitlement":{"properties":{"active":{"type":"boolean"},"id":{"description":"entitlement id (ent_...)","type":"string"},"limits":{"additionalProperties":{"type":"integer"},"type":"object"},"plan":{"type":"string"},"product":{"type":"string"}},"required":["id","product","plan","limits","active"],"type":"object"},"Platform.FlagState":{"enum":["on","paused","maintenance","off"],"type":"string"},"Platform.InviteMember":{"properties":{"email":{"format":"email","type":"string"},"role":{"enum":["owner","admin","developer","viewer","billing"],"type":"string"}},"required":["email","role"],"type":"object"},"Platform.LaneStatus":{"enum":["operational","degraded","outage","unknown"],"type":"string"},"Platform.Member":{"properties":{"email":{"format":"email","type":"string"},"id":{"description":"membership id (mem_...)","type":"string"},"invited_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"joined_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"role":{"enum":["owner","admin","developer","viewer","billing"],"type":"string"},"user_id":{"description":"user id (usr_...)","type":"string"}},"required":["id","user_id","email","role","invited_at","joined_at"],"type":"object"},"Platform.PatchStream":{"properties":{"name":{"maxLength":120,"minLength":1,"type":"string"}},"type":"object"},"Platform.PatchTemplate":{"properties":{"body_html":{"maxLength":500000,"type":"string"},"body_text":{"maxLength":500000,"type":["string","null"]},"name":{"maxLength":200,"minLength":1,"type":"string"}},"type":"object"},"Platform.PortalSession":{"properties":{"url":{"format":"uri","type":"string"}},"required":["url"],"type":"object"},"Platform.PreflightResult":{"properties":{"affected_products":{"items":{"type":"string"},"type":"array"},"missing_capabilities":{"items":{"type":"string"},"type":"array"},"ok":{"type":"boolean"}},"required":["ok","missing_capabilities","affected_products"],"type":"object"},"Platform.ProductFlag":{"properties":{"blast_radius":{"description":"Products affected, from the dependency graph","items":{"type":"string"},"type":"array"},"key":{"pattern":"^product\\.[a-z][a-z0-9-]*$","type":"string"},"state":{"enum":["on","paused","maintenance","off"],"type":"string"},"tenant_overrides":{"items":{"properties":{"state":{"enum":["on","paused","maintenance","off"],"type":"string"},"tenant_id":{"description":"tenant id (tn_...)","type":"string"}},"required":["tenant_id","state"],"type":"object"},"type":"array"},"updated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"}},"required":["key","state","tenant_overrides","blast_radius","updated_at"],"type":"object"},"Platform.ProviderAccount":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"display_name":{"type":"string"},"health":{"enum":["healthy","degraded","down"],"type":"string"},"id":{"description":"provider account id (pa_...)","type":"string"},"port_families":{"items":{"type":"string"},"type":"array"},"provider":{"type":"string"}},"required":["id","provider","display_name","port_families","health","created_at"],"type":"object"},"Platform.QuotaRegisterRow":{"properties":{"alarm":{"type":["string","null"]},"case_id":{"type":["string","null"]},"kind":{"type":"string"},"name":{"type":"string"},"status":{"enum":["sufficient in dev","request before launch"],"type":"string"}},"required":["name","kind","status","case_id","alarm"],"type":"object"},"Platform.ReputationOverride":{"properties":{"expires_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"reason":{"maxLength":500,"minLength":3,"type":"string"},"state":{"enum":["healthy","warning","throttled","paused"],"type":"string"},"stream_id":{"description":"stream id (str_...)","type":"string"}},"required":["stream_id","state","reason","expires_at"],"type":"object"},"Platform.RoutingPolicy":{"properties":{"adapter":{"type":"string"},"id":{"description":"routing policy id (rp_...)","type":"string"},"port":{"type":"string"},"product":{"type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"stream_id":{"description":"stream id (str_...)","type":["string","null"]},"tenant_id":{"description":"tenant id (tn_...)","type":["string","null"]},"traffic_class":{"type":["string","null"]},"updated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"version":{"minimum":1,"type":"integer"},"weight":{"maximum":100,"minimum":0,"type":"integer"}},"required":["id","port","product","tenant_id","stream_id","traffic_class","adapter","provider_account_id","weight","version","updated_at"],"type":"object"},"Platform.SetFlag":{"properties":{"reason":{"maxLength":500,"minLength":3,"type":"string"},"state":{"enum":["on","paused","maintenance","off"],"type":"string"},"tenant_id":{"description":"Set to override for one tenant only","type":"string"}},"required":["state","reason"],"type":"object"},"Platform.SetTrackingDomain":{"properties":{"tracking_domain":{"maxLength":253,"minLength":3,"type":["string","null"]}},"required":["tracking_domain"],"type":"object"},"Platform.SmtpCredential":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"smtp credential id (smtp_...)","type":"string"},"revoked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"stream_id":{"description":"SMTP credentials bind to one stream (S11)","type":"string"},"username":{"minLength":1,"type":"string"}},"required":["id","username","stream_id","created_at","revoked_at"],"type":"object"},"Platform.StatusIncident":{"properties":{"id":{"type":"string"},"resolved_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"started_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"status":{"enum":["investigating","identified","monitoring","resolved"],"type":"string"},"title":{"type":"string"},"updates":{"items":{"properties":{"at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"text":{"type":"string"}},"required":["at","text"],"type":"object"},"type":"array"}},"required":["id","title","status","started_at","resolved_at","updates"],"type":"object"},"Platform.StatusIncidents":{"properties":{"generated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"incidents":{"items":{"properties":{"id":{"type":"string"},"resolved_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"started_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"status":{"enum":["investigating","identified","monitoring","resolved"],"type":"string"},"title":{"type":"string"},"updates":{"items":{"properties":{"at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"text":{"type":"string"}},"required":["at","text"],"type":"object"},"type":"array"}},"required":["id","title","status","started_at","resolved_at","updates"],"type":"object"},"type":"array"}},"required":["generated_at","incidents"],"type":"object"},"Platform.StatusLevel":{"enum":["operational","degraded","outage"],"type":"string"},"Platform.Stream":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"stream id (str_...)","type":"string"},"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"quotas":{"properties":{"per_day":{"minimum":0,"type":"integer"},"per_second":{"minimum":0,"type":"integer"}},"required":["per_second","per_day"],"type":"object"},"ramp":{"properties":{"active":{"type":"boolean"},"day":{"minimum":0,"type":["integer","null"]}},"required":["active","day"],"type":"object"},"state":{"enum":["healthy","warning","throttled","paused"],"type":"string"}},"required":["id","name","lane","state","quotas","ramp","created_at"],"type":"object"},"Platform.StreamLane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"Platform.StreamState":{"enum":["healthy","warning","throttled","paused"],"type":"string"},"Platform.Suppression":{"properties":{"address_hash":{"description":"HMAC of the address; plaintext never leaves the platform (D8)","type":"string"},"address_masked":{"description":"Masked display form, e.g. j***@example.com","type":"string"},"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"expires_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"id":{"description":"suppression id (sup_...)","type":"string"},"reason":{"enum":["hard_bounce","complaint","manual","unsubscribe","policy"],"type":"string"},"scope":{"enum":["tenant","global"],"type":"string"},"source":{"type":"string"}},"required":["id","address_hash","address_masked","scope","reason","source","expires_at","created_at"],"type":"object"},"Platform.SwitchJob":{"properties":{"from_account":{"description":"provider account id (pa_...)","type":"string"},"id":{"type":"string"},"kind":{"type":"string"},"started_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"state":{"enum":["pending","running","completed","failed"],"type":"string"},"to_account":{"description":"provider account id (pa_...)","type":"string"}},"required":["id","kind","from_account","to_account","state","started_at"],"type":"object"},"Platform.Template":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"template id (tpl_...)","type":"string"},"kind":{"enum":["transactional","campaign","signature"],"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"published_version":{"minimum":1,"type":["integer","null"]},"updated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"version":{"minimum":1,"type":"integer"}},"required":["id","name","kind","version","published_version","created_at","updated_at"],"type":"object"},"Platform.TemplateKind":{"enum":["transactional","campaign","signature"],"type":"string"},"Platform.Tenant":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"tenant id (tn_...)","type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"status":{"enum":["active","suspended"],"type":"string"}},"required":["id","name","created_at","status"],"type":"object"},"Platform.TenantPatch":{"properties":{"name":{"maxLength":200,"minLength":1,"type":"string"}},"type":"object"},"Platform.TtiStatus":{"properties":{"generated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"lanes":{"items":{"properties":{"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"measured_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"p50_seconds":{"minimum":0,"type":["number","null"]},"p95_seconds":{"minimum":0,"type":["number","null"]},"status":{"enum":["operational","degraded","outage","unknown"],"type":"string"}},"required":["lane","status","p50_seconds","p95_seconds","measured_at"],"type":"object"},"type":"array"},"overall":{"enum":["operational","degraded","outage"],"type":"string"}},"required":["generated_at","overall","lanes"],"type":"object"},"Platform.UpsertRoutingPolicy":{"properties":{"adapter":{"type":"string"},"port":{"type":"string"},"product":{"type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"stream_id":{"description":"stream id (str_...)","type":["string","null"]},"tenant_id":{"description":"tenant id (tn_...)","type":["string","null"]},"traffic_class":{"type":["string","null"]},"version":{"minimum":1,"type":"integer"},"weight":{"maximum":100,"minimum":0,"type":"integer"}},"required":["port","product","tenant_id","stream_id","traffic_class","adapter","provider_account_id","weight","version"],"type":"object"},"Platform.UsageSummary":{"properties":{"credits":{"properties":{"balance":{"minimum":0,"type":"integer"},"reserved":{"minimum":0,"type":"integer"}},"required":["balance","reserved"],"type":"object"},"meters":{"items":{"properties":{"meter":{"type":"string"},"quantity":{"minimum":0,"type":"integer"}},"required":["meter","quantity"],"type":"object"},"type":"array"},"period_end":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"period_start":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"}},"required":["period_start","period_end","meters","credits"],"type":"object"}},"securitySchemes":{"apiKeyAuth":{"description":"em_live_/em_test_ API key (S2)","scheme":"bearer","type":"http"},"bearerAuth":{"description":"Clerk session or OAuth 2.1 token","scheme":"bearer","type":"http"}}},"info":{"description":"One OpenAPI document served by many services (ADR 0005). Generated from Zod contracts (C1); do not edit.","title":"Email.com API","version":"v1"},"openapi":"3.1.0","paths":{"/.well-known/openapi.json":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":[]},"operationId":"platform.getOpenApi","responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{},"type":"object"}}},"description":"OpenAPI 3.1 document","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"summary":"The OpenAPI 3.1 document of api.email.com (the P2.4 build output)","tags":["Public"],"x-host":"public","x-scopes":[]}},"/healthz":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":[]},"operationId":"platform.healthz","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"service":{"type":"string"},"status":{"enum":["ok"],"type":"string"}},"required":["status","service"],"type":"object"}}},"description":"OK","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"summary":"Liveness","tags":["Public"],"x-host":"public","x-scopes":[]}},"/v1/api-keys":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["keys:read"]},"operationId":"platform.listApiKeys","parameters":[{"description":"Opaque cursor from a previous page","in":"query","name":"cursor","required":false,"schema":{"description":"Opaque cursor from a previous page","minLength":1,"type":"string"}},{"description":"Page size, at most 100","in":"query","name":"limit","required":false,"schema":{"default":25,"description":"Page size, at most 100","maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Cursor-paginated list","properties":{"items":{"items":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"api key id (key_...)","type":"string"},"ip_allowlist":{"description":"CIDR entries; empty means any","items":{"type":"string"},"type":"array"},"last4":{"maxLength":4,"minLength":4,"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"prefix":{"enum":["em_live_","em_test_"],"type":"string"},"revoked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"scopes":{"items":{"type":"string"},"type":"array"},"stream_id":{"description":"stream id (str_...)","type":["string","null"]}},"required":["id","name","prefix","last4","scopes","stream_id","ip_allowlist","created_at","revoked_at"],"type":"object"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"type":"object"}}},"description":"API keys","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["keys:read"]},{"apiKeyAuth":["keys:read"]}],"summary":"List API keys (hashed; never the raw key)","tags":["ApiKeys"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["keys:read"]},"post":{"meta":{"host":"public","idempotent":true,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["keys:write"]},"operationId":"platform.createApiKey","parameters":[{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","in":"header","name":"idempotency-key","required":true,"schema":{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"ip_allowlist":{"default":[],"items":{"type":"string"},"type":"array"},"mode":{"enum":["live","test"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"scopes":{"items":{"type":"string"},"minItems":1,"type":"array"},"stream_id":{"default":null,"description":"stream id (str_...)","type":["string","null"]}},"required":["name","mode","scopes"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"key":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"api key id (key_...)","type":"string"},"ip_allowlist":{"description":"CIDR entries; empty means any","items":{"type":"string"},"type":"array"},"last4":{"maxLength":4,"minLength":4,"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"prefix":{"enum":["em_live_","em_test_"],"type":"string"},"revoked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"scopes":{"items":{"type":"string"},"type":"array"},"stream_id":{"description":"stream id (str_...)","type":["string","null"]}},"required":["id","name","prefix","last4","scopes","stream_id","ip_allowlist","created_at","revoked_at"],"type":"object"},"raw_key":{"description":"Shown once, never retrievable again","pattern":"^em_(live|test)_[A-Za-z0-9]{32}$","type":"string"}},"required":["key","raw_key"],"type":"object"}}},"description":"Created key with the one-time raw value","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["keys:write"]},{"apiKeyAuth":["keys:write"]}],"summary":"Create an API key; the raw key appears only in this response (S2)","tags":["ApiKeys"],"x-host":"public","x-scopes":["keys:write"]}},"/v1/api-keys/{api_key_id}":{"delete":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["keys:write"]},"operationId":"platform.revokeApiKey","parameters":[{"description":"api key id (key_...)","in":"path","name":"api_key_id","required":true,"schema":{"description":"api key id (key_...)","type":"string"}}],"responses":{"204":{"description":"Revoked","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["keys:write"]},{"apiKeyAuth":["keys:write"]}],"summary":"Revoke an API key","tags":["ApiKeys"],"x-host":"public","x-scopes":["keys:write"]}},"/v1/api-keys/{api_key_id}/rotate":{"post":{"meta":{"host":"public","idempotent":true,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["keys:write"]},"operationId":"platform.rotateApiKey","parameters":[{"description":"api key id (key_...)","in":"path","name":"api_key_id","required":true,"schema":{"description":"api key id (key_...)","type":"string"}},{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","in":"header","name":"idempotency-key","required":true,"schema":{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","maxLength":255,"minLength":1,"type":"string"}}],"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"key":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"api key id (key_...)","type":"string"},"ip_allowlist":{"description":"CIDR entries; empty means any","items":{"type":"string"},"type":"array"},"last4":{"maxLength":4,"minLength":4,"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"prefix":{"enum":["em_live_","em_test_"],"type":"string"},"revoked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"scopes":{"items":{"type":"string"},"type":"array"},"stream_id":{"description":"stream id (str_...)","type":["string","null"]}},"required":["id","name","prefix","last4","scopes","stream_id","ip_allowlist","created_at","revoked_at"],"type":"object"},"raw_key":{"description":"Shown once, never retrievable again","pattern":"^em_(live|test)_[A-Za-z0-9]{32}$","type":"string"}},"required":["key","raw_key"],"type":"object"}}},"description":"Replacement key with the one-time raw value","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["keys:write"]},{"apiKeyAuth":["keys:write"]}],"summary":"Rotate: revoke and mint a replacement in one step","tags":["ApiKeys"],"x-host":"public","x-scopes":["keys:write"]}},"/v1/audit":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["audit:read"]},"operationId":"platform.listAuditEvents","parameters":[{"description":"Opaque cursor from a previous page","in":"query","name":"cursor","required":false,"schema":{"description":"Opaque cursor from a previous page","minLength":1,"type":"string"}},{"description":"Page size, at most 100","in":"query","name":"limit","required":false,"schema":{"default":25,"description":"Page size, at most 100","maximum":100,"minimum":1,"type":"integer"}},{"in":"query","name":"action","required":false,"schema":{"type":"string"}},{"description":"ISO 8601 UTC instant with Z suffix","in":"query","name":"from","required":false,"schema":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"}},{"description":"ISO 8601 UTC instant with Z suffix","in":"query","name":"to","required":false,"schema":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Cursor-paginated list","properties":{"items":{"items":{"properties":{"action":{"type":"string"},"actor":{"type":"string"},"diff":{"additionalProperties":{},"description":"Before/after values pass the same redaction as logs: addresses hashed or masked, never plaintext (D8)","type":["object","null"]},"id":{"description":"audit event id (aud_ev_...)","type":"string"},"occurred_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"subject":{"properties":{"id":{"type":"string"},"kind":{"type":"string"}},"required":["kind","id"],"type":"object"},"tenant_id":{"description":"tenant id (tn_...)","type":["string","null"]}},"required":["id","actor","action","subject","tenant_id","occurred_at","diff"],"type":"object"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"type":"object"}}},"description":"Audit events","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["audit:read"]},{"apiKeyAuth":["audit:read"]}],"summary":"List this tenant audit events (newest first)","tags":["Audit"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["audit:read"]}},"/v1/billing/entitlements":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["billing:read"]},"operationId":"platform.listEntitlements","parameters":[{"description":"Opaque cursor from a previous page","in":"query","name":"cursor","required":false,"schema":{"description":"Opaque cursor from a previous page","minLength":1,"type":"string"}},{"description":"Page size, at most 100","in":"query","name":"limit","required":false,"schema":{"default":25,"description":"Page size, at most 100","maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Cursor-paginated list","properties":{"items":{"items":{"properties":{"active":{"type":"boolean"},"id":{"description":"entitlement id (ent_...)","type":"string"},"limits":{"additionalProperties":{"type":"integer"},"type":"object"},"plan":{"type":"string"},"product":{"type":"string"}},"required":["id","product","plan","limits","active"],"type":"object"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"type":"object"}}},"description":"Entitlements","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["billing:read"]},{"apiKeyAuth":["billing:read"]}],"summary":"Active entitlements per product","tags":["Billing"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["billing:read"]}},"/v1/billing/portal-session":{"post":{"meta":{"host":"public","idempotent":true,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["billing:write"]},"operationId":"platform.createPortalSession","parameters":[{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","in":"header","name":"idempotency-key","required":true,"schema":{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","maxLength":255,"minLength":1,"type":"string"}}],"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"url":{"format":"uri","type":"string"}},"required":["url"],"type":"object"}}},"description":"Portal session","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["billing:write"]},{"apiKeyAuth":["billing:write"]}],"summary":"Create a Stripe customer portal session","tags":["Billing"],"x-host":"public","x-scopes":["billing:write"]}},"/v1/billing/usage":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["billing:read"]},"operationId":"platform.getUsage","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"credits":{"properties":{"balance":{"minimum":0,"type":"integer"},"reserved":{"minimum":0,"type":"integer"}},"required":["balance","reserved"],"type":"object"},"meters":{"items":{"properties":{"meter":{"type":"string"},"quantity":{"minimum":0,"type":"integer"}},"required":["meter","quantity"],"type":"object"},"type":"array"},"period_end":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"period_start":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"}},"required":["period_start","period_end","meters","credits"],"type":"object"}}},"description":"Usage summary","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["billing:read"]},{"apiKeyAuth":["billing:read"]}],"summary":"Usage meters and credit balance for the current period","tags":["Billing"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["billing:read"]}},"/v1/domains":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["domains:read"]},"operationId":"platform.listDomains","parameters":[{"description":"Opaque cursor from a previous page","in":"query","name":"cursor","required":false,"schema":{"description":"Opaque cursor from a previous page","minLength":1,"type":"string"}},{"description":"Page size, at most 100","in":"query","name":"limit","required":false,"schema":{"default":25,"description":"Page size, at most 100","maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Cursor-paginated list","properties":{"items":{"items":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"dns_bundle":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"name":{"minLength":1,"type":"string"},"priority":{"description":"MX preference; null for TXT/CNAME","maximum":65535,"minimum":0,"type":["integer","null"]},"purpose":{"enum":["dkim","spf","tracking","inbound","dmarc","bimi","verification"],"type":"string"},"rail":{"description":"Rail name when the record exists for one rail only (dkimImport=false second selector)","minLength":1,"type":["string","null"]},"status":{"enum":["pending","verified","failed"],"type":"string"},"type":{"enum":["TXT","CNAME","MX"],"type":"string"},"value":{"minLength":1,"type":"string"}},"required":["type","name","value","priority","purpose","rail","status","checked_at"],"type":"object"},"type":"array"},"domain":{"maxLength":253,"minLength":3,"type":"string"},"id":{"description":"domain identity id (dom_...)","type":"string"},"tracking_domain":{"maxLength":253,"minLength":3,"type":["string","null"]},"verifications":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"rail":{"description":"Rail name as configured, e.g. primary, backup","minLength":1,"type":"string"},"status":{"enum":["pending","verified","failed"],"type":"string"}},"required":["provider_account_id","rail","status","checked_at"],"type":"object"},"type":"array"}},"required":["id","domain","tracking_domain","dns_bundle","verifications","created_at"],"type":"object"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"type":"object"}}},"description":"Domains","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["domains:read"]},{"apiKeyAuth":["domains:read"]}],"summary":"List sending domains","tags":["Domains"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["domains:read"]},"post":{"meta":{"host":"public","idempotent":true,"internal":false,"mcp":{"approval":"required","readOnly":false,"tool":true},"scopes":["domains:write"]},"operationId":"platform.createDomain","parameters":[{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","in":"header","name":"idempotency-key","required":true,"schema":{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"domain":{"maxLength":253,"minLength":3,"type":"string"}},"required":["domain"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"dns_bundle":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"name":{"minLength":1,"type":"string"},"priority":{"description":"MX preference; null for TXT/CNAME","maximum":65535,"minimum":0,"type":["integer","null"]},"purpose":{"enum":["dkim","spf","tracking","inbound","dmarc","bimi","verification"],"type":"string"},"rail":{"description":"Rail name when the record exists for one rail only (dkimImport=false second selector)","minLength":1,"type":["string","null"]},"status":{"enum":["pending","verified","failed"],"type":"string"},"type":{"enum":["TXT","CNAME","MX"],"type":"string"},"value":{"minLength":1,"type":"string"}},"required":["type","name","value","priority","purpose","rail","status","checked_at"],"type":"object"},"type":"array"},"domain":{"maxLength":253,"minLength":3,"type":"string"},"id":{"description":"domain identity id (dom_...)","type":"string"},"tracking_domain":{"maxLength":253,"minLength":3,"type":["string","null"]},"verifications":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"rail":{"description":"Rail name as configured, e.g. primary, backup","minLength":1,"type":"string"},"status":{"enum":["pending","verified","failed"],"type":"string"}},"required":["provider_account_id","rail","status","checked_at"],"type":"object"},"type":"array"}},"required":["id","domain","tracking_domain","dns_bundle","verifications","created_at"],"type":"object"}}},"description":"Domain with DNS records to publish","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["domains:write"]},{"apiKeyAuth":["domains:write"]}],"summary":"Add a domain; returns the DNS bundle per rail","tags":["Domains"],"x-host":"public","x-mcp":{"approval":"required","readOnly":false,"tool":true},"x-scopes":["domains:write"]}},"/v1/domains/{domain_id}":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["domains:read"]},"operationId":"platform.getDomain","parameters":[{"description":"domain identity id (dom_...)","in":"path","name":"domain_id","required":true,"schema":{"description":"domain identity id (dom_...)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"dns_bundle":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"name":{"minLength":1,"type":"string"},"priority":{"description":"MX preference; null for TXT/CNAME","maximum":65535,"minimum":0,"type":["integer","null"]},"purpose":{"enum":["dkim","spf","tracking","inbound","dmarc","bimi","verification"],"type":"string"},"rail":{"description":"Rail name when the record exists for one rail only (dkimImport=false second selector)","minLength":1,"type":["string","null"]},"status":{"enum":["pending","verified","failed"],"type":"string"},"type":{"enum":["TXT","CNAME","MX"],"type":"string"},"value":{"minLength":1,"type":"string"}},"required":["type","name","value","priority","purpose","rail","status","checked_at"],"type":"object"},"type":"array"},"domain":{"maxLength":253,"minLength":3,"type":"string"},"id":{"description":"domain identity id (dom_...)","type":"string"},"tracking_domain":{"maxLength":253,"minLength":3,"type":["string","null"]},"verifications":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"rail":{"description":"Rail name as configured, e.g. primary, backup","minLength":1,"type":"string"},"status":{"enum":["pending","verified","failed"],"type":"string"}},"required":["provider_account_id","rail","status","checked_at"],"type":"object"},"type":"array"}},"required":["id","domain","tracking_domain","dns_bundle","verifications","created_at"],"type":"object"}}},"description":"Domain","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["domains:read"]},{"apiKeyAuth":["domains:read"]}],"summary":"One domain with verification state per provider account","tags":["Domains"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["domains:read"]}},"/v1/domains/{domain_id}/rotate-dkim":{"post":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"required","readOnly":false,"tool":true},"scopes":["domains:write"]},"operationId":"platform.rotateDkim","parameters":[{"description":"domain identity id (dom_...)","in":"path","name":"domain_id","required":true,"schema":{"description":"domain identity id (dom_...)","type":"string"}}],"responses":{"202":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"dns_bundle":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"name":{"minLength":1,"type":"string"},"priority":{"description":"MX preference; null for TXT/CNAME","maximum":65535,"minimum":0,"type":["integer","null"]},"purpose":{"enum":["dkim","spf","tracking","inbound","dmarc","bimi","verification"],"type":"string"},"rail":{"description":"Rail name when the record exists for one rail only (dkimImport=false second selector)","minLength":1,"type":["string","null"]},"status":{"enum":["pending","verified","failed"],"type":"string"},"type":{"enum":["TXT","CNAME","MX"],"type":"string"},"value":{"minLength":1,"type":"string"}},"required":["type","name","value","priority","purpose","rail","status","checked_at"],"type":"object"},"type":"array"},"domain":{"maxLength":253,"minLength":3,"type":"string"},"id":{"description":"domain identity id (dom_...)","type":"string"},"tracking_domain":{"maxLength":253,"minLength":3,"type":["string","null"]},"verifications":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"rail":{"description":"Rail name as configured, e.g. primary, backup","minLength":1,"type":"string"},"status":{"enum":["pending","verified","failed"],"type":"string"}},"required":["provider_account_id","rail","status","checked_at"],"type":"object"},"type":"array"}},"required":["id","domain","tracking_domain","dns_bundle","verifications","created_at"],"type":"object"}}},"description":"Rotation started; new records in the bundle","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["domains:write"]},{"apiKeyAuth":["domains:write"]}],"summary":"Rotate DKIM keys (S8: DNS change)","tags":["Domains"],"x-host":"public","x-mcp":{"approval":"required","readOnly":false,"tool":true},"x-scopes":["domains:write"]}},"/v1/domains/{domain_id}/tracking-domain":{"post":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"required","readOnly":false,"tool":true},"scopes":["domains:write"]},"operationId":"platform.setTrackingDomain","parameters":[{"description":"domain identity id (dom_...)","in":"path","name":"domain_id","required":true,"schema":{"description":"domain identity id (dom_...)","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"tracking_domain":{"maxLength":253,"minLength":3,"type":["string","null"]}},"required":["tracking_domain"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"dns_bundle":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"name":{"minLength":1,"type":"string"},"priority":{"description":"MX preference; null for TXT/CNAME","maximum":65535,"minimum":0,"type":["integer","null"]},"purpose":{"enum":["dkim","spf","tracking","inbound","dmarc","bimi","verification"],"type":"string"},"rail":{"description":"Rail name when the record exists for one rail only (dkimImport=false second selector)","minLength":1,"type":["string","null"]},"status":{"enum":["pending","verified","failed"],"type":"string"},"type":{"enum":["TXT","CNAME","MX"],"type":"string"},"value":{"minLength":1,"type":"string"}},"required":["type","name","value","priority","purpose","rail","status","checked_at"],"type":"object"},"type":"array"},"domain":{"maxLength":253,"minLength":3,"type":"string"},"id":{"description":"domain identity id (dom_...)","type":"string"},"tracking_domain":{"maxLength":253,"minLength":3,"type":["string","null"]},"verifications":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"rail":{"description":"Rail name as configured, e.g. primary, backup","minLength":1,"type":"string"},"status":{"enum":["pending","verified","failed"],"type":"string"}},"required":["provider_account_id","rail","status","checked_at"],"type":"object"},"type":"array"}},"required":["id","domain","tracking_domain","dns_bundle","verifications","created_at"],"type":"object"}}},"description":"Domain","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["domains:write"]},{"apiKeyAuth":["domains:write"]}],"summary":"Set or clear the tracking domain (S8: DNS change)","tags":["Domains"],"x-host":"public","x-mcp":{"approval":"required","readOnly":false,"tool":true},"x-scopes":["domains:write"]}},"/v1/domains/{domain_id}/verify":{"post":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["domains:write"]},"operationId":"platform.verifyDomain","parameters":[{"description":"domain identity id (dom_...)","in":"path","name":"domain_id","required":true,"schema":{"description":"domain identity id (dom_...)","type":"string"}}],"responses":{"202":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"dns_bundle":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"name":{"minLength":1,"type":"string"},"priority":{"description":"MX preference; null for TXT/CNAME","maximum":65535,"minimum":0,"type":["integer","null"]},"purpose":{"enum":["dkim","spf","tracking","inbound","dmarc","bimi","verification"],"type":"string"},"rail":{"description":"Rail name when the record exists for one rail only (dkimImport=false second selector)","minLength":1,"type":["string","null"]},"status":{"enum":["pending","verified","failed"],"type":"string"},"type":{"enum":["TXT","CNAME","MX"],"type":"string"},"value":{"minLength":1,"type":"string"}},"required":["type","name","value","priority","purpose","rail","status","checked_at"],"type":"object"},"type":"array"},"domain":{"maxLength":253,"minLength":3,"type":"string"},"id":{"description":"domain identity id (dom_...)","type":"string"},"tracking_domain":{"maxLength":253,"minLength":3,"type":["string","null"]},"verifications":{"items":{"properties":{"checked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"provider_account_id":{"description":"provider account id (pa_...)","type":"string"},"rail":{"description":"Rail name as configured, e.g. primary, backup","minLength":1,"type":"string"},"status":{"enum":["pending","verified","failed"],"type":"string"}},"required":["provider_account_id","rail","status","checked_at"],"type":"object"},"type":"array"}},"required":["id","domain","tracking_domain","dns_bundle","verifications","created_at"],"type":"object"}}},"description":"Verification queued","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["domains:write"]},{"apiKeyAuth":["domains:write"]}],"summary":"Trigger a verification check","tags":["Domains"],"x-host":"public","x-scopes":["domains:write"]}},"/v1/smtp-credentials":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["keys:read"]},"operationId":"platform.listSmtpCredentials","parameters":[{"description":"Opaque cursor from a previous page","in":"query","name":"cursor","required":false,"schema":{"description":"Opaque cursor from a previous page","minLength":1,"type":"string"}},{"description":"Page size, at most 100","in":"query","name":"limit","required":false,"schema":{"default":25,"description":"Page size, at most 100","maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Cursor-paginated list","properties":{"items":{"items":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"smtp credential id (smtp_...)","type":"string"},"revoked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"stream_id":{"description":"SMTP credentials bind to one stream (S11)","type":"string"},"username":{"minLength":1,"type":"string"}},"required":["id","username","stream_id","created_at","revoked_at"],"type":"object"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"type":"object"}}},"description":"Credentials","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["keys:read"]},{"apiKeyAuth":["keys:read"]}],"summary":"List SMTP credentials","tags":["SmtpCredentials"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["keys:read"]},"post":{"meta":{"host":"public","idempotent":true,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["keys:write"]},"operationId":"platform.createSmtpCredential","parameters":[{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","in":"header","name":"idempotency-key","required":true,"schema":{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"stream_id":{"description":"stream id (str_...)","type":"string"}},"required":["stream_id"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"credential":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"smtp credential id (smtp_...)","type":"string"},"revoked_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"stream_id":{"description":"SMTP credentials bind to one stream (S11)","type":"string"},"username":{"minLength":1,"type":"string"}},"required":["id","username","stream_id","created_at","revoked_at"],"type":"object"},"password":{"description":"Shown once, never retrievable again","minLength":16,"type":"string"}},"required":["credential","password"],"type":"object"}}},"description":"Credential with the one-time password","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["keys:write"]},{"apiKeyAuth":["keys:write"]}],"summary":"Create an SMTP credential bound to a stream (S11)","tags":["SmtpCredentials"],"x-host":"public","x-scopes":["keys:write"]}},"/v1/smtp-credentials/{smtp_credential_id}":{"delete":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["keys:write"]},"operationId":"platform.revokeSmtpCredential","parameters":[{"description":"smtp credential id (smtp_...)","in":"path","name":"smtp_credential_id","required":true,"schema":{"description":"smtp credential id (smtp_...)","type":"string"}}],"responses":{"204":{"description":"Revoked","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["keys:write"]},{"apiKeyAuth":["keys:write"]}],"summary":"Revoke an SMTP credential","tags":["SmtpCredentials"],"x-host":"public","x-scopes":["keys:write"]}},"/v1/streams":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["streams:read"]},"operationId":"platform.listStreams","parameters":[{"description":"Opaque cursor from a previous page","in":"query","name":"cursor","required":false,"schema":{"description":"Opaque cursor from a previous page","minLength":1,"type":"string"}},{"description":"Page size, at most 100","in":"query","name":"limit","required":false,"schema":{"default":25,"description":"Page size, at most 100","maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Cursor-paginated list","properties":{"items":{"items":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"stream id (str_...)","type":"string"},"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"quotas":{"properties":{"per_day":{"minimum":0,"type":"integer"},"per_second":{"minimum":0,"type":"integer"}},"required":["per_second","per_day"],"type":"object"},"ramp":{"properties":{"active":{"type":"boolean"},"day":{"minimum":0,"type":["integer","null"]}},"required":["active","day"],"type":"object"},"state":{"enum":["healthy","warning","throttled","paused"],"type":"string"}},"required":["id","name","lane","state","quotas","ramp","created_at"],"type":"object"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"type":"object"}}},"description":"Streams","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["streams:read"]},{"apiKeyAuth":["streams:read"]}],"summary":"List streams","tags":["Streams"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["streams:read"]},"post":{"meta":{"host":"public","idempotent":true,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":true},"scopes":["streams:write"]},"operationId":"platform.createStream","parameters":[{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","in":"header","name":"idempotency-key","required":true,"schema":{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"}},"required":["name","lane"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"stream id (str_...)","type":"string"},"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"quotas":{"properties":{"per_day":{"minimum":0,"type":"integer"},"per_second":{"minimum":0,"type":"integer"}},"required":["per_second","per_day"],"type":"object"},"ramp":{"properties":{"active":{"type":"boolean"},"day":{"minimum":0,"type":["integer","null"]}},"required":["active","day"],"type":"object"},"state":{"enum":["healthy","warning","throttled","paused"],"type":"string"}},"required":["id","name","lane","state","quotas","ramp","created_at"],"type":"object"}}},"description":"Created stream","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["streams:write"]},{"apiKeyAuth":["streams:write"]}],"summary":"Create a stream","tags":["Streams"],"x-host":"public","x-mcp":{"approval":"none","readOnly":false,"tool":true},"x-scopes":["streams:write"]}},"/v1/streams/{stream_id}":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["streams:read"]},"operationId":"platform.getStream","parameters":[{"description":"stream id (str_...)","in":"path","name":"stream_id","required":true,"schema":{"description":"stream id (str_...)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"stream id (str_...)","type":"string"},"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"quotas":{"properties":{"per_day":{"minimum":0,"type":"integer"},"per_second":{"minimum":0,"type":"integer"}},"required":["per_second","per_day"],"type":"object"},"ramp":{"properties":{"active":{"type":"boolean"},"day":{"minimum":0,"type":["integer","null"]}},"required":["active","day"],"type":"object"},"state":{"enum":["healthy","warning","throttled","paused"],"type":"string"}},"required":["id","name","lane","state","quotas","ramp","created_at"],"type":"object"}}},"description":"Stream","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["streams:read"]},{"apiKeyAuth":["streams:read"]}],"summary":"One stream","tags":["Streams"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["streams:read"]},"patch":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["streams:write"]},"operationId":"platform.updateStream","parameters":[{"description":"stream id (str_...)","in":"path","name":"stream_id","required":true,"schema":{"description":"stream id (str_...)","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"maxLength":120,"minLength":1,"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"stream id (str_...)","type":"string"},"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"quotas":{"properties":{"per_day":{"minimum":0,"type":"integer"},"per_second":{"minimum":0,"type":"integer"}},"required":["per_second","per_day"],"type":"object"},"ramp":{"properties":{"active":{"type":"boolean"},"day":{"minimum":0,"type":["integer","null"]}},"required":["active","day"],"type":"object"},"state":{"enum":["healthy","warning","throttled","paused"],"type":"string"}},"required":["id","name","lane","state","quotas","ramp","created_at"],"type":"object"}}},"description":"Updated stream","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["streams:write"]},{"apiKeyAuth":["streams:write"]}],"summary":"Update a stream","tags":["Streams"],"x-host":"public","x-scopes":["streams:write"]}},"/v1/streams/{stream_id}/pause":{"post":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"required","readOnly":false,"tool":true},"scopes":["streams:write"]},"operationId":"platform.pauseStream","parameters":[{"description":"stream id (str_...)","in":"path","name":"stream_id","required":true,"schema":{"description":"stream id (str_...)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"stream id (str_...)","type":"string"},"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"quotas":{"properties":{"per_day":{"minimum":0,"type":"integer"},"per_second":{"minimum":0,"type":"integer"}},"required":["per_second","per_day"],"type":"object"},"ramp":{"properties":{"active":{"type":"boolean"},"day":{"minimum":0,"type":["integer","null"]}},"required":["active","day"],"type":"object"},"state":{"enum":["healthy","warning","throttled","paused"],"type":"string"}},"required":["id","name","lane","state","quotas","ramp","created_at"],"type":"object"}}},"description":"Paused stream","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["streams:write"]},{"apiKeyAuth":["streams:write"]}],"summary":"Pause a stream (audited; S8 for broadcast lanes)","tags":["Streams"],"x-host":"public","x-mcp":{"approval":"required","readOnly":false,"tool":true},"x-scopes":["streams:write"]}},"/v1/streams/{stream_id}/resume":{"post":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"required","readOnly":false,"tool":true},"scopes":["streams:write"]},"operationId":"platform.resumeStream","parameters":[{"description":"stream id (str_...)","in":"path","name":"stream_id","required":true,"schema":{"description":"stream id (str_...)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"stream id (str_...)","type":"string"},"lane":{"enum":["transactional","broadcast","test","inbound"],"type":"string"},"name":{"maxLength":120,"minLength":1,"type":"string"},"quotas":{"properties":{"per_day":{"minimum":0,"type":"integer"},"per_second":{"minimum":0,"type":"integer"}},"required":["per_second","per_day"],"type":"object"},"ramp":{"properties":{"active":{"type":"boolean"},"day":{"minimum":0,"type":["integer","null"]}},"required":["active","day"],"type":"object"},"state":{"enum":["healthy","warning","throttled","paused"],"type":"string"}},"required":["id","name","lane","state","quotas","ramp","created_at"],"type":"object"}}},"description":"Resumed stream","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["streams:write"]},{"apiKeyAuth":["streams:write"]}],"summary":"Resume a stream (audited)","tags":["Streams"],"x-host":"public","x-mcp":{"approval":"required","readOnly":false,"tool":true},"x-scopes":["streams:write"]}},"/v1/suppressions":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["suppressions:read"]},"operationId":"platform.listSuppressions","parameters":[{"description":"Opaque cursor from a previous page","in":"query","name":"cursor","required":false,"schema":{"description":"Opaque cursor from a previous page","minLength":1,"type":"string"}},{"description":"Page size, at most 100","in":"query","name":"limit","required":false,"schema":{"default":25,"description":"Page size, at most 100","maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Cursor-paginated list","properties":{"items":{"items":{"properties":{"address_hash":{"description":"HMAC of the address; plaintext never leaves the platform (D8)","type":"string"},"address_masked":{"description":"Masked display form, e.g. j***@example.com","type":"string"},"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"expires_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"id":{"description":"suppression id (sup_...)","type":"string"},"reason":{"enum":["hard_bounce","complaint","manual","unsubscribe","policy"],"type":"string"},"scope":{"enum":["tenant","global"],"type":"string"},"source":{"type":"string"}},"required":["id","address_hash","address_masked","scope","reason","source","expires_at","created_at"],"type":"object"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"type":"object"}}},"description":"Suppressions","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["suppressions:read"]},{"apiKeyAuth":["suppressions:read"]}],"summary":"List suppressions (tenant entries plus read-only global entries)","tags":["Suppressions"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["suppressions:read"]},"post":{"meta":{"host":"public","idempotent":true,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":true},"scopes":["suppressions:write"]},"operationId":"platform.createSuppression","parameters":[{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","in":"header","name":"idempotency-key","required":true,"schema":{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"address":{"description":"Accepted on input; stored hashed","format":"email","type":"string"},"reason":{"default":"manual","enum":["manual"],"type":"string"}},"required":["address"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"address_hash":{"description":"HMAC of the address; plaintext never leaves the platform (D8)","type":"string"},"address_masked":{"description":"Masked display form, e.g. j***@example.com","type":"string"},"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"expires_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"id":{"description":"suppression id (sup_...)","type":"string"},"reason":{"enum":["hard_bounce","complaint","manual","unsubscribe","policy"],"type":"string"},"scope":{"enum":["tenant","global"],"type":"string"},"source":{"type":"string"}},"required":["id","address_hash","address_masked","scope","reason","source","expires_at","created_at"],"type":"object"}}},"description":"Created suppression","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["suppressions:write"]},{"apiKeyAuth":["suppressions:write"]}],"summary":"Suppress an address for this tenant","tags":["Suppressions"],"x-host":"public","x-mcp":{"approval":"none","readOnly":false,"tool":true},"x-scopes":["suppressions:write"]}},"/v1/suppressions/{suppression_id}":{"delete":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["suppressions:write"]},"operationId":"platform.deleteSuppression","parameters":[{"description":"suppression id (sup_...)","in":"path","name":"suppression_id","required":true,"schema":{"description":"suppression id (sup_...)","type":"string"}}],"responses":{"204":{"description":"Removed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["suppressions:write"]},{"apiKeyAuth":["suppressions:write"]}],"summary":"Remove a tenant suppression (global entries cannot be removed here)","tags":["Suppressions"],"x-host":"public","x-scopes":["suppressions:write"]}},"/v1/templates":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["templates:read"]},"operationId":"platform.listTemplates","parameters":[{"description":"Opaque cursor from a previous page","in":"query","name":"cursor","required":false,"schema":{"description":"Opaque cursor from a previous page","minLength":1,"type":"string"}},{"description":"Page size, at most 100","in":"query","name":"limit","required":false,"schema":{"default":25,"description":"Page size, at most 100","maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Cursor-paginated list","properties":{"items":{"items":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"template id (tpl_...)","type":"string"},"kind":{"enum":["transactional","campaign","signature"],"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"published_version":{"minimum":1,"type":["integer","null"]},"updated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"version":{"minimum":1,"type":"integer"}},"required":["id","name","kind","version","published_version","created_at","updated_at"],"type":"object"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"type":"object"}}},"description":"Templates","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["templates:read"]},{"apiKeyAuth":["templates:read"]}],"summary":"List templates","tags":["Templates"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["templates:read"]},"post":{"meta":{"host":"public","idempotent":true,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":true},"scopes":["templates:write"]},"operationId":"platform.createTemplate","parameters":[{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","in":"header","name":"idempotency-key","required":true,"schema":{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"body_html":{"maxLength":500000,"type":"string"},"body_text":{"default":null,"maxLength":500000,"type":["string","null"]},"kind":{"enum":["transactional","campaign","signature"],"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"}},"required":["name","kind","body_html"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"template id (tpl_...)","type":"string"},"kind":{"enum":["transactional","campaign","signature"],"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"published_version":{"minimum":1,"type":["integer","null"]},"updated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"version":{"minimum":1,"type":"integer"}},"required":["id","name","kind","version","published_version","created_at","updated_at"],"type":"object"}}},"description":"Created template","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["templates:write"]},{"apiKeyAuth":["templates:write"]}],"summary":"Create a template","tags":["Templates"],"x-host":"public","x-mcp":{"approval":"none","readOnly":false,"tool":true},"x-scopes":["templates:write"]}},"/v1/templates/{template_id}":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["templates:read"]},"operationId":"platform.getTemplate","parameters":[{"description":"template id (tpl_...)","in":"path","name":"template_id","required":true,"schema":{"description":"template id (tpl_...)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"template id (tpl_...)","type":"string"},"kind":{"enum":["transactional","campaign","signature"],"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"published_version":{"minimum":1,"type":["integer","null"]},"updated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"version":{"minimum":1,"type":"integer"}},"required":["id","name","kind","version","published_version","created_at","updated_at"],"type":"object"}}},"description":"Template","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["templates:read"]},{"apiKeyAuth":["templates:read"]}],"summary":"One template","tags":["Templates"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["templates:read"]},"patch":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["templates:write"]},"operationId":"platform.updateTemplate","parameters":[{"description":"template id (tpl_...)","in":"path","name":"template_id","required":true,"schema":{"description":"template id (tpl_...)","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"body_html":{"maxLength":500000,"type":"string"},"body_text":{"maxLength":500000,"type":["string","null"]},"name":{"maxLength":200,"minLength":1,"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"template id (tpl_...)","type":"string"},"kind":{"enum":["transactional","campaign","signature"],"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"published_version":{"minimum":1,"type":["integer","null"]},"updated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"version":{"minimum":1,"type":"integer"}},"required":["id","name","kind","version","published_version","created_at","updated_at"],"type":"object"}}},"description":"Updated template","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["templates:write"]},{"apiKeyAuth":["templates:write"]}],"summary":"Update a template draft","tags":["Templates"],"x-host":"public","x-scopes":["templates:write"]}},"/v1/templates/{template_id}/publish":{"post":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":true},"scopes":["templates:write"]},"operationId":"platform.publishTemplate","parameters":[{"description":"template id (tpl_...)","in":"path","name":"template_id","required":true,"schema":{"description":"template id (tpl_...)","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"template id (tpl_...)","type":"string"},"kind":{"enum":["transactional","campaign","signature"],"type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"published_version":{"minimum":1,"type":["integer","null"]},"updated_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"version":{"minimum":1,"type":"integer"}},"required":["id","name","kind","version","published_version","created_at","updated_at"],"type":"object"}}},"description":"Published template","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["templates:write"]},{"apiKeyAuth":["templates:write"]}],"summary":"Publish the current draft version","tags":["Templates"],"x-host":"public","x-mcp":{"approval":"none","readOnly":false,"tool":true},"x-scopes":["templates:write"]}},"/v1/tenants/me":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["tenant:read"]},"operationId":"platform.getTenant","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"tenant id (tn_...)","type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"status":{"enum":["active","suspended"],"type":"string"}},"required":["id","name","created_at","status"],"type":"object"}}},"description":"Tenant","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["tenant:read"]},{"apiKeyAuth":["tenant:read"]}],"summary":"The calling tenant","tags":["Tenants"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["tenant:read"]},"patch":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["tenant:write"]},"operationId":"platform.updateTenant","requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"maxLength":200,"minLength":1,"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"created_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"id":{"description":"tenant id (tn_...)","type":"string"},"name":{"maxLength":200,"minLength":1,"type":"string"},"status":{"enum":["active","suspended"],"type":"string"}},"required":["id","name","created_at","status"],"type":"object"}}},"description":"Updated tenant","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["tenant:write"]},{"apiKeyAuth":["tenant:write"]}],"summary":"Update tenant settings","tags":["Tenants"],"x-host":"public","x-scopes":["tenant:write"]}},"/v1/tenants/me/members":{"get":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":true,"tool":true},"scopes":["tenant:read"]},"operationId":"platform.listMembers","parameters":[{"description":"Opaque cursor from a previous page","in":"query","name":"cursor","required":false,"schema":{"description":"Opaque cursor from a previous page","minLength":1,"type":"string"}},{"description":"Page size, at most 100","in":"query","name":"limit","required":false,"schema":{"default":25,"description":"Page size, at most 100","maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Cursor-paginated list","properties":{"items":{"items":{"properties":{"email":{"format":"email","type":"string"},"id":{"description":"membership id (mem_...)","type":"string"},"invited_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"joined_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"role":{"enum":["owner","admin","developer","viewer","billing"],"type":"string"},"user_id":{"description":"user id (usr_...)","type":"string"}},"required":["id","user_id","email","role","invited_at","joined_at"],"type":"object"},"type":"array"},"next_cursor":{"type":["string","null"]}},"required":["items","next_cursor"],"type":"object"}}},"description":"Members","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["tenant:read"]},{"apiKeyAuth":["tenant:read"]}],"summary":"List members","tags":["Tenants"],"x-host":"public","x-mcp":{"approval":"none","readOnly":true,"tool":true},"x-scopes":["tenant:read"]},"post":{"meta":{"host":"public","idempotent":true,"internal":false,"mcp":{"approval":"required","readOnly":false,"tool":true},"scopes":["team:write"]},"operationId":"platform.inviteMember","parameters":[{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","in":"header","name":"idempotency-key","required":true,"schema":{"description":"Client-chosen key; replays within 24h return the original response, a different body returns 409 idempotency_mismatch","maxLength":255,"minLength":1,"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"format":"email","type":"string"},"role":{"enum":["owner","admin","developer","viewer","billing"],"type":"string"}},"required":["email","role"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"email":{"format":"email","type":"string"},"id":{"description":"membership id (mem_...)","type":"string"},"invited_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":"string"},"joined_at":{"description":"ISO 8601 UTC instant with Z suffix","format":"date-time","type":["string","null"]},"role":{"enum":["owner","admin","developer","viewer","billing"],"type":"string"},"user_id":{"description":"user id (usr_...)","type":"string"}},"required":["id","user_id","email","role","invited_at","joined_at"],"type":"object"}}},"description":"Invited member","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["team:write"]},{"apiKeyAuth":["team:write"]}],"summary":"Invite a member (S8: grants a human durable tenant access, up to owner)","tags":["Tenants"],"x-host":"public","x-mcp":{"approval":"required","readOnly":false,"tool":true},"x-scopes":["team:write"]}},"/v1/tenants/me/members/{member_id}":{"delete":{"meta":{"host":"public","idempotent":false,"internal":false,"mcp":{"approval":"none","readOnly":false,"tool":false},"scopes":["team:write"]},"operationId":"platform.removeMember","parameters":[{"description":"membership id (mem_...)","in":"path","name":"member_id","required":true,"schema":{"description":"membership id (mem_...)","type":"string"}}],"responses":{"204":{"description":"Removed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"400":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Malformed request (unparseable body, bad content type)","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"401":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Authentication required","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"403":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Forbidden","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"404":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Not found","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"409":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Conflict","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"422":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Validation failed","headers":{"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"429":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Rate limit exceeded","headers":{"RateLimit-Limit":{"description":"Requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}},"503":{"content":{"application/problem+json":{"schema":{"description":"RFC 9457 Problem Details","properties":{"detail":{"type":"string"},"errors":{"items":{"properties":{"message":{"type":"string"},"path":{"type":"string"}},"required":["path","message"],"type":"object"},"type":"array"},"instance":{"type":"string"},"reason_codes":{"items":{"type":"string"},"type":"array"},"request_id":{"type":"string"},"status":{"maximum":599,"minimum":100,"type":"integer"},"title":{"type":"string"},"type":{"format":"uri","type":"string"}},"required":["type","title","status"],"type":"object"}}},"description":"Product is disabled","headers":{"Retry-After":{"description":"Seconds to wait before retrying (429/503)","schema":{"type":"string"}},"X-Request-Id":{"description":"Echoed request id; generated when the request carried none (C8)","schema":{"type":"string"}}}}},"security":[{"bearerAuth":["team:write"]},{"apiKeyAuth":["team:write"]}],"summary":"Remove a member","tags":["Tenants"],"x-host":"public","x-scopes":["team:write"]}}},"servers":[{"url":"https://api.email.com"}],"webhooks":{}}