{"openapi":"3.1.0","info":{"title":"Orb (BYOK) API","version":"0.1.0","description":"Orb (BYOK) lets an AI assistant read your own Orb data through the Orb API with a key you supply (Orb API key). Read-only: 10 tools (list_items, get_item, list_prices, get_price, list_coupons, get_coupon, list_alerts, list_dimensional_price_groups, get_event_volume, get_billable_metric). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached;...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-orb-catalog.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-orb-catalog/docs"},"termsOfService":"https://connectorbay.com/byok-orb-catalog/terms"},"servers":[{"url":"https://byok-orb-catalog.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-orb-catalog/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/list_items":{"post":{"operationId":"list_items","summary":"List sellable items (the products prices and metrics attach to) with name, archive time and the external tax or invoicin","description":"List sellable items (the products prices and metrics attach to) with name, archive time and the external tax or invoicing systems they map to. Paged by cursor. Use for \"Which items are defined in my Orb catalog\".","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 results to return (1 to 100).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor: the pagination_metadata.next_cursor value of the previous page.","title":"Cursor"}},"title":"list_itemsArguments","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/get_item":{"post":{"operationId":"get_item","summary":"Get one item by Orb id: name, creation and archive time and its external system connections. Use for \"Show the Orb item ","description":"Get one item by Orb id: name, creation and archive time and its external system connections. Use for \"Show the Orb item item_1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"item_id":{"description":"Orb item id, for example 'item_1'.","maxLength":200,"title":"Item Id","type":"string"}},"required":["item_id"],"title":"get_itemArguments","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_prices":{"post":{"operationId":"list_prices","summary":"List prices across all plans with model type, price type, cadence, billing mode, currency and the item and billable metr","description":"List prices across all plans with model type, price type, cadence, billing mode, currency and the item and billable metric they use. Paged by cursor. Use for \"What prices exist in Orb and which items do they bill\".","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 results to return (1 to 100).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor: the pagination_metadata.next_cursor value of the previous page.","title":"Cursor"}},"title":"list_pricesArguments","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/get_price":{"post":{"operationId":"get_price","summary":"Get one price by Orb id: name, model type, cadence, billing mode, currency, item and billable metric. Use for \"Show the ","description":"Get one price by Orb id: name, model type, cadence, billing mode, currency, item and billable metric. Use for \"Show the details of the Orb price price_1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"price_id":{"description":"Orb price id, for example 'price_1'.","maxLength":200,"title":"Price Id","type":"string"}},"required":["price_id"],"title":"get_priceArguments","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_coupons":{"post":{"operationId":"list_coupons","summary":"List coupons with redemption code, percentage or amount discount, duration, redemption cap and times redeemed. Archived ","description":"List coupons with redemption code, percentage or amount discount, duration, redemption cap and times redeemed. Archived coupons are hidden unless requested. Paged by cursor. Use for \"Which Orb coupons are active and how often were they redeemed\".","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 results to return (1 to 100).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor: the pagination_metadata.next_cursor value of the previous page.","title":"Cursor"},"redemption_code":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only the coupon with this redemption code.","title":"Redemption Code"},"show_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived coupons.","title":"Show Archived"}},"title":"list_couponsArguments","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/get_coupon":{"post":{"operationId":"get_coupon","summary":"Get one coupon by Orb id: redemption code, discount type and size, duration, cap and redemption count. Use for \"Show the","description":"Get one coupon by Orb id: redemption code, discount type and size, duration, cap and redemption count. Use for \"Show the Orb coupon cpn_1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"coupon_id":{"description":"Orb coupon id, for example 'cpn_1'.","maxLength":200,"title":"Coupon Id","type":"string"}},"required":["coupon_id"],"title":"get_couponArguments","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_alerts":{"post":{"operationId":"list_alerts","summary":"List usage, cost and credit-balance alerts with type, enabled flag, currency, thresholds and the customer, subscription,","description":"List usage, cost and credit-balance alerts with type, enabled flag, currency, thresholds and the customer, subscription, metric or plan they watch. Paged by cursor. Use for \"Which alerts are configured in Orb\".","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 results to return (1 to 100).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor: the pagination_metadata.next_cursor value of the previous page.","title":"Cursor"},"customer_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only alerts scoped to this Orb customer id.","title":"Customer Id"},"external_customer_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only alerts scoped to this external customer id.","title":"External Customer Id"},"subscription_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only alerts scoped to this subscription id.","title":"Subscription Id"}},"title":"list_alertsArguments","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_dimensional_price_groups":{"post":{"operationId":"list_dimensional_price_groups","summary":"List dimensional price groups: the dimensions each group splits a billable metric by and how many prices use it. Paged b","description":"List dimensional price groups: the dimensions each group splits a billable metric by and how many prices use it. Paged by cursor. Use for \"Which dimensional price groups exist in Orb\".","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 results to return (1 to 100).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor: the pagination_metadata.next_cursor value of the previous page.","title":"Cursor"},"billable_metric_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only groups that use this billable metric id.","title":"Billable Metric Id"}},"title":"list_dimensional_price_groupsArguments","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/get_event_volume":{"post":{"operationId":"get_event_volume","summary":"Count usage events ingested per hour in a time window (counts only, no event content). The window starts at an hour-alig","description":"Count usage events ingested per hour in a time window (counts only, no event content). The window starts at an hour-aligned time. Use for \"How many usage events did Orb ingest per hour since 2026-10-01\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"timeframe_start":{"description":"Start of the window (inclusive), ISO 8601 in UTC, for example 2026-10-01T00:00:00Z.","maxLength":40,"title":"Timeframe Start","type":"string"},"timeframe_end":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"End of the window (exclusive), ISO 8601; defaults to now.","title":"Timeframe End"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 100).","title":"Limit"},"cursor":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Pagination cursor: the pagination_metadata.next_cursor value of the previous page.","title":"Cursor"}},"required":["timeframe_start"],"title":"get_event_volumeArguments","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/get_billable_metric":{"post":{"operationId":"get_billable_metric","summary":"Get one billable metric by Orb id: name, description, status, the SQL that defines it and its item. Use for \"Show the Or","description":"Get one billable metric by Orb id: name, description, status, the SQL that defines it and its item. Use for \"Show the Orb billable metric bm_1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"metric_id":{"description":"Orb billable metric id, for example 'bm_1'.","maxLength":200,"title":"Metric Id","type":"string"}},"required":["metric_id"],"title":"get_billable_metricArguments","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}}}}