# Conductor

> Read keyword rankings and AI search visibility (brand mentions, citations, sentiment and answers) from Conductor, and research, write and score SEO content with its Writing Assistant.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/conductor

## Actions

### Create content profile

Add a content profile: a voice, tone, audience and terms to avoid for generated content.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Name (`name`, text, required): The profile's name.
- Description (`description`, text): What the profile is for.
- Voice and tone (`voice_tone`, text): The voice and tone to write in, such as `Confident and friendly`.
- Audience (`audience`, text): Who the content is for, such as `Marketing managers`.
- Terms to avoid (`excluded_terms`, list): Words and phrases generated content must not use.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "accountId": 1,
    "audience": "example",
    "created": "example",
    "createdBy": 1,
    "description": "example",
    "draftCount": 1,
    "id": "example",
    "languageRules": [
      {
        "extraTerm": "example",
        "term": "example",
        "type": "example"
      }
    ],
    "name": "example",
    "updated": "example",
    "updatedBy": 1,
    "voiceTone": "example"
  }
}
```

### Create draft

Start a Writing Assistant draft for some topics. Each draft counts against your Conductor Creator allowance.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Draft name (`draft_title`, text, required): A name for the draft in Conductor (not the page's title tag).
- Topics (`topics`, list, required): The keywords or topics the draft is written to rank for.
- Search engine (`rank_source_id`, text, required): The search engine and language the draft is written for, such as Google US English.
- Web property (`web_property_id`, text): The site the draft is for.
- Competitor URLs (`competitor_urls`, list): Competitor pages to learn from, usually picked from Get SERP URLs.
- Existing page (`page`, text): The address of an existing page on your site to optimize in this draft.
- Title tag (`title`, text): The page's title tag.
- Meta description (`meta_description`, text): The page's meta description.
- Body copy (`body_copy`, text): The draft's main text.
- Content profile (`content_profile_id`, text): The content profile (voice, tone and audience) to write with.
- Knowledge sources (`knowledge_source_ids`, list): Knowledge sources whose facts the draft should use.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "accountId": 1,
    "assignee": 1,
    "bodyCopy": "example",
    "competitorUrls": [
      "example"
    ],
    "contentProfileId": "example",
    "created": "example",
    "createdBy": 1,
    "draftTitle": "example",
    "id": "example",
    "metaDescription": "example",
    "page": "example",
    "rankSourceId": 1,
    "status": "TO_DO",
    "title": "example",
    "topics": [
      "example"
    ],
    "updated": "example",
    "updatedBy": 1,
    "versionId": "example",
    "webPropertyId": 1
  }
}
```

### Delete content profile

Delete a content profile, so it is no longer offered for new drafts.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Content profile (`content_profile_id`, text, required): The content profile.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "content_profile_id": "example",
    "deleted": true
  }
}
```

### Delete draft

Delete a draft and its content.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Draft (`draft_id`, text, required): The Writing Assistant draft.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "draft_id": "example"
  }
}
```

### Generate content

