Search Pipelines
Search_Pipelines returns GovTribe pipeline records with owner, creator, and stage context so callers can navigate and manage capture workflows.
When To Use
Typical questions this tool answers well:
Which pipeline matches a specific pipeline name?
Which pipelines are owned by or created by a specific user?
Which stage IDs exist inside a pipeline so I can create a pursuit in the right stage?
Which pipelines should be included or excluded by explicit GovTribe IDs?
How many pipelines match filters before fetching full rows?
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: Include or exclude results by GovTribe IDs.type:array<string>required:nodefault:n/a
pipeline_ids_operator: Choose whether to include or exclude values for GovTribe IDs.type:null|stringrequired:nodefault:inoptions:in,not_in
sort: Sort configuration.type:objectrequired:nodefault:n/ashape:{ key?: null|string, direction?: null|string }options:key:updated_at,created_at,_score;direction:asc,desc
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,created_at,updated_at,owner,creator,stages
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 row/pagination keys and returnspath,total,contains,search_results_id_can_generate_saved_search,search_results_id, andview_search_results_url.
Row keys:
govtribe_idgovtribe_typegovtribe_urlnamedescriptioncreated_atupdated_atownercreatorstages
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
stagesresource_type:stagetool:Search_Stagesfilter:stage_idsnested_keys:govtribe_id,govtribe_type,govtribe_url,name,type
Usage Patterns
Pattern A: Resolve a pipeline by exact pipeline name. Tool: Search_Pipelines
Pattern B: Find pipelines owned by a specific user (after resolving user ID with Search_Users). Tool: Search_Pipelines
Pattern C: Exclude known pipelines while searching conceptually. Tool: Search_Pipelines
Pattern D: Get match count and reusable result links without fetching rows. Tool: Search_Pipelines
Pattern E: Find a destination pipeline and extract a triage-stage ID for pursuit creation. Tool: Search_Pipelines
Then select data[0].stages entry where type is triage (or the desired non-terminal user stage) and pass that stage ID into Create_Pursuit.
Last updated
Was this helpful?
