{"openapi":"3.1.0","info":{"title":"AITable (BYOK) API","version":"0.1.0","description":"AITable (BYOK) lets an AI assistant read your own AITable data through the AITable API with a key you supply (AITable API token). Read-only: 7 tools (list_spaces, list_root_nodes, search_nodes, get_node, list_views, list_fields, list_records). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to aitable.ai....\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-aitable.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-aitable/docs"},"termsOfService":"https://connectorbay.com/byok-aitable/terms"},"servers":[{"url":"https://byok-aitable.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-aitable/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_spaces":{"post":{"operationId":"list_spaces","summary":"List the AITable spaces the token owner created or was invited to, with id, name and admin flag. Use for \"Which AITable ","description":"List the AITable spaces the token owner created or was invited to, with id, name and admin flag. Use for \"Which AITable spaces do I have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_spacesArguments","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_root_nodes":{"post":{"operationId":"list_root_nodes","summary":"List the top-level items (folders, datasheets, forms, dashboards) of a space's working directory. Use for \"What is at th","description":"List the top-level items (folders, datasheets, forms, dashboards) of a space's working directory. Use for \"What is at the top level of my AITable space spcX9P2xUcKst\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"space_id":{"description":"Space id, starts with 'spc', from list_spaces, for example 'spcX9P2xUcKst'.","maxLength":40,"title":"Space Id","type":"string"}},"required":["space_id"],"title":"list_root_nodesArguments","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/search_nodes":{"post":{"operationId":"search_nodes","summary":"Search a space for nodes of one type (Folder, Datasheet, Form, Dashboard or Mirror), optionally by name keyword. Use for","description":"Search a space for nodes of one type (Folder, Datasheet, Form, Dashboard or Mirror), optionally by name keyword. Use for \"Find the datasheets in my AITable space whose name contains 'inventory'\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"space_id":{"description":"Space id, starts with 'spc', from list_spaces, for example 'spcX9P2xUcKst'.","maxLength":40,"title":"Space Id","type":"string"},"type":{"description":"Node type to find.","enum":["Folder","Datasheet","Form","Dashboard","Mirror"],"title":"Type","type":"string"},"query":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Keyword to match in node names.","title":"Query"}},"required":["space_id","type"],"title":"search_nodesArguments","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_node":{"post":{"operationId":"get_node","summary":"Get one node (folder, datasheet, form ...) by id with its type and, for a folder, its children. Use for \"What is inside ","description":"Get one node (folder, datasheet, form ...) by id with its type and, for a folder, its children. Use for \"What is inside AITable folder fod23ha5NvyM5\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"space_id":{"description":"Space id, starts with 'spc', from list_spaces, for example 'spcX9P2xUcKst'.","maxLength":40,"title":"Space Id","type":"string"},"node_id":{"description":"Node id, for example a folder 'fod...' or datasheet 'dst...'.","maxLength":40,"title":"Node Id","type":"string"}},"required":["space_id","node_id"],"title":"get_nodeArguments","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_views":{"post":{"operationId":"list_views","summary":"List the views of a datasheet with id, name and type (Grid, Gallery, Kanban, Gantt ...). Use for \"Which views does my AI","description":"List the views of a datasheet with id, name and type (Grid, Gallery, Kanban, Gantt ...). Use for \"Which views does my AITable datasheet dst0vPx2577RdMN9MC have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"datasheet_id":{"description":"Datasheet id, starts with 'dst', for example 'dstWUHwzTHd2YQaXEE'.","maxLength":40,"title":"Datasheet Id","type":"string"}},"required":["datasheet_id"],"title":"list_viewsArguments","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_fields":{"post":{"operationId":"list_fields","summary":"List the columns (fields) of a datasheet with id, name and type, optionally as seen through one view. Use for \"What colu","description":"List the columns (fields) of a datasheet with id, name and type, optionally as seen through one view. Use for \"What columns does my AITable datasheet have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"datasheet_id":{"description":"Datasheet id, starts with 'dst', for example 'dstWUHwzTHd2YQaXEE'.","maxLength":40,"title":"Datasheet Id","type":"string"},"view_id":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only this view (id starting with 'viw'); the view's filters, sort and hidden columns apply.","title":"View Id"},"field_key":{"anyOf":[{"enum":["name","id"],"type":"string"},{"type":"null"}],"default":"name","description":"How fields are keyed: 'name' (default) or 'id'.","title":"Field Key"}},"required":["datasheet_id"],"title":"list_fieldsArguments","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_records":{"post":{"operationId":"list_records","summary":"List records of a datasheet with paging, optional view and a formula filter. Returns record ids, created and updated tim","description":"List records of a datasheet with paging, optional view and a formula filter. Returns record ids, created and updated times and field values. Use for \"Show the first 20 records of my AITable datasheet dstWUHwzTHd2YQaXEE\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"datasheet_id":{"description":"Datasheet id, starts with 'dst', for example 'dstWUHwzTHd2YQaXEE'.","maxLength":40,"title":"Datasheet Id","type":"string"},"view_id":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only this view (id starting with 'viw'); the view's filters, sort and hidden columns apply.","title":"View Id"},"field_key":{"anyOf":[{"enum":["name","id"],"type":"string"},{"type":"null"}],"default":"name","description":"How fields are keyed: 'name' (default) or 'id'.","title":"Field Key"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"Records per page (1 to 1000, default 100).","title":"Page Size"},"page_num":{"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page Num"},"max_records":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Return at most this many records in total (overrides paging).","title":"Max Records"},"filter_by_formula":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"AITable formula that must be true for a record, for example find(\"Vacuum\", {Title}) > 0.","title":"Filter By Formula"},"cell_format":{"anyOf":[{"enum":["json","string"],"type":"string"},{"type":"null"}],"default":"json","description":"'json' (default, typed values) or 'string' (values as text).","title":"Cell Format"}},"required":["datasheet_id"],"title":"list_recordsArguments","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}}}}