Have Conductor's AI write for a draft: title tags, meta descriptions, an outline, a full draft, or a revised, expanded or shortened text.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Draft (`draft_id`, text, required): The Writing Assistant draft.
- Write (`mode`, text, required): What to write. One of: `generate_title_tags` (Title tags), `generate_meta_descriptions` (Meta descriptions), `generate_content_outline` (Outline), `generate_draft` (Full draft), `revise_draft` (Revise text), `expand_text` (Expand an outline section), `shorten_text` (Shorten text).
- Text (`text`, text): The text to work from: the text to revise or shorten, the body copy to describe (meta descriptions) or the outline (expand).
- Instructions (`instructions`, text): Extra instructions for a full draft, an outline or a revision.
- Keyword (`keyword`, text): The main keyword to use (title tags, meta descriptions, expand).
- Sections (`sections`, list): The outline sections to expand, written as they appear in the outline.
- Voice and tone (`voice_and_tone`, text): The voice and tone to write in (full draft, revision).
- Audience (`audience`, text): Who the text is for (full draft, revision, expand).
- Terms to avoid (`terms_to_exclude`, list): Words and phrases to keep out of the text (full draft, revision).
- Brand name (`brand_name`, text): Your brand name, to add to title tags.
- Most characters (`max_characters`, number): The longest a title tag or meta description may be, in characters. At least 1.
- How many (`count`, number): How many meta descriptions to suggest. From 1 to 10.
- Target length (`target_length`, number): Roughly how many words the shortened text should have. At least 1.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "content": "example",
    "descriptions": [
      "example"
    ],
    "draft": "example",
    "outline": "example",
    "shortenedText": "example",
    "titles": [
      "example"
    ]
  }
}
```

### Get AI search brand mentions

Get which brands and products AI search engines mentioned in their answers to your tracked prompts.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Start date (`start_date`, date): The first day of the period. Weekly data starts on a Sunday and monthly on the 1st, so the date is moved back to that day. Leave both dates empty for the last full week (or month).
- End date (`end_date`, date): The last day of the period. Weekly data ends on a Saturday and monthly on the month's last day, so the date is moved forward to that day. Leave empty to end with the start date's week (or month).
- Frequency (`collection_frequency`, text): How often the data is collected, which sets the length of each period. One of: `DAILY`, `WEEKLY`, `MONTHLY`. Default: `WEEKLY`.
- Web properties (`web_property_ids`, list): Only these web properties (the sites you track). Leave empty for all.
- AI search engines (`ai_search_engines`, list): Only answers from these AI search engines. Leave empty for all. One or more of: `chatgpt`, `chatgptsearch` (ChatGPT (Search)), `chatgptrichresults` (ChatGPT rich results), `claude`, `googleaimode` (Google AI Mode), `googleaio` (Google AI Overviews), `googlegemini` (Google Gemini), `grok`, `mscopilot` (Microsoft Copilot), `perplexity`.
- Topics (`topics`, list): Only prompts in these tracked topics. Leave empty for all.
- Prompt type (`prompt_type`, text): Only branded or only unbranded prompts. Leave empty for both. One of: `branded` (Branded prompts), `unbranded` (Unbranded prompts).
- Locations (`locodes`, list): Only these locations, as Conductor's location codes: a country (`US`), a city (`US NYC`) or a state (`US-TX`). Leave empty for all.
- Brands or products (`brand_or_product_names`, list): Only mentions of these brands or products. Leave empty for all.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "end_date": "example",
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "account_id": 1,
        "account_name": "example",
        "ai_response_collected": true,
        "ai_search_engine": "example",
        "brand_or_product_attribution": "example",
        "brand_or_product_entity_type": "example",
        "brand_or_product_name": "example",
        "collection_frequency": "example",
        "intent": "example",
        "language": "example",
        "locode": "example",
        "organization_id": "example",
        "organization_name": "example",
        "persona": "example",
        "prompt": "example",
        "prompt_group_names": "example",
        "prompt_type": "example",
        "time_period_end": "example",
        "time_period_start": "example",
        "topic": "example",
        "web_property_id": 1,
        "web_property_name": "example",
        "web_search_triggered": true
      }
    ],
    "start_date": "example",
    "total_row_count": 1
  }
}
```

### Get AI search citations

