LLM Filter Search
/api/v2/llm/filter-search/In development. The contract marks this endpoint as under development, so the live console may return an error.
This endpoint provides a streaming response for LLM-powered search operations with advanced filtering capabilities. The response is delivered as a series of JSON chunks, allowing real-time updates on search progress, tool execution, and results.
Status: Under Development, Not currently available
Request
curl -X POST 'https://api.usaspending.gov/api/v2/llm/filter-search/' \
-H 'Content-Type: application/json' \
-d '{
"query": "Show me all contracts greater than $3M in California for IT services in 2023"
}'Request body
The contract doesn't describe this body.
Try it
Runs against the live API. Responses are real data.
/api/v2/llm/filter-search/Response
The contract doesn't describe this body.
Recent changes
- DEV-16073: Update request example to use alternate id
- DEV-16385: Add message to required fields for filter search assistant
- DEV-16073: Change pk from int to uuid
- Update filter_search.md
- DEV-14727: Adding missing json close quotes
Contract notes
The contract doesn't state its URL. This path comes from the contract's location in the repo, which mirrors the URL by convention, and matches how usaspending.gov calls it.
Only part of this contract could be read, so some fields may be missing here. The source contract has the rest.
Generated from contracts/v2/llm/filter_search.md in the USAspending API repo.