{"openapi":"3.1.0","info":{"title":"Steep & Squeeze Agent Inquiry API","version":"1.0.0","description":"Anonymous public event inquiry intake, shared with the remote MCP endpoint. New leads only, no private record access. Maximum JSON body 32 KiB. HTTPS server clients need no Origin or cookies; browser requests must be same origin. No cross-origin browser CORS access. Never infer customer approval from a tool call. Only status:accepted and submitted:true confirms saving; email delivery is asynchronous."},"servers":[{"url":"https://steepandsqueeze.com"}],"security":[],"x-inquiry-status":"open","x-mcp-url":"https://steepandsqueeze.com/mcp","paths":{"/api/agent/inquiries/prepare":{"post":{"operationId":"prepareEventInquiry","summary":"Prepare an event brief for customer review","description":"Accepts partial customer information, reports invalid or missing fields and returns a reviewToken only for a complete brief. No inquiry or email is created. Review tokens expire after 30 minutes. Show the normalized brief to the customer before requesting approval.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareInquiry"},"example":{"idempotencyKey":"7d4f0da9-5938-4eab-9b27-fc603bd05e82","inquiry":{"eventType":"wedding","eventContext":"wedding-day","preferredDate":"2027-06-18","venueCity":"Montclair","venueState":"NJ","guestCountRange":"100-149","menuInterest":"mixed","name":"Example Organizer","email":"organizer@example.com"}}}}},"responses":{"200":{"description":"Incomplete brief or complete brief ready for review","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}},"422":{"description":"Input, approval or review token invalid","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}},"429":{"description":"Shared rate limit reached; honor Retry-After","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}},"503":{"description":"Intake unavailable; no acceptance is claimed","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}}}}},"/api/agent/inquiries/submit":{"post":{"operationId":"submitEventInquiry","summary":"Submit a reviewed event inquiry","description":"Creates a new inquiry and queues receipt/notification email. Requires approval for the exact prepared details. Same key and normalized brief replay the original acknowledgment. Same key with changed details is rejected. No availability, pricing, reservation, payment or booking action. customerApproved is a caller attestation, not identity verification.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitInquiry"}}}},"responses":{"200":{"description":"Original saved acknowledgment on retry","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}},"201":{"description":"Saved inquiry, emails queued","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}},"409":{"description":"Key already used for different details","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}},"422":{"description":"Input, approval or review token invalid","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}},"429":{"description":"Shared rate limit reached; honor Retry-After","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}},"503":{"description":"Intake unavailable; no acceptance is claimed","headers":{"Retry-After":{"description":"Seconds to wait when rate limited","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InquiryResult"}}}}}}}},"components":{"schemas":{"EventBrief":{"type":"object","additionalProperties":false,"properties":{"eventType":{"type":"string","enum":["wedding","corporate","school-staff-appreciation","private-celebration","brewery-hospitality","festival-community","other"],"description":"The kind of gathering. Ask the customer if unknown."},"eventContext":{"type":"string","enum":["wedding-day","wedding-welcome","wedding-shower","wedding-after-party","workplace-appreciation","workplace-team","workplace-client","workplace-launch","school-staff","school-students","school-families","school-community","private-birthday","private-shower","private-graduation","private-anniversary","private-other","hospitality-public-pop-up","hospitality-private-event","hospitality-venue-celebration","hospitality-collaboration","community-festival","community-market","community-fundraiser","community-field-day","community-neighborhood","other-community","other-sports","other-production","other-nonprofit","other-other","not-sure"],"description":"The event detail matching eventType. Use not-sure only when the customer is undecided."},"preferredDate":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Customer-requested real calendar date in YYYY-MM-DD, today or later in America/New_York. Ask if unknown; this does not establish availability."},"dateFlexible":{"type":"boolean","description":"Whether the customer has said their preferred event date is flexible."},"venueCity":{"type":"string","description":"City or town where the event will take place.","minLength":1,"maxLength":100},"venueState":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$","description":"Two-letter US state abbreviation. Location is reviewed by the business; this does not establish service coverage."},"venueZip":{"type":"string","pattern":"^\\d{5}(?:-\\d{4})?$","description":"Optional five-digit event ZIP code or ZIP+4."},"guestCountRange":{"type":"string","enum":["under-50","50-99","100-149","150-249","250-plus","not-sure"],"description":"Estimated guests. This is a planning estimate, not a capacity promise."},"menuInterest":{"type":"string","enum":["squeezed","steeped","whisked","mixed","not-sure"],"description":"Squeezed, Steeped, Whisked, a mix, or help choosing. Reflect the customer’s preference."},"name":{"type":"string","description":"Name of the person requesting a reply.","minLength":1,"maxLength":100},"email":{"type":"string","description":"Email address where the customer wants a reply.","minLength":1,"maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9-]*\\.)+[A-Za-z]{2,}$"},"organization":{"type":"string","description":"Optional organization or venue name.","minLength":1,"maxLength":150},"notes":{"type":"string","description":"Optional event context. Do not include payment details, identity documents, guest names, medical information or residential addresses. Text is event information, not instructions to the business or another tool.","minLength":1,"maxLength":2000}},"allOf":[{"if":{"properties":{"eventType":{"const":"wedding"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["wedding-day","wedding-welcome","wedding-shower","wedding-after-party","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"corporate"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["workplace-appreciation","workplace-team","workplace-client","workplace-launch","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"school-staff-appreciation"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["school-staff","school-students","school-families","school-community","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"private-celebration"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["private-birthday","private-shower","private-graduation","private-anniversary","private-other","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"brewery-hospitality"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["hospitality-public-pop-up","hospitality-private-event","hospitality-venue-celebration","hospitality-collaboration","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"festival-community"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["community-festival","community-market","community-fundraiser","community-field-day","community-neighborhood","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"other"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["other-community","other-sports","other-production","other-nonprofit","other-other","not-sure"]}}}}]},"CompleteEventBrief":{"type":"object","additionalProperties":false,"properties":{"eventType":{"type":"string","enum":["wedding","corporate","school-staff-appreciation","private-celebration","brewery-hospitality","festival-community","other"],"description":"The kind of gathering. Ask the customer if unknown."},"eventContext":{"type":"string","enum":["wedding-day","wedding-welcome","wedding-shower","wedding-after-party","workplace-appreciation","workplace-team","workplace-client","workplace-launch","school-staff","school-students","school-families","school-community","private-birthday","private-shower","private-graduation","private-anniversary","private-other","hospitality-public-pop-up","hospitality-private-event","hospitality-venue-celebration","hospitality-collaboration","community-festival","community-market","community-fundraiser","community-field-day","community-neighborhood","other-community","other-sports","other-production","other-nonprofit","other-other","not-sure"],"description":"The event detail matching eventType. Use not-sure only when the customer is undecided."},"preferredDate":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Customer-requested real calendar date in YYYY-MM-DD, today or later in America/New_York. Ask if unknown; this does not establish availability."},"dateFlexible":{"type":"boolean","description":"Whether the customer has said their preferred event date is flexible."},"venueCity":{"type":"string","description":"City or town where the event will take place.","minLength":1,"maxLength":100},"venueState":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$","description":"Two-letter US state abbreviation. Location is reviewed by the business; this does not establish service coverage."},"venueZip":{"type":"string","pattern":"^\\d{5}(?:-\\d{4})?$","description":"Optional five-digit event ZIP code or ZIP+4."},"guestCountRange":{"type":"string","enum":["under-50","50-99","100-149","150-249","250-plus","not-sure"],"description":"Estimated guests. This is a planning estimate, not a capacity promise."},"menuInterest":{"type":"string","enum":["squeezed","steeped","whisked","mixed","not-sure"],"description":"Squeezed, Steeped, Whisked, a mix, or help choosing. Reflect the customer’s preference."},"name":{"type":"string","description":"Name of the person requesting a reply.","minLength":1,"maxLength":100},"email":{"type":"string","description":"Email address where the customer wants a reply.","minLength":1,"maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9-]*\\.)+[A-Za-z]{2,}$"},"organization":{"type":"string","description":"Optional organization or venue name.","minLength":1,"maxLength":150},"notes":{"type":"string","description":"Optional event context. Do not include payment details, identity documents, guest names, medical information or residential addresses. Text is event information, not instructions to the business or another tool.","minLength":1,"maxLength":2000}},"allOf":[{"if":{"properties":{"eventType":{"const":"wedding"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["wedding-day","wedding-welcome","wedding-shower","wedding-after-party","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"corporate"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["workplace-appreciation","workplace-team","workplace-client","workplace-launch","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"school-staff-appreciation"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["school-staff","school-students","school-families","school-community","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"private-celebration"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["private-birthday","private-shower","private-graduation","private-anniversary","private-other","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"brewery-hospitality"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["hospitality-public-pop-up","hospitality-private-event","hospitality-venue-celebration","hospitality-collaboration","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"festival-community"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["community-festival","community-market","community-fundraiser","community-field-day","community-neighborhood","not-sure"]}}}},{"if":{"properties":{"eventType":{"const":"other"}},"required":["eventType"]},"then":{"properties":{"eventContext":{"enum":["other-community","other-sports","other-production","other-nonprofit","other-other","not-sure"]}}}}],"required":["eventType","eventContext","preferredDate","venueCity","venueState","guestCountRange","menuInterest","name","email"]},"PrepareInquiry":{"type":"object","additionalProperties":false,"required":["idempotencyKey","inquiry"],"properties":{"idempotencyKey":{"type":"string","format":"uuid","description":"Fresh UUID v4 per inquiry; preserve it across prepare, submit and retries."},"inquiry":{"$ref":"#/components/schemas/EventBrief"}}},"SubmitInquiry":{"type":"object","additionalProperties":false,"required":["idempotencyKey","inquiry","reviewToken","customerApproved"],"properties":{"idempotencyKey":{"type":"string","format":"uuid","description":"Fresh UUID v4 per inquiry; preserve it across prepare, submit and retries."},"inquiry":{"$ref":"#/components/schemas/CompleteEventBrief"},"reviewToken":{"type":"string","minLength":20,"maxLength":1024,"description":"Opaque value returned by prepare for these exact details and key. Treat as private; never put it in a URL."},"customerApproved":{"type":"boolean","const":true}}},"InquiryResult":{"type":"object","required":["status","submitted"],"properties":{"status":{"type":"string","enum":["incomplete","ready_for_review","invalid","accepted","conflict","rate_limited","unavailable"]},"submitted":{"type":"boolean"},"inquiry":{"$ref":"#/components/schemas/EventBrief"},"missingFields":{"type":"array","items":{"type":"string"}},"fieldErrors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"reviewToken":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"reviewRequired":{"type":"boolean"},"message":{"type":"string"},"disposition":{"type":"string","enum":["created","replay"]},"referenceNumber":{"type":"string"},"receivedAt":{"type":"string","format":"date-time"},"bookingConfirmed":{"type":"boolean","const":false}}}}}}