{"openapi":"3.1.0","info":{"title":"GSA Open APIs (BYOK) API","version":"0.1.0","description":"GSA Open APIs (BYOK) lets an AI assistant read your own GSA Open APIs data through the GSA Open APIs API with a key you supply (api.data.gov API key). Read-only: 7 tools (get_per_diem_by_city, get_per_diem_by_state, get_per_diem_by_zip, get_conus_lodging_rates, get_conus_meals_rates, list_federal_websites, get_federal_website). The BYOK key travels with each request, is used for that one call...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-gsa.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-gsa/docs"},"termsOfService":"https://connectorbay.com/byok-gsa/terms"},"servers":[{"url":"https://byok-gsa.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-gsa/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/get_per_diem_by_city":{"post":{"operationId":"get_per_diem_by_city","summary":"Get the federal per diem lodging rate for each month and the meals and incidental expenses rate for a city in a fiscal y","description":"Get the federal per diem lodging rate for each month and the meals and incidental expenses rate for a city in a fiscal year. Use for \"What is the federal per diem for Arlington, VA this fiscal year\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"city":{"description":"City name (case-insensitive); leave out periods and write apostrophes and hyphens as spaces, for example 'Arlington'.","maxLength":80,"title":"City","type":"string"},"state":{"description":"Two-letter US state code, for example VA.","maxLength":2,"title":"State","type":"string"},"year":{"description":"Federal fiscal year of travel, for example 2026 (the service offers about three years).","maximum":2100,"minimum":2000,"title":"Year","type":"integer"}},"required":["city","state","year"],"title":"get_per_diem_by_cityArguments","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_per_diem_by_state":{"post":{"operationId":"get_per_diem_by_state","summary":"Get federal per diem rates for the destinations of a state in a fiscal year: monthly lodging and meals and incidental ex","description":"Get federal per diem rates for the destinations of a state in a fiscal year: monthly lodging and meals and incidental expenses. Use for \"Show the federal per diem rates for Virginia\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"state":{"description":"Two-letter US state code, for example VA.","maxLength":2,"title":"State","type":"string"},"year":{"description":"Federal fiscal year of travel, for example 2026 (the service offers about three years).","maximum":2100,"minimum":2000,"title":"Year","type":"integer"}},"required":["state","year"],"title":"get_per_diem_by_stateArguments","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_per_diem_by_zip":{"post":{"operationId":"get_per_diem_by_zip","summary":"Get the federal per diem rates that apply to a ZIP code in a fiscal year: monthly lodging, meals and incidental expenses","description":"Get the federal per diem rates that apply to a ZIP code in a fiscal year: monthly lodging, meals and incidental expenses, county and city. Use for \"What is the federal per diem for ZIP 22202\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"zip":{"description":"Destination ZIP code.","maxLength":10,"title":"Zip","type":"string"},"year":{"description":"Federal fiscal year of travel, for example 2026 (the service offers about three years).","maximum":2100,"minimum":2000,"title":"Year","type":"integer"}},"required":["zip","year"],"title":"get_per_diem_by_zipArguments","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_conus_lodging_rates":{"post":{"operationId":"get_conus_lodging_rates","summary":"List the continental US lodging per diem rates for every locality in a fiscal year, one row per locality with a rate for","description":"List the continental US lodging per diem rates for every locality in a fiscal year, one row per locality with a rate for each month (first 100 rows). Use for \"Which localities have lodging per diem above the standard rate\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"year":{"description":"Federal fiscal year of travel, for example 2026 (the service offers about three years).","maximum":2100,"minimum":2000,"title":"Year","type":"integer"}},"required":["year"],"title":"get_conus_lodging_ratesArguments","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_conus_meals_rates":{"post":{"operationId":"get_conus_meals_rates","summary":"Get the continental US meals and incidental expenses per diem breakdown by rate tier for a fiscal year: total, breakfast","description":"Get the continental US meals and incidental expenses per diem breakdown by rate tier for a fiscal year: total, breakfast, lunch, dinner, incidental and first/last day. Use for \"How is the federal meals per diem split between breakfast, lunch and dinner\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"year":{"description":"Federal fiscal year of travel, for example 2026 (the service offers about three years).","maximum":2100,"minimum":2000,"title":"Year","type":"integer"}},"required":["year"],"title":"get_conus_meals_ratesArguments","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_federal_websites":{"post":{"operationId":"list_federal_websites","summary":"List federal websites scanned by the Site Scanning program with scan status, final address, analytics, design system and","description":"List federal websites scanned by the Site Scanning program with scan status, final address, analytics, design system and security results; filter by domain, owner or status. Use for \"Which websites does the Department of Energy own that no longer resolve\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"target_url_domain":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Domain of the scanned address, for example gsa.gov.","title":"Target Url Domain"},"final_url_domain":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Domain the scanned address finally resolves to.","title":"Final Url Domain"},"target_url_agency_owner":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Agency that owns the website.","title":"Target Url Agency Owner"},"target_url_bureau_owner":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Bureau that owns the website.","title":"Target Url Bureau Owner"},"scan_status":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Scan status to filter by, for example completed.","title":"Scan Status"},"final_url_live":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to list only websites whose final address is live.","title":"Final Url Live"},"target_url_redirects":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to list only websites that redirect.","title":"Target Url Redirects"},"dap_detected_final_url":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to list only websites where the Digital Analytics Program tag was detected.","title":"Dap Detected Final Url"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Websites per page (1 to 100).","title":"Limit"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_federal_websitesArguments","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_federal_website":{"post":{"operationId":"get_federal_website","summary":"Get the full Site Scanning result for one federal website address: scan status, redirects, analytics, design system, thi","description":"Get the full Site Scanning result for one federal website address: scan status, redirects, analytics, design system, third-party services, security headers and ownership. Use for \"Show the site scanning results for gsa.gov\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"target_url":{"description":"Website address as scanned, for example gsa.gov.","maxLength":200,"title":"Target Url","type":"string"}},"required":["target_url"],"title":"get_federal_websiteArguments","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}}}}