{"openapi":"3.1.0","info":{"title":"Oops, Home. Developer API","version":"1.0.0","description":"Server-to-server access to your own partner workflow. Requires an active $49 USD one-time 30-day pass, scoped key and consent. No provider searches, tickets, commissions, personal customer data, payment or staff actions. 1000 calls/UTC day,60/UTC minute,10 new submissions/day,5 awaiting review. Authorized business errors and replays count as API calls. Public unmetered catalog: /api/developer/catalog.","termsOfService":"https://oops-home.crownthrive.chatgpt.site/developers/terms"},"servers":[{"url":"https://oops-home.crownthrive.chatgpt.site/api/developer/v1"}],"security":[{"BearerKey":[]}],"components":{"securitySchemes":{"BearerKey":{"type":"http","scheme":"bearer","bearerFormat":"oops_live_<64 lowercase hex characters>"}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"message":{"type":"string"}}},"Usage":{"type":"object","properties":{"daily_used":{"type":"integer"},"daily_limit":{"const":1000},"reset":{"const":"UTC midnight"}}},"Submission":{"type":"object","required":["name","headline","description","area","kind","website","country","category","rights_accepted","terms_accepted"],"properties":{"name":{"type":"string","minLength":2,"maxLength":100},"headline":{"type":"string","minLength":5,"maxLength":100},"description":{"type":"string","minLength":20,"maxLength":1600},"area":{"type":"string","minLength":2,"maxLength":120},"kind":{"type":"string","enum":["featured","integration"]},"website":{"type":"string","format":"uri","maxLength":500,"pattern":"^https://"},"country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"category":{"type":"string","enum":["food","activities","transport","campus","military","services"]},"rights_accepted":{"type":"boolean","const":true},"terms_accepted":{"type":"boolean","const":true}}},"Submitted":{"type":"object","required":["id","state","replayed","usage"],"properties":{"id":{"type":"string","format":"uuid"},"state":{"type":"string"},"replayed":{"type":"boolean"},"usage":{"$ref":"#/components/schemas/Usage"}}},"Request":{"type":"object","properties":{"id":{"type":["string","null"]},"kind":{"type":["string","null"]},"name":{"type":["string","null"]},"headline":{"type":["string","null"]},"area":{"type":["string","null"]},"country":{"type":["string","null"]},"category":{"type":["string","null"]},"state":{"type":["string","null"]},"quote_scope":{"type":["string","null"]},"review_note":{"type":["string","null"]},"automation_state":{"type":["string","null"]},"automation_note":{"type":["string","null"]},"moderation_note":{"type":["string","null"]},"starts_at":{"type":["string","null"]},"ends_at":{"type":["string","null"]},"created_at":{"type":["string","null"]},"quote_minor":{"type":["integer","null"]},"content_hold":{"type":"boolean"}}},"RequestPage":{"type":"object","properties":{"requests":{"type":"array","items":{"$ref":"#/components/schemas/Request"}},"next_cursor":{"type":["string","null"],"format":"uuid"},"usage":{"$ref":"#/components/schemas/Usage"}}},"Catalog":{"type":"object","properties":{"api_version":{"const":"1.0.0"},"capabilities":{"type":"array","items":{"type":"string"}},"excluded":{"type":"array","items":{"type":"string"}},"usage":{"$ref":"#/components/schemas/Usage"}}}}},"paths":{"/catalog":{"get":{"operationId":"getCapabilities","summary":"Read capability catalog","x-required-scope":"catalog:read","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalog"}}}},"400":{"description":"Invalid content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Active pass required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Payload too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"JSON required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Usage or review queue limit; Retry-After 60 seconds; daily limits reset UTC","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/requests":{"get":{"operationId":"listOwnedPartnerRequests","summary":"List partner requests owned by this key’s account","x-required-scope":"requests:read","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"cursor","in":"query","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestPage"}}}},"400":{"description":"Invalid content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Active pass required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Payload too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"JSON required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Usage or review queue limit; Retry-After 60 seconds; daily limits reset UTC","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"submitPartnerRequest","summary":"Submit attested business content into AI review","x-required-scope":"requests:submit","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submitted"}}}},"400":{"description":"Invalid content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Invalid or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Active pass required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Idempotency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Payload too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"JSON required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Usage or review queue limit; Retry-After 60 seconds; daily limits reset UTC","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}