{"openapi":"3.1.0","info":{"title":"HubSpot CMS HubDB (BYOK) API","version":"0.1.0","description":"HubSpot CMS HubDB (BYOK) lets an AI assistant read your own HubSpot CMS HubDB data through the HubSpot CMS HubDB API with a key you supply (HubSpot private app access token (scope: hubdb)). Read-only: 7 tools (list_hubdb_tables, list_hubdb_draft_tables, get_hubdb_table, get_hubdb_draft_table, list_hubdb_rows, list_hubdb_draft_rows, get_hubdb_row). The BYOK key travels with each request, is used...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-hubspot-cms-hubdb.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-hubspot-cms-hubdb/docs"},"termsOfService":"https://connectorbay.com/byok-hubspot-cms-hubdb/terms"},"servers":[{"url":"https://byok-hubspot-cms-hubdb.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-hubspot-cms-hubdb/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_hubdb_tables":{"post":{"operationId":"list_hubdb_tables","summary":"List published HubDB tables with name, label, row and column counts and dates. Use for \"What HubDB tables does the accou","description":"List published HubDB tables with name, label, row and column counts and dates. Use for \"What HubDB tables does the account have\".","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 tables to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging cursor: paging.next.after from the previous answer. Leave out for the first page.","title":"After"},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived items instead of active ones.","title":"Archived"},"content_type":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Filter by content type, for example 'application/json'.","title":"Content Type"}},"title":"list_hubdb_tablesArguments","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_hubdb_draft_tables":{"post":{"operationId":"list_hubdb_draft_tables","summary":"List HubDB tables in their draft state (unpublished changes included) with name, label, counts and dates. Use for \"Which","description":"List HubDB tables in their draft state (unpublished changes included) with name, label, counts and dates. Use for \"Which HubDB tables have draft changes\".","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 tables to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging cursor: paging.next.after from the previous answer. Leave out for the first page.","title":"After"},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived items instead of active ones.","title":"Archived"}},"title":"list_hubdb_draft_tablesArguments","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_hubdb_table":{"post":{"operationId":"get_hubdb_table","summary":"Get one published HubDB table with its settings and column definitions (name, label, type). Use for \"What columns does t","description":"Get one published HubDB table with its settings and column definitions (name, label, type). Use for \"What columns does the store_locations HubDB table have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"table_id_or_name":{"description":"Id of the HubDB table (a numeric string) or its name (for example 'store_locations').","maxLength":200,"title":"Table Id Or Name","type":"string"},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived items instead of active ones.","title":"Archived"}},"required":["table_id_or_name"],"title":"get_hubdb_tableArguments","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_hubdb_draft_table":{"post":{"operationId":"get_hubdb_draft_table","summary":"Get one HubDB table as its draft with settings and column definitions. Use for \"What does the draft of the store_locatio","description":"Get one HubDB table as its draft with settings and column definitions. Use for \"What does the draft of the store_locations HubDB table look like\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"table_id_or_name":{"description":"Id of the HubDB table (a numeric string) or its name (for example 'store_locations').","maxLength":200,"title":"Table Id Or Name","type":"string"},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived items instead of active ones.","title":"Archived"}},"required":["table_id_or_name"],"title":"get_hubdb_draft_tableArguments","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_hubdb_rows":{"post":{"operationId":"list_hubdb_rows","summary":"List rows of a published HubDB table with row id, path, name and the column values. Use for \"Show the rows of the store_","description":"List rows of a published HubDB table with row id, path, name and the column values. Use for \"Show the rows of the store_locations HubDB table\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"table_id_or_name":{"description":"Id of the HubDB table (a numeric string) or its name (for example 'store_locations').","maxLength":200,"title":"Table Id Or Name","type":"string"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many items to return (1 to 1000).","title":"Limit"},"after":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging cursor: paging.next.after from the previous answer. Leave out for the first page.","title":"After"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of rows to skip (alternative to the paging cursor).","title":"Offset"},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived items instead of active ones.","title":"Archived"}},"required":["table_id_or_name"],"title":"list_hubdb_rowsArguments","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_hubdb_draft_rows":{"post":{"operationId":"list_hubdb_draft_rows","summary":"List rows of a HubDB table in draft state, including unpublished changes, with row id, path, name and the column values.","description":"List rows of a HubDB table in draft state, including unpublished changes, with row id, path, name and the column values. Use for \"Show the draft rows of the store_locations HubDB table\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"table_id_or_name":{"description":"Id of the HubDB table (a numeric string) or its name (for example 'store_locations').","maxLength":200,"title":"Table Id Or Name","type":"string"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many items to return (1 to 1000).","title":"Limit"},"after":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging cursor: paging.next.after from the previous answer. Leave out for the first page.","title":"After"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of rows to skip (alternative to the paging cursor).","title":"Offset"},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived items instead of active ones.","title":"Archived"}},"required":["table_id_or_name"],"title":"list_hubdb_draft_rowsArguments","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_hubdb_row":{"post":{"operationId":"get_hubdb_row","summary":"Get one row of a published HubDB table by row id. Use for \"What is HubDB row 7001 in store_locations\".","description":"Get one row of a published HubDB table by row id. Use for \"What is HubDB row 7001 in store_locations\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"table_id_or_name":{"description":"Id of the HubDB table (a numeric string) or its name (for example 'store_locations').","maxLength":200,"title":"Table Id Or Name","type":"string"},"row_id":{"description":"Id of the row (a numeric string such as '7001').","maxLength":200,"title":"Row Id","type":"string"},"archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived items instead of active ones.","title":"Archived"}},"required":["table_id_or_name","row_id"],"title":"get_hubdb_rowArguments","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}}}}