Get the pages AI search engines cited as sources in their answers to your tracked prompts.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Start date (`start_date`, date): The first day of the period. Weekly data starts on a Sunday and monthly on the 1st, so the date is moved back to that day. Leave both dates empty for the last full week (or month).
- End date (`end_date`, date): The last day of the period. Weekly data ends on a Saturday and monthly on the month's last day, so the date is moved forward to that day. Leave empty to end with the start date's week (or month).
- Frequency (`collection_frequency`, text): How often the data is collected, which sets the length of each period. One of: `DAILY`, `WEEKLY`, `MONTHLY`. Default: `WEEKLY`.
- Web properties (`web_property_ids`, list): Only these web properties (the sites you track). Leave empty for all.
- AI search engines (`ai_search_engines`, list): Only answers from these AI search engines. Leave empty for all. One or more of: `chatgpt`, `chatgptsearch` (ChatGPT (Search)), `chatgptrichresults` (ChatGPT rich results), `claude`, `googleaimode` (Google AI Mode), `googleaio` (Google AI Overviews), `googlegemini` (Google Gemini), `grok`, `mscopilot` (Microsoft Copilot), `perplexity`.
- Topics (`topics`, list): Only prompts in these tracked topics. Leave empty for all.
- Prompt type (`prompt_type`, text): Only branded or only unbranded prompts. Leave empty for both. One of: `branded` (Branded prompts), `unbranded` (Unbranded prompts).
- Locations (`locodes`, list): Only these locations, as Conductor's location codes: a country (`US`), a city (`US NYC`) or a state (`US-TX`). Leave empty for all.
- Cited domains (`root_domains`, list): Only citations of pages on these root domains, such as `example.com`. Leave empty for all.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "end_date": "example",
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "account_id": 1,
        "account_name": "example",
        "ai_response_collected": true,
        "ai_search_engine": "example",
        "citation_attribution": "example",
        "citation_domain": "example",
        "citation_title": "example",
        "citation_url": "example",
        "citation_web_property_segment": "example",
        "collection_frequency": "example",
        "intent": "example",
        "language": "example",
        "locode": "example",
        "organization_id": "example",
        "organization_name": "example",
        "persona": "example",
        "prompt": "example",
        "prompt_group_names": "example",
        "prompt_type": "example",
        "time_period_end": "example",
        "time_period_start": "example",
        "topic": "example",
        "web_property_id": 1,
        "web_property_name": "example",
        "web_search_triggered": true
      }
    ],
    "start_date": "example",
    "total_row_count": 1
  }
}
```

### Get AI search responses

Get the full answers AI search engines gave to your tracked prompts.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Start date (`start_date`, date): The first day of the period. Weekly data starts on a Sunday and monthly on the 1st, so the date is moved back to that day. Leave both dates empty for the last full week (or month).
- End date (`end_date`, date): The last day of the period. Weekly data ends on a Saturday and monthly on the month's last day, so the date is moved forward to that day. Leave empty to end with the start date's week (or month).
- Frequency (`collection_frequency`, text): How often the data is collected, which sets the length of each period. One of: `DAILY`, `WEEKLY`, `MONTHLY`. Default: `WEEKLY`.
- Web properties (`web_property_ids`, list): Only these web properties (the sites you track). Leave empty for all.
- AI search engines (`ai_search_engines`, list): Only answers from these AI search engines. Leave empty for all. One or more of: `chatgpt`, `chatgptsearch` (ChatGPT (Search)), `chatgptrichresults` (ChatGPT rich results), `claude`, `googleaimode` (Google AI Mode), `googleaio` (Google AI Overviews), `googlegemini` (Google Gemini), `grok`, `mscopilot` (Microsoft Copilot), `perplexity`.
- Topics (`topics`, list): Only prompts in these tracked topics. Leave empty for all.
- Locations (`locodes`, list): Only these locations, as Conductor's location codes: a country (`US`), a city (`US NYC`) or a state (`US-TX`). Leave empty for all.
- Most rows (`max_rows`, number): The most answers to return, up to 1,000. Leave empty for 1,000. From 1 to 1000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "end_date": "example",
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "account_id": 1,
        "account_name": "example",
        "ai_response": "example",
        "ai_search_engine": "example",
        "ai_search_engine_id": "example",
        "collection_date": "example",
        "collection_frequency": "example",
        "intent": "example",
        "language": "example",
        "locode": "example",
        "organization_id": "example",
        "organization_name": "example",
        "persona": "example",
        "prompt": "example",
        "prompt_group_names": "example",
        "time_period_end": "example",
        "time_period_start": "example",
        "topic": "example",
        "web_property_id": 1,
        "web_property_name": "example"
      }
    ],
    "start_date": "example",
    "total_row_count": 1
  }
}
```

### Get AI search sentiment

