{"openapi":"3.1.0","info":{"title":"Archilogic (BYOK) API","version":"0.1.0","description":"Archilogic (BYOK) lets an AI assistant read your own Archilogic data through the Archilogic API with a key you supply (Archilogic secret access token). Read-only: 8 tools (list_buildings, get_building, list_floors, get_floor, list_spaces, list_assets, list_labels, list_custom_attribute_definitions). The BYOK key travels with each request, is used for that one call only and is never stored, logged...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-archilogic.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-archilogic/docs"},"termsOfService":"https://connectorbay.com/byok-archilogic/terms"},"servers":[{"url":"https://byok-archilogic.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-archilogic/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_buildings":{"post":{"operationId":"list_buildings","summary":"List the organization's buildings with address, creation date and the floors each contains. Use for \"Which buildings do ","description":"List the organization's buildings with address, creation date and the floors each contains. Use for \"Which buildings do we have in Archilogic\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_buildingsArguments","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_building":{"post":{"operationId":"get_building","summary":"Get one building by id with name, address and dates. Use for \"Where is this Archilogic building located\".","description":"Get one building by id with name, address and dates. Use for \"Where is this Archilogic building located\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"building_id":{"description":"Building id (UUID) as returned by list_buildings.","maxLength":200,"title":"Building Id","type":"string"}},"required":["building_id"],"title":"get_buildingArguments","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_floors":{"post":{"operationId":"list_floors","summary":"List floors (floor plans) with name, area in square metres, level, address city, archived and private flags. Returns a G","description":"List floors (floor plans) with name, area in square metres, level, address city, archived and private flags. Returns a GeoJSON feature collection; up to 200 per call. Use for \"How big is each floor in our Archilogic account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"name":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only floors with this name; wildcards are supported.","title":"Name"},"include_archived":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include archived floors.","title":"Include Archived"},"geometry":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include shape geometry (large). Leave false for attributes only.","title":"Geometry"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 200).","title":"Limit"},"offset":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"title":"list_floorsArguments","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_floor":{"post":{"operationId":"get_floor","summary":"Get one floor by id: name, area, level, address and flags. Use for \"What is the area of this floor\".","description":"Get one floor by id: name, area, level, address and flags. Use for \"What is the area of this floor\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"floor_id":{"description":"Floor id (UUID) as returned by list_floors.","maxLength":200,"title":"Floor Id","type":"string"}},"required":["floor_id"],"title":"get_floorArguments","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_spaces":{"post":{"operationId":"list_spaces","summary":"List spaces (rooms) with name, area, usage, program, height and custom id; optionally for one floor. Up to 500 per call.","description":"List spaces (rooms) with name, area, usage, program, height and custom id; optionally for one floor. Up to 500 per call. Use for \"Which rooms on this floor are meeting rooms and how large are they\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"floor_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only spaces within this floor (UUID).","title":"Floor Id"},"geometry":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include shape geometry (large). Leave false for attributes only.","title":"Geometry"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"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_assets":{"post":{"operationId":"list_assets","summary":"List furniture and equipment assets with name, categories, manufacturer, seat capacity and product id; optionally for on","description":"List furniture and equipment assets with name, categories, manufacturer, seat capacity and product id; optionally for one floor or space. Up to 1000 per call. Use for \"How many seats are there on this floor\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"floor_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only assets within this floor (UUID).","title":"Floor Id"},"space_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Only assets within this space (UUID).","title":"Space Id"},"geometry":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include shape geometry (large). Leave false for attributes only.","title":"Geometry"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many results to return (1 to 1000).","title":"Limit"},"offset":{"anyOf":[{"maximum":1000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Offset"}},"title":"list_assetsArguments","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_labels":{"post":{"operationId":"list_labels","summary":"List the labels used to tag floors, with colour and number of floors per label. Use for \"Which labels are used on our fl","description":"List the labels used to tag floors, with colour and number of floors per label. Use for \"Which labels are used on our floors\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_labelsArguments","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_custom_attribute_definitions":{"post":{"operationId":"list_custom_attribute_definitions","summary":"List the custom attribute definitions (field name, title, value type, resource type) defined for the organization. Use f","description":"List the custom attribute definitions (field name, title, value type, resource type) defined for the organization. Use for \"What custom attributes have we defined in Archilogic\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_custom_attribute_definitionsArguments","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}}}}