Skip to main content
POST
Search active workspaces

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
workspaceViewId
string

Saved Workspace view ID from list_workspace_views. Only cursor and perPage may accompany this field.

Pattern: ^[1-9][0-9]{0,18}$
query
string

Search workspace name/description, Opportunity display name/title, Award title/identifier, and your organization's text/select custom-field values.

Maximum string length: 30000
cursor
string

Opaque nextCursor from the previous page, bound to the actor and all filters.

perPage
integer
default:25
Required range: x <= 100
sort
enum<string>

Explicit order, replacing relevance; requires sortDirection. opportunity_respond_by is a plain date order, so ascending starts with passed deadlines; add an opportunityRespondBy range for upcoming ones. Workspaces without the sorted value follow in either direction.

Available options:
updated_at,
created_at,
opportunity_respond_by
sortDirection
enum<string>

Requires sort.

Available options:
asc,
desc
primaryFocusTypes
enum<string>[]

Primary focus types to include. Defaults to opportunity and award.

Available options:
opportunity,
award
includeWithoutPrimaryFocus
boolean
default:true

Include workspaces whose primary focus is absent.

lifecycle
enum<string>
default:current

Workspace archive state. Current excludes archived Workspaces. Opportunity dates are constrained only by explicit Opportunity filters.

Available options:
current,
archived
dismissal
enum<string>
default:not_dismissed

Personal dismissal for the authenticated user. Defaults to not_dismissed (Not dismissed), excluding their dismissals; dismissed (Dismissed) includes only their dismissals; all applies no dismissal constraint. The default also applies to saved views without this filter. Independent of shared archive, status, and Opportunity dates.

Available options:
not_dismissed,
dismissed,
all
statusGroup
enum<string>
default:open

Open includes triage, planned, and in_progress; closed includes completed and canceled; all includes both groups. Defaults to open, or to all when statusCategories or workspaceStatusIds are given. An explicit group intersects exact statuses.

Available options:
open,
closed,
all
statusCategories
enum<string>[]

Exact workspace categories. A workspace matches any selected category or workspaceStatusIds status.

Available options:
triage,
planned,
in_progress,
completed,
canceled
workspaceStatusIds
string[]

Current-organization custom workspace status IDs. A workspace matches any selected status or statusCategories category.

excludeStatusCategories
enum<string>[]

Exclude workspaces in any selected status category. Omitted when empty; intersects with statusGroup and included statuses.

Available options:
triage,
planned,
in_progress,
completed,
canceled
excludeWorkspaceStatusIds
string[]

Exclude workspaces with any selected current-organization custom status ID. Exact IDs only; keeps missing or stale status IDs. Omitted when empty; intersects with included statuses.

participants
object[]

Current-organization users or teams that participate in the workspace. A user ID may be me for the authenticated user.

excludeParticipants
object[]

Exclude workspaces followed by any selected current-organization user or team. A user ID may be me. Teams match direct team follows, not individual member follows. Omitted when empty; intersects with participants.

participantOperator
enum<string>
default:any
Available options:
any,
all
labelIds
string[]

Include workspaces with any selected label belonging to the authenticated organization.

excludeLabelIds
string[]

Exclude workspaces with any selected label belonging to the authenticated organization.

opportunitySetAsideCodes
string[]

Case-sensitive set-aside codes for the primary Opportunity. Trimmed, deduplicated, and sorted without reference-data validation, so an unknown code matches nothing. Omit or send an empty array for no constraint. Codes: SBA (small business), SBP (partial small business), 8A, HZC (HUBZone), SDVOSBC (SDVOSB), WOSB, EDWOSB, VSA (veteran-owned), SDB, MOSB, IEE, ISBEE, LAS (local area), SB150, BICIV, CUSTOM; sole-source variants are 8AN, HZS, SDVOSBS, VSS, WOSBSS, and EDWOSBSS.

Maximum array length: 100
opportunitySetAsideCodesOperator
enum<string>
default:is

Requires nonempty opportunitySetAsideCodes. is matches any selected code; is_not excludes selected codes within Opportunities only, including Opportunities without a set-aside.

Available options:
is,
is_not
opportunityBuyerIds
string[]

PublicEntity IDs for the primary Opportunity's buyers, including sub-entities. Matches any selected buyer. Deduplicated and sorted without reference-data validation. Omit or send an empty array for no constraint.

Maximum array length: 100
excludeOpportunityBuyerIds
string[]

PublicEntity IDs whose buyers, including sub-entities, exclude an Opportunity. Applies within Opportunities only and keeps Opportunities without a buyer; intersects with opportunityBuyerIds.

Maximum array length: 100
opportunityWorkWindow
enum<string>

Filters the primary Opportunity only. Active means Respond By is not past and cancellation is absent. Active or recently ended allows Respond By up to 14 days past and cancellation absent or up to 72 hours past. For both, missing Respond By requires Posted At within the past 3 calendar months, evaluated in UTC. Ended means deadline beyond 14 days, missing deadline with Posted At older than 3 months, or cancellation beyond 72 hours. Missing both dates does not establish recency or expiration. Award status does not independently exclude results. Omit for no work-window restriction; other filters are intersected.

Available options:
active,
active_or_recently_ended,
ended
opportunityWorkWindowOperator
enum<string>
default:is

Requires opportunityWorkWindow. Negation complements the window within Opportunities only; not active is not an alias for ended.

Available options:
is,
is_not
opportunityRespondByOperator
enum<string>
default:is

Requires opportunityRespondBy. Negation complements the entire range including includeMissing within Opportunities only.

Available options:
is,
is_not
opportunityRespondBy
object

Inclusive Respond By range on the workspace's primary Opportunity (workable), not related attachments. Relative days are 24-hour offsets evaluated per request. Include missing dates includes only Opportunities without a deadline, not other or null primary focuses. Omit this filter to leave deadline membership unrestricted.

customFields
object[]

Typed custom-field filters for the authenticated organization. Text uses contains/not_contains; select uses is_any_of/is_not_any_of; multiselect uses includes/includes_all/excludes; number uses equals/not_equals/gt/gte/lt/lte; date uses on/not_on/before/after with YYYY-MM-DD. Negative comparisons retain unset values. Every type also supports is_set/is_not_set without value. Option operators require an array.

Maximum array length: 50

Response

Matching workspaces

data
object[]
required
meta
object
required