Get how AI search engines spoke about brands in their answers: positive, neutral or negative, with the snippet and its source.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Start date (`start_date`, date): The first day of the period. Weekly data starts on a Sunday and monthly on the 1st, so the date is moved back to that day. Leave both dates empty for the last full week (or month).
- End date (`end_date`, date): The last day of the period. Weekly data ends on a Saturday and monthly on the month's last day, so the date is moved forward to that day. Leave empty to end with the start date's week (or month).
- Frequency (`collection_frequency`, text): How often the data is collected, which sets the length of each period. One of: `DAILY`, `WEEKLY`, `MONTHLY`. Default: `WEEKLY`.
- Web properties (`web_property_ids`, list): Only these web properties (the sites you track). Leave empty for all.
- AI search engines (`ai_search_engines`, list): Only answers from these AI search engines. Leave empty for all. One or more of: `chatgpt`, `chatgptsearch` (ChatGPT (Search)), `chatgptrichresults` (ChatGPT rich results), `claude`, `googleaimode` (Google AI Mode), `googleaio` (Google AI Overviews), `googlegemini` (Google Gemini), `grok`, `mscopilot` (Microsoft Copilot), `perplexity`.
- Topics (`topics`, list): Only prompts in these tracked topics. Leave empty for all.
- Prompt type (`prompt_type`, text): Only branded or only unbranded prompts. Leave empty for both. One of: `branded` (Branded prompts), `unbranded` (Unbranded prompts).
- Locations (`locodes`, list): Only these locations, as Conductor's location codes: a country (`US`), a city (`US NYC`) or a state (`US-TX`). Leave empty for all.
- Brands (`sentiment_brands`, list): Only what was said about these brands. Leave empty for all.
- Sentiment (`sentiment_values`, list): Only these sentiments. Leave empty for all. One or more of: `positive`, `neutral`, `negative`.
- Subjects (`sentiment_categories`, list): Only remarks about these subjects. Leave empty for all. One or more of: `misc`, `quality`, `price`, `service`, `user-friendliness` (User friendliness), `experience`, `popularity`, `health`, `ethics`.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "end_date": "example",
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "account_id": 1,
        "account_name": "example",
        "ai_response_collected": true,
        "ai_search_engine": "example",
        "brand_or_product_entity_type": "example",
        "collection_frequency": "example",
        "intent": "example",
        "language": "example",
        "locode": "example",
        "organization_id": "example",
        "organization_name": "example",
        "persona": "example",
        "prompt": "example",
        "prompt_group_names": "example",
        "prompt_type": "example",
        "sentiment_brand": "example",
        "sentiment_brand_or_product": "example",
        "sentiment_category": "example",
        "sentiment_score": 1,
        "sentiment_snippet": "example",
        "sentiment_source_domain": "example",
        "sentiment_source_url": "example",
        "sentiment_value": "example",
        "time_period_end": "example",
        "time_period_start": "example",
        "topic": "example",
        "web_property_id": 1,
        "web_property_name": "example",
        "web_search_triggered": true
      }
    ],
    "start_date": "example",
    "total_row_count": 1
  }
}
```

### Get AI search tracking setup

List an account's AI search topics, prompts, prompt groups, engines, locations, languages, brands, personas or intents, whichever you choose.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- List (`config_type`, text): What to list. One of: `topics`, `prompts`, `prompt_groups` (Prompt groups), `search_engines` (Search engines), `locales` (Locations), `languages`, `brands`, `personas`, `intents`. Default: `topics`.
- Include inactive (`include_inactive`, true/false): Include topics and prompts that are no longer tracked. Default: `false`.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "has_more": true,
    "row_count": 1,
    "rows": [
      {}
    ],
    "total_row_count": 1
  }
}
```

### Get content insights

Get a draft's SEO recommendations (terms, headings, questions, length and readability) and whether they are ready yet.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Draft (`draft_id`, text, required): The Writing Assistant draft.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "insightsStatus": "example",
    "results": {
      "contentProfile": {
        "accountId": 1,
        "audience": "example",
        "created": "example",
        "createdBy": 1,
        "description": "example",
        "draftCount": 1,
        "id": "example",
        "languageRules": [
          {
            "extraTerm": "example",
            "term": "example",
            "type": "example"
          }
        ],
        "name": "example",
        "updated": "example",
        "updatedBy": 1,
        "voiceTone": "example"
      },
      "insights": [
        {
          "details": {},
          "empty": true,
          "errorCode": "example",
          "errorMessage": "example",
          "insightPresent": true,
          "status": "example",
          "summary": {
            "note": "example",
            "text": "example"
          },
          "type": "example"
        }
      ],
      "referenceDocuments": [
        {}
      ],
      "snippets": [
        {}
      ]
    },
    "snippetsStatus": "example",
    "startTime": 1,
    "status": "example"
  }
}
```

### Get content score

Score a title tag, meta description and body copy against a draft's topics, from 0 to 100, with what to improve.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Draft (`draft_id`, text, required): The Writing Assistant draft.
- Title tag (`title`, text, required): The title tag to score.
- Meta description (`meta_description`, text, required): The meta description to score.
- Body copy (`body_copy`, text, required): The body copy to score.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "intentAlignment": {
      "audienceAssessment": {},
      "intentScore": 1,
      "journeyStageAssessment": {},
      "objectiveAssessment": {}
    },
    "overallScore": 1,
    "responseId": "example",
    "topicalCoverage": {
      "coverageScore": {},
      "keyTermsAssessment": {},
      "questionsAssessment": {},
      "subtopicAssessment": {},
      "topicalCoverageScore": 1
    }
  }
}
```

