USAspending API ReferenceIndependent
Try the API

LLM Filter Search

POST/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.

POST/api/v2/llm/filter-search/

Response

The contract doesn't describe this body.

Recent changes

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.

Loading…