Run in Enrichment Spreadsheet
Use this function as a column step in
deepline enrich.deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=theirstack_catalog_keywords:{}' --json
Map payload values to spreadsheet columns with
{{column_name}} placeholders.Input Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
payload.keyword_type | "technology" | "software_product" | "technology_concept" | "operational_activity" | "strategic_initiative" | "metric_or_concept" | "product_or_service_offered" | "regulation" | "threat_or_risk" | "event" | "commodity" | "industry_vertical" | "physical_equipment" | "medical_research" | "government_body" | No | Keyword type to filter by | |
payload.keyword_type_not | array | No | Exclude keywords of these types | |
payload.name_pattern | string | No | Case-insensitive text to search for in the keyword name | |
payload.slug | array | No | Keyword slug of a single keyword | |
payload.slugs | array | No | Keyword slugs of one or many keywords | |
payload.category_pattern | string | No | Case-insensitive text to search for in the keyword category. For example, data to find ‘data tools’. | |
payload.category_slug | string | No | Keyword category slug | |
payload.parent_category_slug | string | No | Keyword parent category slug | |
payload.parent_category_pattern | string | No | Case-insensitive text to search for in the keyword parent category name | |
payload.q | string | No | General search query. Searches across keyword name, keyword type, category, and parent category (case-insensitive). Results where the keyword name starts with the query are ranked first. | |
payload.starts_with | string | No | Filter keywords whose name starts with this string (e.g. ‘A’ for glossary). Special value ‘other’ selects keywords whose name does not start with letters A-Z. | |
payload.include_metadata | boolean | No | false | Deprecated, metadata is always included now |
payload.page | integer | No | 0 | Page number. |
payload.limit | integer | No | 25 | Number of results per page |
payload.query | string | No | Deepline alias for TheirStack q. Searches keyword names, types, categories, and parent categories. |
Allowed values
| Field | Allowed values |
|---|---|
payload.keyword_type | technology, software_product, technology_concept, operational_activity, strategic_initiative, metric_or_concept, product_or_service_offered, regulation, threat_or_risk, event, commodity, industry_vertical, physical_equipment, medical_research, government_body |
Output Schema
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
result.data | array | Yes | TheirStack keyword catalog results. | |
result.meta | object | No | Additional response metadata (status, paging). |
Advanced: Direct CLI
Use direct execution for single payload debugging.
deepline tools execute theirstack_catalog_keywords --payload '{}' --json
CLI flags
| Flag | Description |
|---|---|
--json | Print machine-readable output. |
--wait | Wait for terminal provider status when supported. |
--debug | Enable wait mode with additional status/log output. |
--wait-timeout SECONDS | Max seconds to wait in wait mode. |
--poll-interval SECONDS | Polling interval in seconds during wait mode. |
--timeout SECONDS | Request timeout in seconds. |
--connect-timeout SECONDS | Connection timeout in seconds. |
Cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.
- Billing mode:
no_bill.