### Get draft

Get a draft with its topics, status, title tag, meta description and body copy.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Draft (`draft_id`, text, required): The Writing Assistant draft.
- Version (`version_id`, text): An earlier version of the draft to read. Leave empty for the latest.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "accountId": 1,
    "assignee": 1,
    "bodyCopy": "example",
    "competitorUrls": [
      "example"
    ],
    "contentProfileId": "example",
    "created": "example",
    "createdBy": 1,
    "draftTitle": "example",
    "id": "example",
    "metaDescription": "example",
    "page": "example",
    "rankSourceId": 1,
    "status": "TO_DO",
    "title": "example",
    "topics": [
      "example"
    ],
    "updated": "example",
    "updatedBy": 1,
    "versionId": "example",
    "webPropertyId": 1
  }
}
```

### Get highest ranking URL per keyword

Get, for each tracked keyword, the URL of yours that ranked highest, over a period of up to 92 days.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Start date (`start_date`, date): The first day of the period. Weekly data starts on a Sunday and monthly on the 1st, so the date is moved back to that day. Leave both dates empty for the last full week (or month).
- End date (`end_date`, date): The last day of the period. Weekly data ends on a Saturday and monthly on the month's last day, so the date is moved forward to that day. Leave empty to end with the start date's week (or month).
- Frequency (`collection_frequency`, text): How often the data is collected, which sets the length of each period. One of: `DAILY`, `WEEKLY`. Default: `WEEKLY`.
- Web properties (`web_property_ids`, list): Only these web properties (the sites you track). Leave empty for all.
- Search engines (`rank_source_ids`, list): Only these search engines (a search engine and language, such as Google US English). Leave empty for all.
- Keyword groups (`keyword_group_ids`, list): Only keywords in these keyword groups. Leave empty for all.
- Devices (`devices`, list): Only rankings on these devices. Leave empty for all. One or more of: `DESKTOP`, `SMARTPHONE`, `TABLET`.
- Domains (`domains`, list): Only results on these domains, such as `example.com`. Leave empty for every domain in the results.
- Locations (`locodes`, list): Only these locations, as Conductor's location codes: a country (`US`), a city (`US NYC`) or a state (`US-TX`). Leave empty for all.
- Include search volume (`include_msv`, true/false): Add monthly search volume, cost per click and competition to each row. Default: `false`.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "end_date": "example",
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "account_id": 1,
        "account_name": "example",
        "approximate_search_volume": 1,
        "average_search_volume": 1,
        "collection_date": "example",
        "competition": 1,
        "cpc": 1,
        "device": "example",
        "keyword_group_ids": "example",
        "keyword_group_names": "example",
        "locode": "example",
        "msv_month": 1,
        "normalized_url": "example",
        "organization_id": "example",
        "organization_name": "example",
        "query": "example",
        "rank_result_type": 1,
        "rank_standard": 1,
        "rank_true": 1,
        "result_type": "example",
        "root_domain": "example",
        "search_engine": "example",
        "search_engine_country_code": "example",
        "search_engine_language_code": "example",
        "search_engine_name": "example",
        "subdomain": "example",
        "time_period_end": "example",
        "time_period_start": "example",
        "title": "example",
        "web_property_id": 1,
        "web_property_name": "example"
      }
    ],
    "start_date": "example",
    "total_row_count": 1
  }
}
```

### Get keyword rankings

