GET
/
api
/
enterprise
/
opportunities
/
saved_searches
/
{id}
/
search
curl --request GET \
  --url https://app.govly.com/api/enterprise/opportunities/saved_searches/{id}/search \
  --header 'X-API-KEY: <api-key>'
{
  "results": [
    {
      "id": "<string>",
      "aiEstimatedValueMax": 123,
      "aiEstimatedValueMin": 123,
      "aiLineItems": {
        "products": [
          {
            "vendor": "<string>",
            "product": "<string>",
            "quantity": 123,
            "description": "<string>",
            "partNumber": "<string>"
          }
        ],
        "services": [
          {
            "vendor": "<string>",
            "service": "<string>",
            "quantity": 123,
            "description": "<string>",
            "partNumber": "<string>"
          }
        ]
      },
      "aiPeriodOfPerformance": "<string>",
      "aiRawCompetingProducts": [
        "<string>"
      ],
      "aiRawCompetingVendors": [
        {
          "name": "<string>",
          "website": "<string>"
        }
      ],
      "aiRawProducts": [
        "<string>"
      ],
      "aiRawVendors": [
        {
          "name": "<string>",
          "website": "<string>"
        }
      ],
      "aiSummary": "<string>",
      "aiTitle": "<string>",
      "attachments": [
        {
          "checksum": "<string>",
          "filename": "<string>",
          "url": "<string>"
        }
      ],
      "buyer": {
        "id": "<string>",
        "hierarchy": [
          "<string>"
        ],
        "hierarchyIds": [
          "<string>"
        ],
        "name": "<string>"
      },
      "contractVehicle": "<string>",
      "displayName": "<string>",
      "externalIdentifier": "<string>",
      "identifier": "<string>",
      "lastSummarizedAt": "<string>",
      "uniqueKey": "<string>",
      "url": "<string>",
      "modifiedAt": "<string>",
      "highlights": {
        "[field_name]": [
          "<string>"
        ]
      }
    }
  ],
  "meta": {
    "currentPage": 123,
    "per": 123,
    "total": 123,
    "totalPages": 123
  }
}
BETA This endpoint is currently in development and may change in the future.

Request

id
string
required

ID of the saved search to execute

per
integer
default:50

Number of results per page (max: 100)

page
integer
default:1

Page number for pagination

sort
string

Which date field to use for sorting. Must be one of: ‘relevance’, ‘posted_at’, ‘modified_at’ or ‘respond_by’. Default: falls back to saved search date range parameter

sort_direction
string
default:"desc"

Sort direction for results (‘asc’ or ‘desc’, default: falls back to saved search sort direction)

start_date
string

Start date for filtering results (ISO 8601 format, default: 1 day ago)

end_date
string

End date for filtering results (ISO 8601 format, default: current date)

date_range_param
string

Which date field to use for date range filtering. Must be one of: ‘posted_at’, ‘modified_at’, or ‘respond_by’. Default: falls back to saved search date range parameter

Response

results
array

Array of opportunity objects matching the search criteria

meta
object

Pagination metadata