{"openapi":"3.1.0","info":{"title":"Ticket Tailor (BYOK) API","version":"0.1.0","description":"Ticket Tailor (BYOK) lets an AI assistant read your own Ticket Tailor data through the Ticket Tailor API with a key you supply (Ticket Tailor API key (starts with sk_)). Read-only: 10 tools (get_overview, list_events, list_event_series, list_event_occurrences, list_orders, list_issued_tickets, list_check_ins, list_products, list_discounts, list_stores). The BYOK key travels with each request, is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-tickettailor.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-tickettailor/docs"},"termsOfService":"https://connectorbay.com/byok-tickettailor/terms"},"servers":[{"url":"https://byok-tickettailor.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-tickettailor/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_overview":{"post":{"operationId":"get_overview","summary":"Show box office statistics: box office name, currency, revenue, orders received, issued tickets, published and draft eve","description":"Show box office statistics: box office name, currency, revenue, orders received, issued tickets, published and draft events and series, and days to the next event. Use for \"How is my Ticket Tailor box office doing overall\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_overviewArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_events":{"post":{"operationId":"list_events","summary":"List the box office's event occurrences (dated events) with name, status, start and end, venue, tickets sold, revenue an","description":"List the box office's event occurrences (dated events) with name, status, start and end, venue, tickets sold, revenue and checkout link. Money amounts are integers in the currency's minor unit (for example cents). Use for \"What published events do I have on Ticket Tailor\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"status":{"anyOf":[{"enum":["published","draft","sales_closed"],"type":"string"},{"type":"null"}],"default":null,"description":"Filter by status: published, draft or sales_closed (one value).","title":"Status"},"name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Event name to match.","title":"Name"},"venue":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Venue name to match.","title":"Venue"},"start_after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only events starting after this Unix timestamp (seconds).","title":"Start After"},"start_before":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only events starting before this Unix timestamp (seconds).","title":"Start Before"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many items to return per page.","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page (for example 'ev_123'); returns the items after it. The answer's links.next shows the next page.","title":"Starting After"}},"title":"list_eventsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_event_series":{"post":{"operationId":"list_event_series","summary":"List event series (the parent of dated occurrences) with name, status, venue, next occurrence, number of occurrences, ti","description":"List event series (the parent of dated occurrences) with name, status, venue, next occurrence, number of occurrences, tickets issued and revenue. Money amounts are integers in the currency's minor unit (for example cents). Use for \"Which event series do I have and which are published\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"status":{"anyOf":[{"enum":["published","draft","sales_closed"],"type":"string"},{"type":"null"}],"default":null,"description":"Filter by status: published, draft or sales_closed (one value).","title":"Status"},"name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Event series name to match.","title":"Name"},"venue":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Venue name to match.","title":"Venue"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many items to return per page.","title":"Limit"}},"title":"list_event_seriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_event_occurrences":{"post":{"operationId":"list_event_occurrences","summary":"List the dated occurrences of one event series with start and end, availability status, tickets issued and revenue. Mone","description":"List the dated occurrences of one event series with start and end, availability status, tickets issued and revenue. Money amounts are integers in the currency's minor unit (for example cents). Use for \"Show the dates of event series es_1 and how many tickets are sold for each\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"event_series_id":{"description":"Event series id from list_event_series, for example 'es_1'.","maxLength":200,"title":"Event Series Id","type":"string"},"start_after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only occurrences starting after this Unix timestamp (seconds).","title":"Start After"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many items to return per page.","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page (for example 'ev_123'); returns the items after it. The answer's links.next shows the next page.","title":"Starting After"}},"required":["event_series_id"],"title":"list_event_occurrencesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_orders":{"post":{"operationId":"list_orders","summary":"List orders newest first with status, total, amount paid, refund amount, payment method type and event name; buyer conta","description":"List orders newest first with status, total, amount paid, refund amount, payment method type and event name; buyer contact details other than the name are not returned. Money amounts are integers in the currency's minor unit (for example cents). Use for \"What were my latest completed Ticket Tailor orders\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"status":{"anyOf":[{"enum":["completed","pending","canceled"],"type":"string"},{"type":"null"}],"default":null,"description":"Order status: completed, pending or canceled (one value).","title":"Status"},"event_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only orders for this event id (for example 'ev_1'); several ids may be comma separated.","title":"Event Id"},"event_series_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only orders for this event series id; several ids may be comma separated.","title":"Event Series Id"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many items to return per page.","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page (for example 'ev_123'); returns the items after it. The answer's links.next shows the next page.","title":"Starting After"}},"title":"list_ordersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_issued_tickets":{"post":{"operationId":"list_issued_tickets","summary":"List issued tickets with attendee name, status (valid or voided), check-in flag, ticket type, event and price; email add","description":"List issued tickets with attendee name, status (valid or voided), check-in flag, ticket type, event and price; email addresses are not returned. Money amounts are integers in the currency's minor unit (for example cents). Use for \"Which tickets have been checked in for event ev_1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"event_id":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only tickets for this event id, for example 'ev_1'.","title":"Event Id"},"event_series_id":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only tickets for this event series id.","title":"Event Series Id"},"order_id":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only tickets of this order id.","title":"Order Id"},"status":{"anyOf":[{"enum":["valid","voided"],"type":"string"},{"type":"null"}],"default":null,"description":"Ticket status: valid or voided.","title":"Status"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many items to return per page.","title":"Limit"},"starting_after":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor: the id of the last item of the previous page (for example 'ev_123'); returns the items after it. The answer's links.next shows the next page.","title":"Starting After"}},"title":"list_issued_ticketsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_check_ins":{"post":{"operationId":"list_check_ins","summary":"List ticket check-in records with time, event and issued ticket id. Use for \"When were tickets for ev_1 checked in\".","description":"List ticket check-in records with time, event and issued ticket id. Use for \"When were tickets for ev_1 checked in\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"event_id":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only check-ins for this event id.","title":"Event Id"},"event_series_id":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only check-ins for this event series id.","title":"Event Series Id"},"checked_in_after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Only check-ins after this Unix timestamp (seconds).","title":"Checked In After"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many items to return per page.","title":"Limit"}},"title":"list_check_insArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_products":{"post":{"operationId":"list_products","summary":"List add-on products (merchandise, food, vouchers) with price, quantity, sold count and status. Money amounts are intege","description":"List add-on products (merchandise, food, vouchers) with price, quantity, sold count and status. Money amounts are integers in the currency's minor unit (for example cents). Use for \"What add-on products do I sell on Ticket Tailor\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"event_series_id":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only products linked to this event series id.","title":"Event Series Id"},"status":{"anyOf":[{"enum":["ON_SALE","HIDDEN","SOLD_OUT"],"type":"string"},{"type":"null"}],"default":null,"description":"Filter by status: ON_SALE, HIDDEN or SOLD_OUT.","title":"Status"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many items to return per page.","title":"Limit"}},"title":"list_productsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_discounts":{"post":{"operationId":"list_discounts","summary":"List discount codes with name, code, type (fixed amount or percentage), value, redemption limit and times redeemed. Use ","description":"List discount codes with name, code, type (fixed amount or percentage), value, redemption limit and times redeemed. Use for \"Which discount codes are active and how often were they used\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"code":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only discounts with this exact code.","title":"Code"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many items to return per page.","title":"Limit"}},"title":"list_discountsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_stores":{"post":{"operationId":"list_stores","summary":"List the stores (checkout configurations) of the box office with currency and accepted payment methods. Use for \"What st","description":"List the stores (checkout configurations) of the box office with currency and accepted payment methods. Use for \"What stores are set up in my Ticket Tailor box office\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many items to return per page.","title":"Limit"}},"title":"list_storesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}