Search Stages
Search_Stages returns GovTribe pipeline stage records, including the stage owner, creator, and parent pipeline context needed for capture-workflow analysis.
When To Use
Typical questions this tool answers well:
Which stage records match a known stage name, stage ID, or pipeline ID?
Which stages are owned or created by a specific workspace user?
Which stages belong to a specific pipeline before creating or reordering pursuits?
How many stages match a filter set before requesting row payloads?
Which stage types are present in a pipeline (for example user, triage, or terminal)?
Which stage IDs should be passed into other capture workflows that depend on stage context?
Required Reading
Search_Query_Guide: Required before setting free-text query strings when search_mode is used.
Search_Mode_Guide: Required before choosing keyword vs semantic retrieval.
Input Contract
query: Free-text query string. See Required Reading: Search_Query_Guide.type:stringrequired:nodefault:n/a
page: 1-based page index.type:null|numberrequired:nodefault:1
per_page: Rows per page.type:null|numberrequired:nodefault:10
search_mode: Query interpretation mode. See Required Reading: Search_Mode_Guide.type:stringrequired:nodefault:keywordoptions:keyword,semantic
owner_ids: Filter by owners. Use GovTribe IDs.type:array<string>required:nodefault:n/a
owner_ids_operator: Choose whether to include or exclude values for Owner GovTribe IDs.type:null|stringrequired:nodefault:inoptions:in,not_in
creator_ids: Filter by creators. Use GovTribe IDs.type:array<string>required:nodefault:n/a
creator_ids_operator: Choose whether to include or exclude values for Creator GovTribe IDs.type:null|stringrequired:nodefault:inoptions:in,not_in
pipeline_ids: Filter by pipelines. Use GovTribe IDs.type:array<string>required:nodefault:n/a
pipeline_ids_operator: Choose whether to include or exclude values for Pipeline GovTribe IDs.type:null|stringrequired:nodefault:inoptions:in,not_in
stage_ids: Include or exclude results by GovTribe IDs.type:array<string>required:nodefault:n/a
stage_ids_operator: Choose whether to include or exclude values for GovTribe IDs.type:null|stringrequired:nodefault:inoptions:in,not_in
fields_to_return: Optional field list for row payloads. If omitted andper_page > 0, rows default togovtribe_id. Forper_page: 0aggregation/meta calls, this field may be omitted. Specifyfields_to_returnwhenever the user asks for fields beyondgovtribe_id, and prefer omitting it in pure aggregation workflows.type:array<string>required:nodefault:n/aoptions:govtribe_id,govtribe_type,govtribe_url,name,description,type,created_at,updated_at,owner,creator,pipeline
Output Contract
Top-level keys:
current_page: Current page number whenper_page > 0.data: Array of result rows whenper_page > 0.from: First row position in the current page.last_page: Last page number for current filters.path: GovTribe search URL for this result set.per_page: Applied page size.to: Last row position in the current page.total: Total matched row count for current query filters.contains: Dataset label for the returned result set.search_results_id_can_generate_saved_search: Saved-search eligibility flag.search_results_id: Server-side search result identifier.view_search_results_url: URL to open this exact result set.per_page: 0behavior: response omits pagination keys anddata, returning metadata keys only.
Row keys:
govtribe_idgovtribe_typegovtribe_urlnamedescriptiontypecreated_atupdated_atownercreatorpipeline
Relationship retrieval map:
creatorresource_type:usertool:Search_Usersfilter:user_idsnested_keys:govtribe_id,govtribe_type,name,email
ownerresource_type:usertool:Search_Usersfilter:user_idsnested_keys:govtribe_id,govtribe_type,name,email
pipelineresource_type:pipelinetool:Search_Pipelinesfilter:pipeline_idsnested_keys:govtribe_id,govtribe_type,govtribe_url,name
Usage Patterns
Pattern A: Resolve stages for a single pipeline before pursuit triage or stage reordering work. Tool: Search_Stages
Pattern B: Find stages by exact stage-name phrases across all accessible pipelines. Tool: Search_Stages
Pattern C: Return a metadata-only count before fetching rows for owner-filtered stage analysis. Tool: Search_Stages
Then rerun with per_page > 0 and the same filters when you need row payloads.
Pattern D: Exclude specific pipelines while exploring stage vocabulary with semantic mode. Tool: Search_Stages
Last updated
Was this helpful?