Get the search results Conductor recorded for your tracked keywords over one week (or day): every ranking URL with its rank, search engine, device and location.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Start date (`start_date`, date): The first day of the period. Weekly data starts on a Sunday and monthly on the 1st, so the date is moved back to that day. Leave both dates empty for the last full week (or month).
- End date (`end_date`, date): The last day of the period. Weekly data ends on a Saturday and monthly on the month's last day, so the date is moved forward to that day. Leave empty to end with the start date's week (or month).
- Frequency (`collection_frequency`, text): How often the data is collected, which sets the length of each period. One of: `DAILY`, `WEEKLY`. Default: `WEEKLY`.
- Web properties (`web_property_ids`, list): Only these web properties (the sites you track). Leave empty for all.
- Search engines (`rank_source_ids`, list): Only these search engines (a search engine and language, such as Google US English). Leave empty for all.
- Keyword groups (`keyword_group_ids`, list): Only keywords in these keyword groups. Leave empty for all.
- Devices (`devices`, list): Only rankings on these devices. Leave empty for all. One or more of: `DESKTOP`, `SMARTPHONE`, `TABLET`.
- Domains (`domains`, list): Only results on these domains, such as `example.com`. Leave empty for every domain in the results.
- Locations (`locodes`, list): Only these locations, as Conductor's location codes: a country (`US`), a city (`US NYC`) or a state (`US-TX`). Leave empty for all.
- Include search volume (`include_msv`, true/false): Add monthly search volume, cost per click and competition to each row. Default: `false`.
- Best rank (`min_rank`, number): Only results ranked at this position or lower down. Leave empty for 1. From 1 to 101.
- Worst rank (`max_rank`, number): Only results ranked at this position or higher up, such as 10 for the first page. At least 1.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "end_date": "example",
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "account_id": 1,
        "account_name": "example",
        "approximate_search_volume": 1,
        "average_search_volume": 1,
        "collection_date": "example",
        "competition": 1,
        "cpc": 1,
        "device": "example",
        "keyword_group_ids": "example",
        "keyword_group_names": "example",
        "locode": "example",
        "msv_month": 1,
        "normalized_url": "example",
        "organization_id": "example",
        "organization_name": "example",
        "query": "example",
        "rank_result_type": 1,
        "rank_standard": 1,
        "rank_true": 1,
        "result_type": "example",
        "root_domain": "example",
        "search_engine": "example",
        "search_engine_country_code": "example",
        "search_engine_language_code": "example",
        "search_engine_name": "example",
        "subdomain": "example",
        "time_period_end": "example",
        "time_period_start": "example",
        "title": "example",
        "web_property_id": 1,
        "web_property_name": "example"
      }
    ],
    "start_date": "example",
    "total_row_count": 1
  }
}
```

### Get keyword tracking setup

List an account's tracked keywords, keyword groups, search engines, devices or locations, whichever you choose.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- List (`config_type`, text): What to list. Search engines come with the IDs that Create draft and the ranking steps use. One of: `keywords` (Tracked keywords), `keyword_groups` (Keyword groups), `search_engines` (Search engines), `devices`, `locales` (Locations). Default: `keywords`.
- Web property (`web_property_id`, text): Only keywords tracked for this web property (for tracked keywords).
- Keyword group (`keyword_group_id`, text): Only keywords in this keyword group (for tracked keywords).
- Include inactive (`include_inactive`, true/false): Include keywords that are no longer tracked. Default: `false`.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "has_more": true,
    "row_count": 1,
    "rows": [
      {}
    ],
    "total_row_count": 1
  }
}
```

### Get SERP URLs

Get the pages ranking in search results for one or more topics, to pick a draft's topics and competitor URLs.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Search engine (`rank_source_id`, text, required): The search engine and language to look in, such as Google US English.
- Topics (`topics`, list, required): The search terms to look up.
- Results per topic (`first`, number): How many results to return for each topic. Leave empty for 10. From 1 to 100.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "topic": "example",
        "urls": [
          "example"
        ]
      }
    ]
  }
}
```

### List accounts

List the organizations and accounts your API token can reach, with their IDs.

**Inputs**

- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "account_id": "example",
        "account_name": "example",
        "organization_id": "example",
        "organization_name": "example"
      }
    ],
    "total_row_count": 1
  }
}
```

### List competitors

List the competitor sites (comparison web properties) an account tracks, with the sites each is compared against.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "attribution_label": "example",
        "compared_against": "example",
        "root_domains": "example",
        "web_property_id": "example",
        "web_property_name": "example"
      }
    ],
    "total_row_count": 1
  }
}
```

### List content profiles

List an account's content profiles: the voice, tone, audience and terms to avoid that drafts are written with.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "content_profiles": [
      {
        "accountId": 1,
        "audience": "example",
        "created": "example",
        "createdBy": 1,
        "description": "example",
        "draftCount": 1,
        "id": "example",
        "languageRules": [
          {
            "extraTerm": "example",
            "term": "example",
            "type": "example"
          }
        ],
        "name": "example",
        "updated": "example",
        "updatedBy": 1,
        "voiceTone": "example"
      }
    ]
  }
}
```

