{"openapi":"3.1.0","info":{"title":"Eventbrite API (Bowmark)","version":"e833508f87ff","description":"Local events — search by city/online, date and category; read an event, its organizer and venue; and (once a caller signs in) save events, follow organizers and read order history.\n\nEvery function Bowmark has for Eventbrite (eventbrite.com) as one HTTP call. Each runs on Bowmark's infrastructure with the same billing, rules and response envelope as `POST /v1/run`. The whole API: https://api.bowmark.ai/openapi.json. Guide: https://bowmark.ai/docs/api.","contact":{"email":"support@bowmark.ai","url":"https://bowmark.ai/docs/api"}},"servers":[{"url":"https://api.bowmark.ai"}],"security":[{"bearer":[]},{"apiKeyHeader":[]}],"paths":{"/v1/sites/eventbrite/searchEvents":{"post":{"operationId":"searchEvents","summary":"Searches live events by location (a city/region like \"New York, NY\", or the literal string \"online\"), with an optional category or free-text keyword, an optional free: true (free events only) and an o","description":"Searches live events by location (a city/region like \"New York, NY\", or the literal string \"online\"), with an optional category or free-text keyword, an optional free: true (free events only) and an optional start/end date range, and returns each match's id, title, url, start time, timezone and venue. Paged (20/page); call again with \"page\" incremented. Ticket price is NOT on this result — call getEvent for it.\n\nCalls `bowmark.providers.eventbrite.searchEvents`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<EventbriteSearchResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/EventbriteSearchArgs","description":"TypeScript: `EventbriteSearchArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/getEvent":{"post":{"operationId":"getEvent","summary":"Returns one event in full: title, description, start/end time, venue (name, address, lat/long), organizer (id, name, url), category tags, sales status and ticket price range — taking an Eventbrite eve","description":"Returns one event in full: title, description, start/end time, venue (name, address, lat/long), organizer (id, name, url), category tags, sales status and ticket price range — taking an Eventbrite event url or its numeric id.\n\nCalls `bowmark.providers.eventbrite.getEvent`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<EventbriteEventDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"eventIdOrUrl":{"type":"string"}},"required":["eventIdOrUrl"],"additionalProperties":true,"description":"TypeScript: `{ eventIdOrUrl: string }`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/getVenue":{"post":{"operationId":"getVenue","summary":"Reads one event's venue — name, address, city/region/country and coordinates — taking the same Eventbrite event url or numeric id getEvent takes (the site publishes no standalone venue lookup, so a ve","description":"Reads one event's venue — name, address, city/region/country and coordinates — taking the same Eventbrite event url or numeric id getEvent takes (the site publishes no standalone venue lookup, so a venue is read off the event that references it). Throws for an online-only event, which has none.\n\nCalls `bowmark.providers.eventbrite.getVenue`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<EventbriteVenueRow>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"eventIdOrUrl":{"type":"string"}},"required":["eventIdOrUrl"],"additionalProperties":true,"description":"TypeScript: `{ eventIdOrUrl: string }`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/getOrganizer":{"post":{"operationId":"getOrganizer","summary":"Reads an organizer's public page — name, bio, verification status, website, follower/hosting-tenure/total-events/attendees-hosted stats, and their upcoming events — taking an organizer url or the nume","description":"Reads an organizer's public page — name, bio, verification status, website, follower/hosting-tenure/total-events/attendees-hosted stats, and their upcoming events — taking an organizer url or the numeric organizer id found on any of their events.\n\nCalls `bowmark.providers.eventbrite.getOrganizer`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<EventbriteOrganizerDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"organizerIdOrUrl":{"type":"string"}},"required":["organizerIdOrUrl"],"additionalProperties":true,"description":"TypeScript: `{ organizerIdOrUrl: string }`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/getSavedEvents":{"post":{"operationId":"getSavedEvents","summary":"Reads the signed-in caller's saved ('liked') events — needs the caller signed in to Eventbrite (an authFunction).","description":"Reads the signed-in caller's saved ('liked') events — needs the caller signed in to Eventbrite (an authFunction).\n\nCalls `bowmark.providers.eventbrite.getSavedEvents`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ events: EventbriteEventRow[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/saveEvent":{"post":{"operationId":"saveEvent","summary":"Saves ('likes') an event to the signed-in caller's Eventbrite account, taking an event url or its numeric id — needs the caller signed in to Eventbrite (an authFunction, a write).","description":"Saves ('likes') an event to the signed-in caller's Eventbrite account, taking an event url or its numeric id — needs the caller signed in to Eventbrite (an authFunction, a write).\n\nCalls `bowmark.providers.eventbrite.saveEvent`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ eventId: string; saved: true }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"eventIdOrUrl":{"type":"string"}},"required":["eventIdOrUrl"],"additionalProperties":true,"description":"TypeScript: `{ eventIdOrUrl: string }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/unsaveEvent":{"post":{"operationId":"unsaveEvent","summary":"Removes a previously saved event from the signed-in caller's Eventbrite account, taking an event url or its numeric id — needs the caller signed in to Eventbrite (an authFunction, a write).","description":"Removes a previously saved event from the signed-in caller's Eventbrite account, taking an event url or its numeric id — needs the caller signed in to Eventbrite (an authFunction, a write).\n\nCalls `bowmark.providers.eventbrite.unsaveEvent`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ eventId: string; saved: false }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"eventIdOrUrl":{"type":"string"}},"required":["eventIdOrUrl"],"additionalProperties":true,"description":"TypeScript: `{ eventIdOrUrl: string }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/followOrganizer":{"post":{"operationId":"followOrganizer","summary":"Follows an organizer from the signed-in caller's Eventbrite account, taking an organizer url or its numeric id — needs the caller signed in to Eventbrite (an authFunction, a write).","description":"Follows an organizer from the signed-in caller's Eventbrite account, taking an organizer url or its numeric id — needs the caller signed in to Eventbrite (an authFunction, a write).\n\nCalls `bowmark.providers.eventbrite.followOrganizer`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ organizerId: string; followed: true; numFollowers: number | null }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"organizerIdOrUrl":{"type":"string"}},"required":["organizerIdOrUrl"],"additionalProperties":true,"description":"TypeScript: `{ organizerIdOrUrl: string }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/unfollowOrganizer":{"post":{"operationId":"unfollowOrganizer","summary":"Unfollows an organizer the signed-in caller follows on Eventbrite, taking an organizer url or its numeric id — the undo of followOrganizer; needs the caller signed in to Eventbrite (an authFunction, a","description":"Unfollows an organizer the signed-in caller follows on Eventbrite, taking an organizer url or its numeric id — the undo of followOrganizer; needs the caller signed in to Eventbrite (an authFunction, a write).\n\nCalls `bowmark.providers.eventbrite.unfollowOrganizer`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ organizerId: string; followed: false; numFollowers: number | null }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"organizerIdOrUrl":{"type":"string"}},"required":["organizerIdOrUrl"],"additionalProperties":true,"description":"TypeScript: `{ organizerIdOrUrl: string }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/listMyOrganizedEvents":{"post":{"operationId":"listMyOrganizedEvents","summary":"Lists the events the signed-in caller ORGANIZES on Eventbrite (id, title, url, start/end, status, free, listed, capacity), newest first — needs the caller signed in (an authFunction).","description":"Lists the events the signed-in caller ORGANIZES on Eventbrite (id, title, url, start/end, status, free, listed, capacity), newest first — needs the caller signed in (an authFunction). status narrows it (default all); paged by 'page'. Feed an id to getEventAttendees.\n\nCalls `bowmark.providers.eventbrite.listMyOrganizedEvents`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ events: EventbriteOrganizedEventRow[]; page: number | null; pageCount: number | null; totalCount: number | null; hasMore: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"status":{"anyOf":[{"const":"all"},{"const":"live"},{"const":"draft"},{"const":"started"},{"const":"ended"},{"const":"completed"},{"const":"canceled"}]},"page":{"type":"number"}},"additionalProperties":true,"description":"TypeScript: `{ status?: 'all' | 'live' | 'draft' | 'started' | 'ended' | 'completed' | 'canceled'; page?: number }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/getEventAttendees":{"post":{"operationId":"getEventAttendees","summary":"Lists who is registered for one of the signed-in caller's OWN events (name, email, ticket class, status, checked in, order id) — needs the caller signed in as that event's organizer (an authFunction).","description":"Lists who is registered for one of the signed-in caller's OWN events (name, email, ticket class, status, checked in, order id) — needs the caller signed in as that event's organizer (an authFunction). An event the caller does not organize is refused by Eventbrite.\n\nCalls `bowmark.providers.eventbrite.getEventAttendees`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ attendees: EventbriteAttendeeRow[]; page: number | null; pageCount: number | null; totalCount: number | null; hasMore: boolean }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"eventIdOrUrl":{"type":"string"},"page":{"type":"number"}},"required":["eventIdOrUrl"],"additionalProperties":true,"description":"TypeScript: `{ eventIdOrUrl: string; page?: number }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/getFollowedOrganizers":{"post":{"operationId":"getFollowedOrganizers","summary":"Lists the organizers the signed-in caller follows on Eventbrite — the list followOrganizer and unfollowOrganizer write to; needs the caller signed in to Eventbrite (an authFunction).","description":"Lists the organizers the signed-in caller follows on Eventbrite — the list followOrganizer and unfollowOrganizer write to; needs the caller signed in to Eventbrite (an authFunction). The page's signed-in shape is UNMEASURED, so only id, name and url are promised.\n\nCalls `bowmark.providers.eventbrite.getFollowedOrganizers`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ organizers: { id: string; name: string | null; url: string | null }[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/getOrderHistory":{"post":{"operationId":"getOrderHistory","summary":"Reads the signed-in caller's past and upcoming ticket orders from Eventbrite's 'My tickets' page — needs the caller signed in to Eventbrite (an authFunction).","description":"Reads the signed-in caller's past and upcoming ticket orders from Eventbrite's 'My tickets' page — needs the caller signed in to Eventbrite (an authFunction). Rows are returned RAW: the page's own order shape has not been captured signed in yet (UNMEASURED), so no field names are promised.\n\nCalls `bowmark.providers.eventbrite.getOrderHistory`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ orders: Record<string, unknown>[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/getOwnProfile":{"post":{"operationId":"getOwnProfile","summary":"Reads the signed-in caller's own account profile from Eventbrite's account settings page — needs the caller signed in to Eventbrite (an authFunction).","description":"Reads the signed-in caller's own account profile from Eventbrite's account settings page — needs the caller signed in to Eventbrite (an authFunction). Returned RAW: the page's own profile shape has not been captured signed in yet (UNMEASURED), so no field names are promised.\n\nCalls `bowmark.providers.eventbrite.getOwnProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<Record<string, unknown>>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/registerForEvent":{"post":{"operationId":"registerForEvent","summary":"Registers the signed-in caller for an event on a FREE ticket class (ids from listTicketClasses), quantity 1-10 — needs the caller signed in to Eventbrite (an authFunction, a write).","description":"Registers the signed-in caller for an event on a FREE ticket class (ids from listTicketClasses), quantity 1-10 — needs the caller signed in to Eventbrite (an authFunction, a write). A paid, sold-out or unknown ticket class is refused before any order is created; Bowmark never pays.\n\nCalls `bowmark.providers.eventbrite.registerForEvent`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ eventId: string; ticketClassId: string; quantity: number; orderId: string; registered: true }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"eventIdOrUrl":{"type":"string"},"ticketClassId":{"type":"string"},"quantity":{"type":"number"}},"required":["eventIdOrUrl","ticketClassId"],"additionalProperties":true,"description":"TypeScript: `{ eventIdOrUrl: string; ticketClassId: string; quantity?: number }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/cancelRegistration":{"post":{"operationId":"cancelRegistration","summary":"Cancels one of the signed-in caller's FREE registrations (an order id from getOrderHistory) and gives the spot back — needs the caller signed in to Eventbrite (an authFunction, a write).","description":"Cancels one of the signed-in caller's FREE registrations (an order id from getOrderHistory) and gives the spot back — needs the caller signed in to Eventbrite (an authFunction, a write). A paid order is refused before anything is sent; refunds are money and stay out.\n\nCalls `bowmark.providers.eventbrite.cancelRegistration`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ orderId: string; cancelled: true }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"orderId":{"type":"string"}},"required":["orderId"],"additionalProperties":true,"description":"TypeScript: `{ orderId: string }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/createEvent":{"post":{"operationId":"createEvent","summary":"Creates an UNPUBLISHED draft event on the signed-in caller's Eventbrite organization (title, UTC start/end like 2027-01-15T18:00:00Z or a YYYY-MM-DD, IANA timezone default UTC, currency default USD) —","description":"Creates an UNPUBLISHED draft event on the signed-in caller's Eventbrite organization (title, UTC start/end like 2027-01-15T18:00:00Z or a YYYY-MM-DD, IANA timezone default UTC, currency default USD) — needs the caller signed in (an authFunction, a write). It never publishes: nothing is listed and nobody is notified.\n\nCalls `bowmark.providers.eventbrite.createEvent`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ eventId: string; url: string | null; status: 'draft' }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"title":{"type":"string"},"start":{"type":"string"},"end":{"type":"string"},"timezone":{"type":"string"},"currency":{"type":"string"},"summary":{"type":"string"},"organizationId":{"type":"string"}},"required":["title","start","end"],"additionalProperties":true,"description":"TypeScript: `{ title: string; start: string; end: string; timezone?: string; currency?: string; summary?: string; organizationId?: string }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/contactOrganizer":{"post":{"operationId":"contactOrganizer","summary":"Sends a message to an event organizer through Eventbrite's own Contact form (a write; works signed out) — the organizer replies to the email given.","description":"Sends a message to an event organizer through Eventbrite's own Contact form (a write; works signed out) — the organizer replies to the email given. This reaches a real person: send only what the caller actually asked to send. reason defaults to question_about_event; eventIdOrUrl ties the message to one event.\n\nCalls `bowmark.providers.eventbrite.contactOrganizer`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ organizerId: string; email: string; sent: true }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"organizerIdOrUrl":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"message":{"type":"string"},"reason":{"anyOf":[{"const":"question_about_event"},{"const":"question_about_my_ticket"}]},"eventIdOrUrl":{"type":"string"}},"required":["organizerIdOrUrl","name","email","message"],"additionalProperties":true,"description":"TypeScript: `{ organizerIdOrUrl: string; name: string; email: string; message: string; reason?: 'question_about_event' | 'question_about_my_ticket'; eventIdOrUrl?: string }`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/joinWaitlist":{"post":{"operationId":"joinWaitlist","summary":"Puts a name and email on a sold-out event's waitlist (a write) — the organizer emails that address if a spot opens.","description":"Puts a name and email on a sold-out event's waitlist (a write) — the organizer emails that address if a spot opens. Works signed out, like the site's own form; refused before anything is sent when the event shows no open waitlist. ticketClassId/quantity target one tier's waitlist.\n\nCalls `bowmark.providers.eventbrite.joinWaitlist`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ eventId: string; email: string; joined: true }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"eventIdOrUrl":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"ticketClassId":{"type":"string"},"quantity":{"type":"number"}},"required":["eventIdOrUrl","firstName","lastName","email"],"additionalProperties":true,"description":"TypeScript: `{ eventIdOrUrl: string; firstName: string; lastName: string; email: string; phone?: string; ticketClassId?: string; quantity?: number }`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/listTicketClasses":{"post":{"operationId":"listTicketClasses","summary":"Reads one event's per-tier ticket breakdown from its checkout page — name, price, fees and sold-out state per tier, each keyed by its own numeric ticket-class id — taking the same Eventbrite event url","description":"Reads one event's per-tier ticket breakdown from its checkout page — name, price, fees and sold-out state per tier, each keyed by its own numeric ticket-class id — taking the same Eventbrite event url or numeric id getEvent takes. getEvent only has a min/max price range; this is the per-tier detail.\n\nCalls `bowmark.providers.eventbrite.listTicketClasses`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<EventbriteTicketClassRow[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"eventIdOrUrl":{"type":"string"}},"required":["eventIdOrUrl"],"additionalProperties":true,"description":"TypeScript: `{ eventIdOrUrl: string }`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/login":{"post":{"operationId":"login","summary":"Signs in with the given credentials and saves a NEW connection — every call creates one, never replacing an existing login, unless `connection` names an existing id to sign back in to (its cookies rep","description":"Signs in with the given credentials and saves a NEW connection — every call creates one, never replacing an existing login, unless `connection` names an existing id to sign back in to (its cookies replaced, its id and settings kept, a logged-out one revived). The returned `connection` is usable on the very next call in the same script or session. `warnings` names the account's other connections to this site. `username`, `password`, `totpCode` and `totpSeed` are plain values here; a caller on the run/session script surface instead passes each as a `bowmark.secret()` reference. Pass the returned `connection` id as `{ connection }` on a later signed-in call to act as this account. Optionally set `keepAlive: { everyHours }` (or `false` to turn it off) and/or `expiresAt` (an ISO date/datetime, a hard ceiling); both default to a 12-hour keep-alive and can be changed later with `bm.connections.update(id, …)`.\n\nCalls `bowmark.providers.eventbrite.login`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ connection: string; account: string; expiresAt: string; warnings?: string[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"creds":{"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"},"totpCode":{"type":"string"},"totpSeed":{"type":"string"},"keepAlive":{"anyOf":[{"type":"object","properties":{"everyHours":{"type":"number"}},"required":["everyHours"],"additionalProperties":true},{"const":false}]},"expiresAt":{"type":"string"},"connection":{"type":"string"}},"additionalProperties":true,"description":"TypeScript: `LoginInput`"}},"required":["creds"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/signup":{"post":{"operationId":"signup","summary":"Makes a NEW Eventbrite account with the person's own email and password, in a session.","description":"Makes a NEW Eventbrite account with the person's own email and password, in a session. Pauses with `needs_code` / `needs_phone` whenever the site wants something only the person has; continue with `confirmSignup` in the same session. Ends `signed_up` with the login saved and the credentials in the person's secrets.\n\nCalls `bowmark.providers.eventbrite.signup`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ status: \"needs_code\"; channel: \"email\" | \"sms\"; sentTo?: string } | { status: \"needs_phone\" } | { status: \"in_progress\"; retryAfterSeconds: number } | { status: \"signed_up\"; username: string; email: string; connection: string | null; twoFactor: \"enrolled\" | \"none\"; secrets: string[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"description":"TypeScript: `SignupInput`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/eventbrite/confirmSignup":{"post":{"operationId":"confirmSignup","summary":"Continues the sign-up `signup` started in this session with the emailed or texted `code`, the email's verification `link`, or the person's `phone`.","description":"Continues the sign-up `signup` started in this session with the emailed or texted `code`, the email's verification `link`, or the person's `phone`.\n\nCalls `bowmark.providers.eventbrite.confirmSignup`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ status: \"needs_code\"; channel: \"email\" | \"sms\"; sentTo?: string } | { status: \"needs_phone\" } | { status: \"in_progress\"; retryAfterSeconds: number } | { status: \"signed_up\"; username: string; email: string; connection: string | null; twoFactor: \"enrolled\" | \"none\"; secrets: string[] }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"description":"TypeScript: `SignupConfirmInput`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Your Bowmark API key."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-Bowmark-Key"}},"responses":{"NotFound":{"description":"No such site or function.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}},"schemas":{"RunEnvelope":{"type":"object","description":"What a run returns. `status` says whether the SCRIPT succeeded. A script that threw or paused for a login is still HTTP 200. Branch on `status`, not on the HTTP code.","required":["ok","status","result","logs","error","ms"],"properties":{"runId":{"type":"string","description":"Stable id for this run. Quote it in a support or `report` message."},"ok":{"type":"boolean","description":"False only when the run produced nothing usable."},"status":{"type":"string","enum":["ok","error","partial","needs_user"],"description":"`partial`: the result is real but some calls failed (see `incomplete`); `ok` stays true. `needs_user`: a person must sign in to a site first. Relay `meta.handoff.url` to them, then run again."},"egress":{"type":"string","enum":["default","link"],"description":"The egress the run was given, present only when the request asked for one. `link`: every request went through the caller's own Chrome (Bowmark Buddy)."},"result":{"description":"Whatever the script `return`ed. Any JSON value."},"logs":{"type":"array","items":{"type":"string"},"description":"Lines the script wrote with `log(...)`."},"error":{"type":["string","null"],"description":"Why the run failed, in plain words. Null on success."},"ms":{"type":"integer","description":"How long the script itself ran, in milliseconds."},"queuedMs":{"type":"integer","description":"How long the run waited for a worker before starting. Present only when it was a second or more."},"needs":{"type":"array","description":"The sign-ins this script is waiting on. Present when `status` is `needs_user`.","items":{"type":"object","required":["capability","provider","providerTitle","kind"],"properties":{"capability":{"type":"string"},"provider":{"type":"string"},"providerTitle":{"type":"string","description":"The site's name, to show a person."},"kind":{"type":"string"}}}},"incomplete":{"type":"object","description":"Present only when `status` is `partial`: which calls did not answer.","properties":{"summary":{"type":"string"},"totalCalls":{"type":"integer"}},"additionalProperties":true},"emptyHanded":{"type":"object","description":"Present when the script returned nothing while its calls returned rows, usually a filter that matched none of the site's own labels. Lists the label values the calls actually returned.","additionalProperties":true},"notes":{"type":"array","description":"Caveats a call attached to a complete answer. Never changes `status`.","items":{"type":"object","properties":{"path":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}}}},"meta":{"type":"object","properties":{"handoff":{"type":"object","description":"A single-use sign-in link for a person to open. Expires at `expiresAt`.","properties":{"ref":{"type":"string"},"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"}}},"concurrency":{"type":"object","description":"On a 429: how many runs are in flight and when to retry.","properties":{"limit":{"type":"integer"},"inFlight":{"type":"integer"},"retryAfterSeconds":{"type":"integer"}}}},"additionalProperties":true},"notice":{"type":"object","description":"Set when the account owner has not accepted the current Terms. Relay it to them.","additionalProperties":true}}},"EventbriteSearchArgs":{"type":"object","properties":{"location":{"type":"string"},"category":{"type":"string"},"free":{"type":"boolean"},"startDate":{"type":"string"},"endDate":{"type":"string"},"page":{"type":"number"}},"required":["location"],"additionalProperties":true}}}}