{"openapi":"3.1.0","info":{"title":"Congress.gov Records (BYOK) API","version":"0.1.0","description":"Congress.gov Records (BYOK) lets an AI assistant read your own Congress.gov Records data through the Congress.gov Records API with a key you supply (api.data.gov API key for Congress.gov). Read-only: 11 tools (list_house_communications, get_house_communication, list_senate_communications, get_senate_communication, list_house_requirements, get_house_requirement,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-congress-records.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-congress-records/docs"},"termsOfService":"https://connectorbay.com/byok-congress-records/terms"},"servers":[{"url":"https://byok-congress-records.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-congress-records/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_house_communications":{"post":{"operationId":"list_house_communications","summary":"List communications received by the House (executive communications, presidential messages, petitions, memorials) of one","description":"List communications received by the House (executive communications, presidential messages, petitions, memorials) of one type in one Congress. Use for \"List the executive communications received by the House in the 117th Congress\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"congress":{"description":"Congress number, for example 117 for the Congress that began in January 2021.","maximum":200,"minimum":1,"title":"Congress","type":"integer"},"communication_type":{"description":"House communication type: ec (executive communication), pm (presidential message), pt (petition) or ml (memorial).","enum":["ec","pm","pt","ml"],"title":"Communication Type","type":"string"},"from_date_time":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated at or after this time, format YYYY-MM-DDT00:00:00Z.","title":"From Date Time"},"to_date_time":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated at or before this time, format YYYY-MM-DDT00:00:00Z.","title":"To Date Time"},"limit":{"anyOf":[{"maximum":250,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 250).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of records to skip; 0 starts at the first record.","title":"Offset"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"}},"required":["congress","communication_type"],"title":"list_house_communicationsArguments","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_house_communication":{"post":{"operationId":"get_house_communication","summary":"Get one House communication: abstract, submitting agency, Congressional Record date, committees it was referred to and t","description":"Get one House communication: abstract, submitting agency, Congressional Record date, committees it was referred to and the matching requirement. Use for \"Show House executive communication 1 of the 115th Congress\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"congress":{"description":"Congress number, for example 117 for the Congress that began in January 2021.","maximum":200,"minimum":1,"title":"Congress","type":"integer"},"communication_type":{"description":"House communication type: ec (executive communication), pm (presidential message), pt (petition) or ml (memorial).","enum":["ec","pm","pt","ml"],"title":"Communication Type","type":"string"},"communication_number":{"description":"Communication number, for example 1.","maximum":100000,"minimum":1,"title":"Communication Number","type":"integer"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"}},"required":["congress","communication_type","communication_number"],"title":"get_house_communicationArguments","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_senate_communications":{"post":{"operationId":"list_senate_communications","summary":"List communications received by the Senate (executive communications, petitions or memorials, presidential messages) of ","description":"List communications received by the Senate (executive communications, petitions or memorials, presidential messages) of one type in one Congress. Use for \"List the executive communications received by the Senate in the 117th Congress\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"congress":{"description":"Congress number, for example 117 for the Congress that began in January 2021.","maximum":200,"minimum":1,"title":"Congress","type":"integer"},"communication_type":{"description":"Senate communication type: ec (executive communication), pom (petition or memorial) or pm (presidential message).","enum":["ec","pom","pm"],"title":"Communication Type","type":"string"},"from_date_time":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated at or after this time, format YYYY-MM-DDT00:00:00Z.","title":"From Date Time"},"to_date_time":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated at or before this time, format YYYY-MM-DDT00:00:00Z.","title":"To Date Time"},"limit":{"anyOf":[{"maximum":250,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 250).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of records to skip; 0 starts at the first record.","title":"Offset"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"}},"required":["congress","communication_type"],"title":"list_senate_communicationsArguments","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_senate_communication":{"post":{"operationId":"get_senate_communication","summary":"Get one Senate communication: abstract, Congressional Record date and the committees it was referred to. Use for \"Show S","description":"Get one Senate communication: abstract, Congressional Record date and the committees it was referred to. Use for \"Show Senate executive communication 2561 of the 117th Congress\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"congress":{"description":"Congress number, for example 117 for the Congress that began in January 2021.","maximum":200,"minimum":1,"title":"Congress","type":"integer"},"communication_type":{"description":"Senate communication type: ec (executive communication), pom (petition or memorial) or pm (presidential message).","enum":["ec","pom","pm"],"title":"Communication Type","type":"string"},"communication_number":{"description":"Communication number, for example 2561.","maximum":100000,"minimum":1,"title":"Communication Number","type":"integer"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"}},"required":["congress","communication_type","communication_number"],"title":"get_senate_communicationArguments","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_house_requirements":{"post":{"operationId":"list_house_requirements","summary":"List House reporting requirements (recurring reports that agencies must send to the House), with number and update date.","description":"List House reporting requirements (recurring reports that agencies must send to the House), with number and update date. Use for \"List House reporting requirements\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":250,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 250).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of records to skip; 0 starts at the first record.","title":"Offset"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"},"from_date_time":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated at or after this time, format YYYY-MM-DDT00:00:00Z.","title":"From Date Time"},"to_date_time":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated at or before this time, format YYYY-MM-DDT00:00:00Z.","title":"To Date Time"}},"title":"list_house_requirementsArguments","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_house_requirement":{"post":{"operationId":"get_house_requirement","summary":"Get one House reporting requirement: parent and submitting agency, frequency, nature, legal authority and the number of ","description":"Get one House reporting requirement: parent and submitting agency, frequency, nature, legal authority and the number of matching communications. Use for \"Show House requirement 12478\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"requirement_number":{"description":"Requirement number, for example 12478.","maximum":10000000,"minimum":1,"title":"Requirement Number","type":"integer"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"}},"required":["requirement_number"],"title":"get_house_requirementArguments","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_daily_congressional_record_volumes":{"post":{"operationId":"list_daily_congressional_record_volumes","summary":"List issues of the daily Congressional Record, newest first, with volume, issue number, date, Congress and session. Use ","description":"List issues of the daily Congressional Record, newest first, with volume, issue number, date, Congress and session. Use for \"Show the latest issues of the daily Congressional Record\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":250,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 250).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of records to skip; 0 starts at the first record.","title":"Offset"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"}},"title":"list_daily_congressional_record_volumesArguments","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_daily_congressional_record_issues":{"post":{"operationId":"list_daily_congressional_record_issues","summary":"List the issues of one volume of the daily Congressional Record. Use for \"List the issues in volume 167 of the daily Con","description":"List the issues of one volume of the daily Congressional Record. Use for \"List the issues in volume 167 of the daily Congressional Record\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"volume_number":{"description":"Volume number, for example 167.","maximum":1000,"minimum":1,"title":"Volume Number","type":"integer"},"limit":{"anyOf":[{"maximum":250,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 250).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of records to skip; 0 starts at the first record.","title":"Offset"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"}},"required":["volume_number"],"title":"list_daily_congressional_record_issuesArguments","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_daily_congressional_record_articles":{"post":{"operationId":"list_daily_congressional_record_articles","summary":"List the articles (speeches, bills introduced, other sections) of one daily Congressional Record issue. Use for \"What ar","description":"List the articles (speeches, bills introduced, other sections) of one daily Congressional Record issue. Use for \"What articles are in issue 21 of volume 167 of the Congressional Record\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"volume_number":{"description":"Volume number, for example 167.","maximum":1000,"minimum":1,"title":"Volume Number","type":"integer"},"issue_number":{"description":"Issue number, for example 21.","maximum":1000,"minimum":1,"title":"Issue Number","type":"integer"},"limit":{"anyOf":[{"maximum":250,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 250).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of records to skip; 0 starts at the first record.","title":"Offset"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"}},"required":["volume_number","issue_number"],"title":"list_daily_congressional_record_articlesArguments","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_bound_congressional_record":{"post":{"operationId":"list_bound_congressional_record","summary":"List bound Congressional Record issues for a year, optionally narrowed to a month, with date, volume, Congress and page ","description":"List bound Congressional Record issues for a year, optionally narrowed to a month, with date, volume, Congress and page ranges. Use for \"List the bound Congressional Record issues of 1990\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"year":{"description":"Year, for example 1990.","maximum":2100,"minimum":1873,"title":"Year","type":"integer"},"limit":{"anyOf":[{"maximum":250,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 250).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of records to skip; 0 starts at the first record.","title":"Offset"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"}},"required":["year"],"title":"list_bound_congressional_recordArguments","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_crs_reports":{"post":{"operationId":"list_crs_reports","summary":"List Congressional Research Service products (reports, posts, resources, infographics, testimony) with id, title, publis","description":"List Congressional Research Service products (reports, posts, resources, infographics, testimony) with id, title, publish date and status. Use for \"What are the latest Congressional Research Service reports\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"limit":{"anyOf":[{"maximum":250,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 250).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of records to skip; 0 starts at the first record.","title":"Offset"},"format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Response format. Only json is offered here.","title":"Format"},"from_date_time":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated at or after this time, format YYYY-MM-DDT00:00:00Z.","title":"From Date Time"},"to_date_time":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Only items updated at or before this time, format YYYY-MM-DDT00:00:00Z.","title":"To Date Time"}},"title":"list_crs_reportsArguments","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}}}}