API reference

Discovery

24 endpoints under /v1/discovery.

The ranked feed: open notices with this org's fit and stage beside each.

get/v1/discovery/opportunities

With q it is a search over the platform index; other filters still narrow the results, rows carry the matching passage, and sort=relevance orders by match quality.

Requiresdiscovery:read

Query parameters

  • sortstringoptional
  • limitintegeroptional
  • offsetintegeroptional
  • record_shownbooleanoptional

    Record these rows as shown to the caller (the feed page). False for search and autocomplete.

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

Add a solicitation from a buyer's own portal as an opportunity with its package files.

post/v1/discovery/opportunities

Optionally files it in this org's Library. Resubmitting the same page updates it.

Requiresdiscovery:write

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Form fields

  • titlestringrequired
  • buyerstringrequired
  • source_urlstringoptional
  • solicitation_numberstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

One opportunity with this org's fit, stage and files.

get/v1/discovery/opportunities/{opportunity_id}

Side-effect free: the file listing refreshes via POST …/documents/sync and an open is recorded by POST …/opened.

Requiresdiscovery:read

Path parameters

  • opportunity_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

Write Arthur's brief on whether to bid.

post/v1/discovery/opportunities/{opportunity_id}/bid-no-bid

Recorded on the pipeline entry; a person overrules it by setting the stage.

Requiresdiscovery:write

Path parameters

  • opportunity_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

List opportunity documents

get/v1/discovery/opportunities/{opportunity_id}/documents

Requiresdiscovery:read

Path parameters

  • opportunity_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

The file's bytes, or a redirect to the source when we hold none.

get/v1/discovery/opportunities/{opportunity_id}/documents/{document_id}/download

Bytes are proxied rather than presigned because raw objects are stored compressed. Access is checked against the document's own rights.

Requiresdiscovery:read

Path parameters

  • opportunity_idstring (uuid)required
  • document_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

Turn a notice into a proposal with deadlines and package attached.

post/v1/discovery/opportunities/{opportunity_id}/pursue

Charged as discovery.pursue (the enrichment fee) with proposal_create's limits. A bid the organization already pursued is refused and its reservation refunded, so a second click costs nothing.

Requiresdiscovery:write

Path parameters

  • opportunity_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

The notice in plain sentences: scope, eligibility, requirements, deadlines.

get/v1/discovery/opportunities/{opportunity_id}/summary

Written on first view and cached; the original description stays available.

Requiresdiscovery:read

Path parameters

  • opportunity_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

The org's library: every opportunity it has added, with each row's update digest.

get/v1/discovery/pipeline

Per-stage counts cover the whole library, not just the filtered rows.

Requiresdiscovery:read

Query parameters

  • stagestringoptional
  • starredbooleanoptional
  • owner_idstring (uuid)optional
  • category_idstring (uuid)optional

    Only bids filed under this category

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

Update pipeline entry

patch/v1/discovery/pipeline/{opportunity_id}

Requiresdiscovery:write

Path parameters

  • opportunity_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Request body

  • stageenumoptional
    consideringtrackingqualifyingpursuingsubmittedwon
  • starredbooleanoptional
  • owner_idstring (uuid)optional
  • notesstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

File a Library bid under exactly these categories (the same ones documents use).

put/v1/discovery/pipeline/{opportunity_id}/categories

Requiresdiscovery:write

Path parameters

  • opportunity_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Request body

  • category_idsstring (uuid)[]optional

Failures return the error envelope; branch on error_code.

Request
Response

Update pipeline entries

post/v1/discovery/pipeline/bulk

Requiresdiscovery:write

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Request body

  • opportunity_idsstring (uuid)[]required
  • stageenumoptional
    consideringtrackingqualifyingpursuingsubmittedwon
  • starredbooleanoptional
  • owner_idstring (uuid)optional

Failures return the error envelope; branch on error_code.

Request
Response

What changed on the opportunities in the library, newest first.

get/v1/discovery/pipeline/updates

Requiresdiscovery:read

Query parameters

  • opportunity_idstring (uuid)optional
  • beforestring (date-time)optional
  • limitintegeroptional

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

Get profile

get/v1/discovery/profile

Requiresdiscovery:read

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

Update profile

put/v1/discovery/profile

Requiresdiscovery:write

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Request body

  • naics_codesstring[]optional
  • classification_codesstring[]optional
  • certificationsstring[]optional
  • geographiesstring[]optional

Failures return the error envelope; branch on error_code.

Request
Response

Re-score every open notice for this org now instead of at the next sweep.

post/v1/discovery/profile/rematch

Queued as the org's own resumable job, so a request timeout or deploy cannot drop it; fit scores in the feed move when it lands.

Requiresdiscovery:write

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

The enrichment fee the pursue route will charge this organization, from the live price.

get/v1/discovery/pursue/quote

Requiresdiscovery:read

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

List saved searches

get/v1/discovery/saved-searches

Requiresdiscovery:read

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

Create saved search

post/v1/discovery/saved-searches

Requiresdiscovery:write

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Request body

  • namestringrequired
  • filtersobjectoptional

    Feed filter predicate. All fields optional; absent means no constraint.

  • alert_enabledbooleanoptional
  • sharedbooleanoptional

    Org-wide rather than owned by the caller.

Failures return the error envelope; branch on error_code.

Request
Response

Update saved search

patch/v1/discovery/saved-searches/{search_id}

Requiresdiscovery:write

Path parameters

  • search_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Request body

  • namestringoptional
  • filtersobjectoptional

    Feed filter predicate. All fields optional; absent means no constraint.

  • alert_enabledbooleanoptional

Failures return the error envelope; branch on error_code.

Request
Response

Delete saved search

delete/v1/discovery/saved-searches/{search_id}

Requiresdiscovery:write

Path parameters

  • search_idstring (uuid)required

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

The search's hits now, newest first, flagged when the last alert pass had not announced them.

get/v1/discovery/saved-searches/{search_id}/hits

Read-only: moves no alert state and records nothing.

Requiresdiscovery:read

Path parameters

  • search_idstring (uuid)required

Query parameters

  • limitintegeroptional

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response

Every bid source by its registry name, so the feed never keeps its own copy of the names.

get/v1/discovery/sources

Requiresdiscovery:read

Headers

  • X-Organization-IDstringoptional
  • X-Workspace-IDstringoptional

Failures return the error envelope; branch on error_code.

Request
Response