### List drafts

List an account's Writing Assistant drafts, optionally only those with one status.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Status (`status`, text): Only drafts with this status. Leave empty for all. One of: `TO_DO` (To do), `IN_PROGRESS` (In progress), `IN_REVIEW` (In review), `APPROVED`, `PUBLISHED`.
- How many (`limit`, number): How many drafts to return. Leave empty for 20. From 1 to 100.
- Skip (`offset`, number): How many drafts to skip, to read the next page. At least 0.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "drafts": [
      {
        "accountId": 1,
        "assignee": 1,
        "competitorUrls": [
          "example"
        ],
        "contentProfileId": "example",
        "created": "example",
        "createdBy": 1,
        "draftTitle": "example",
        "id": "example",
        "page": "example",
        "rankSourceId": 1,
        "status": "TO_DO",
        "topics": [
          "example"
        ],
        "updated": "example",
        "updatedBy": 1,
        "versionId": "example",
        "webPropertyId": 1
      }
    ],
    "pagination": {
      "hasMore": true,
      "limit": 1,
      "offset": 1,
      "total": 1
    }
  }
}
```

### List page groups

List the page groups defined on an account's web properties.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Web properties (`web_property_ids`, list): Only these web properties (the sites you track). Leave empty for all.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "page_group_id": "example",
        "page_group_name": "example",
        "web_property_id": "example",
        "web_property_name": "example"
      }
    ],
    "total_row_count": 1
  }
}
```

### List web properties

List the sites (web properties) an account tracks, with their IDs and root domains.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Most rows (`max_rows`, number): The most rows to return, up to 10,000. Leave empty for 1,000. From 1 to 10000.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "columns": [
      "example"
    ],
    "has_more": true,
    "row_count": 1,
    "rows": [
      {
        "root_domains": "example",
        "web_property_id": "example",
        "web_property_name": "example"
      }
    ],
    "total_row_count": 1
  }
}
```

### Request content insights

Start working out SEO recommendations for a draft from its topics and competitors. Read them with Get content insights once they are ready.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Draft (`draft_id`, text, required): The Writing Assistant draft.
- Skip link suggestions (`skip_links`, true/false): Skip the internal link recommendations. Default: `false`.
- Analyze only (`analyze_only`, true/false): Only analyze and score, without generating content. Default: `false`.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "draft_id": "example",
    "requested": true
  }
}
```

### Update draft

Change a draft's name, topics, competitor URLs, title tag, meta description or body copy. Fields left empty stay as they are.

**Inputs**

- Account (`account_id`, text, required): The Conductor account to work in.
- Draft (`draft_id`, text, required): The Writing Assistant draft.
- Draft name (`draft_title`, text): A new name for the draft in Conductor.
- Topics (`topics`, list): The keywords or topics the draft is written to rank for.
- Competitor URLs (`competitor_urls`, list): Competitor pages to learn from, usually picked from Get SERP URLs.
- Existing page (`page`, text): The address of an existing page on your site to optimize in this draft.
- Title tag (`title`, text): The page's title tag.
- Meta description (`meta_description`, text): The page's meta description.
- Body copy (`body_copy`, text): The draft's main text.
- Content profile (`content_profile_id`, text): The content profile (voice, tone and audience) to write with.
- Knowledge sources (`knowledge_source_ids`, list): Knowledge sources whose facts the draft should use.

**Outputs**

- `data` (object): The response from Conductor.

**Example output**

```json
{
  "data": {
    "accountId": 1,
    "assignee": 1,
    "bodyCopy": "example",
    "competitorUrls": [
      "example"
    ],
    "contentProfileId": "example",
    "created": "example",
    "createdBy": 1,
    "draftTitle": "example",
    "id": "example",
    "metaDescription": "example",
    "page": "example",
    "rankSourceId": 1,
    "status": "TO_DO",
    "title": "example",
    "topics": [
      "example"
    ],
    "updated": "example",
    "updatedBy": 1,
    "versionId": "example",
    "webPropertyId": 1
  }
}
```
