Get Contract
get_contractRetrieve a federal contract's latest transaction and total obligated/value roll-up across all modifications for award compliance and summary analysis.
Instructions
Get one contract's LATEST transaction plus a roll-up of obligation/value totals across every modification.
Award & Compliance tool. This is the SUMMARY view, for every individual
modification row use get_contract_modifications; for what vehicle it's under use
get_contract_vehicle.
- piid: award PIID (from search_contracts, search_recompetes, or a company's award
history)
Top-level keys: `contract` (the latest transaction), `transaction_rollup` (counts +
obligated/value totals across every modification, transaction_count, total_obligated,
max/latest current and potential value, first/latest action date), and `subaward_rollup`
(Pro only; who this prime paid as subs, subaward_count, total_subcontracted,
distinct_sub_vendors, top_subs; a legitimate `subaward_count: 0` means no subs, not
an error). All three are siblings, not nested inside `contract`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| piid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |