> This page is for API Reference & Tools.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.moveworks.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.moveworks.com/_mcp/server.

# Get content source

GET https://api.moveworks.ai/configurations/v1alpha1/tool/search/content-sources/{id}

Returns one content source by its `id`.

Reference: https://docs.moveworks.com/api-reference/configuration-api/content-forms/content-sources/get-content-source

## Authentication

- `Authorization` header (bearer token, required) — JWT bearer token authentication. Include the Configuration API key in the Authorization header as 'Bearer \<token>'.

## Request

### Path parameters

- `id` (string, required) — The `id` of the content source, as returned when it was created or listed.

## Response

### 200

The content source

- `id` (string, optional) — Unique identifier of the content source, assigned by the server. Cannot be changed.
- `name` (string, optional) — Display name of the content source. Required.
- `system` (enum, optional) — External system the content is ingested from, such as Box, Confluence, Google Drive, Jira, Outlook, SharePoint & OneDrive, Slack, ServiceNow, Unily, Zendesk or GitHub. Cannot be changed after creation.
  - Allowed values: `EXTERNAL_SYSTEM_BOX`, `EXTERNAL_SYSTEM_SERVICE_NOW`, `EXTERNAL_SYSTEM_CONFLUENCE`, `EXTERNAL_SYSTEM_GDRIVE`, `EXTERNAL_SYSTEM_JIRA`, `EXTERNAL_SYSTEM_OUTLOOK`, `EXTERNAL_SYSTEM_SHAREPOINT_ONEDRIVE`, `EXTERNAL_SYSTEM_SLACK`, `EXTERNAL_SYSTEM_UNILY`, `EXTERNAL_SYSTEM_ZENDESK`, `EXTERNAL_SYSTEM_GITHUB`
- `connector_selection` (ConnectorSelection, optional) — The connector used to ingest the content and the connection method with its options. Required.
- `scope` (ScopeSelection, optional) — Which containers in the source (for example knowledge bases, spaces, sites, drives, folders or categories) are ingested: all, only selected ones, or all except selected ones.
- `filter_conditions` (FilterRules, optional) — Optional filters that include or exclude specific content from ingestion. All conditions must match.
- `url_override` (ContentUrlOverride, optional) — Optional templates that rewrite the links to articles and attachments shown to users, for example to point to a custom portal.
- `audience` (Audience, optional) — Users who have access to this content: all users, selected users, or no users. Defaults to no users on create.
- `version` (Version, optional) — Document version. On update, send back the num from your last read.
- `updated_time` (datetime, optional) — When the configuration was last updated.
- `updated_by` (string, optional) — Who last updated the configuration.

## Errors

### 401 Unauthorized Error

Unauthorized - the `Authorization` header is missing or the token is invalid

- `error` (ErrorResponseError, required)

### 403 Forbidden Error

Forbidden - the API key isn't allowed to change this configuration, or the configuration is frozen for your organization

- `error` (ErrorResponseError, required)

### 404 Not Found Error

Not found - no item with this `id` exists in your organization

- `error` (ErrorResponseError, required)

### 429 Too Many Requests Error

Too many requests - the organization exceeded the Configuration API rate limit. Back off and retry.

- `error` (ErrorResponseError, required)

### 500 Internal Server Error

Internal server error - retry the request

- `error` (ErrorResponseError, required)

## Types

### ConnectorSelection

- `connector_id` (string, optional) — The connector through which the content is ingested. Cannot be changed after creation. ID of an existing connector (GET /configurations/v1alpha1/platform/connectors).
- `confluence_service_account_method` (ContentSourceConfluenceServiceAccountMethod, optional) — Connect to Confluence using a service account.
- `confluence_forge_app_method` (ContentSourceConfluenceForgeAppMethod, optional) — Connect to Confluence using the Moveworks Forge app.
- `servicenow_common_method` (ServiceNowCommonMethod, optional) — Connect to ServiceNow, with options for knowledge base ingestion and live search.
- `gdrive_oauth2_method` (GDriveOAuth2Method, optional) — Connect to Google Drive using OAuth 2.0.
- `gdrive_service_account_method` (GDriveServiceAccountMethod, optional) — Connect to Google Drive using a service account.
- `box_oauth2_method` (BoxOAuth2Method, optional) — Connect to Box using OAuth 2.0.
- `box_client_credentials_grant_method` (BoxClientCredentialsGrantMethod, optional) — Connect to Box using the client credentials grant.
- `sharepoint_online_one_drive_method` (SharepointOnlineOneDriveMethod, optional) — Connect to SharePoint Online and OneDrive, with options for site ingestion and live search.
- `zendesk_basic_auth_method` (ZendeskBasicAuthMethod, optional) — Connect to Zendesk using basic authentication.
- `unily_oauth2_method` (UnilyOAuth2Method, optional) — Connect to Unily using OAuth 2.0.
- `slack_workspace_connect_method` (SlackWorkspaceConnectMethod, optional) — Connect to a Slack workspace.
- `outlook_oauth2_user_consent_grant_method` (OutlookOAuth2UserConsentGrantMethod, optional) — Connect to Outlook using OAuth 2.0 with user consent, with options for live search of email and calendar.
- `jira_oauth2_user_consent_grant_method` (JiraOAuth2UserConsentGrantMethod, optional) — Connect to Jira using OAuth 2.0 with user consent.
- `github_oauth2_user_consent_grant_method` (GithubOAuth2UserConsentGrantMethod, optional) — Connect to GitHub using OAuth 2.0 with user consent.

### ScopeSelection

- `all` (boolean, optional) — If true, all containers in the source are ingested.
- `selected_ids` (ResourceList, optional) — Ingest only the listed containers.
- `all_except_selected_ids` (ResourceList, optional) — Ingest all containers except the listed ones.

### FilterRules

- `conditions` (list of FilterCondition, optional) — Filter conditions. A record must match all conditions to be included.
- `item_ref` (string, optional) — Identifier of the stored filter group, assigned by the server. Leave unset on create; on update, send back the value from your last read so the group is matched correctly.

### ContentUrlOverride

- `default_article_override` (UrlTemplate, optional) — URL template applied to article links by default.
- `default_attachment_override` (UrlTemplate, optional) — URL template applied to attachment links by default.
- `per_resource_overrides` (list of PerResourceUrlOverride, optional) — URL templates that apply only to specific containers, such as particular knowledge bases or spaces, overriding the defaults.

### Audience

- `all_users` (boolean, optional) — If true, the content is available to all users.
- `selected_users` (SelectedUsers, optional) — The content is available only to the listed users.
- `no_users` (boolean, optional) — If true, the content is not available to any users.

### Version

- `num` (integer, optional) — Version number set by the server. On update, send the num from your last read; a stale num is rejected as a conflict.
- `change_description` (string, optional) — A short note describing this change. Required on every create and update.

### ErrorResponseError

- `code` (string, optional) — A machine-readable error code.
- `message` (string, optional) — What went wrong, and for a rejected field, which rule it broke.

### ContentSourceConfluenceServiceAccountMethod

### ContentSourceConfluenceForgeAppMethod

### ServiceNowCommonMethod

- `add_knowledge_bases` (boolean, optional) — If true, selected ServiceNow knowledge bases (or all) are ingested so published articles and attachments can be searched.
- `live_search_enabled` (boolean, optional) — If true, ServiceNow records are searched in real time through APIs without being ingested. Live search becomes active only after user ingestion completes.
- `custom_base_url` (string, optional) — Custom base URL used only to build links to ServiceNow articles shown in search results. If set, must be a valid URI; checked when saved.

### GDriveOAuth2Method

- `allow_content_from_personal_drives` (boolean, optional) — If true, content from users personal Google Drives is ingested. If false, only shared drives and specified folders are ingested.

### GDriveServiceAccountMethod

- `customer_id` (string, optional) — Google Workspace (G Suite) customer ID of your organization, required for the service account to access user data.

### BoxOAuth2Method

- `allow_content_from_personal_folders` (boolean, optional) — If true, content from users personal Box folders is ingested. If false, only shared or specified folders are ingested.

### BoxClientCredentialsGrantMethod

### SharepointOnlineOneDriveMethod

- `live_search_for_onedrive_enabled` (boolean, optional) — If true, users can search OneDrive content in real time.
- `live_search_for_sharepoint_enabled` (boolean, optional) — If true, users can search SharePoint content in real time.
- `add_sites_for_sharepoint` (boolean, optional) — If true, selected SharePoint sites (or all) are ingested for a more complete search experience.

### ZendeskBasicAuthMethod

### UnilyOAuth2Method

### SlackWorkspaceConnectMethod

### OutlookOAuth2UserConsentGrantMethod

- `live_search_for_outlook_email_enabled` (boolean, optional) — If true, users can search their Outlook email in real time.
- `live_search_for_outlook_calendar_enabled` (boolean, optional) — If true, users can search their Outlook calendar events in real time.

### JiraOAuth2UserConsentGrantMethod

- `instance_url` (string, optional) — URL of your Jira instance, for example https://your-domain.atlassian.net/.

### GithubOAuth2UserConsentGrantMethod

### ResourceList

- `ids` (list of string, optional) — Identifiers of the containers in the external system, such as knowledge base IDs, space keys, site, drive or folder IDs, or category IDs.

### FilterCondition

- `key` (string, optional) — Name of the field to filter on.
- `comparator` (enum, optional) — How the field value is compared to the value, such as equals, not equals, less than, greater than, in, not in, or like.
  - Allowed values: `COMPARISON_OPERATOR_UNSPECIFIED`, `COMPARISON_OPERATOR_LT`, `COMPARISON_OPERATOR_LE`, `COMPARISON_OPERATOR_GT`, `COMPARISON_OPERATOR_GE`, `COMPARISON_OPERATOR_EQ`, `COMPARISON_OPERATOR_NEQ`, `COMPARISON_OPERATOR_IN`, `COMPARISON_OPERATOR_NOT_IN`, `COMPARISON_OPERATOR_LIKE`, `COMPARISON_OPERATOR_NLIKE`
- `value` (FilterConditionValue, optional, nullable) — The static value to compare the field against.
- `item_ref` (string, optional) — Row identifier assigned by the server. Leave unset on create; on update, send back the value from your last read so the row is matched correctly.

### UrlTemplate

- `scheme` (string, optional) — URL scheme for generated links. Must be https://. Checked when saved.
- `base_url` (string, optional) — Base URL for generated links, without the scheme, for example instance.service-now.com or instance.atlassian.net/wiki.
- `url_path` (string, optional) — URL path for generated links, for example servicedesk/customer/kb/view. Used for Confluence links.
- `custom_slug` (string, optional) — Custom slug used in ServiceNow article links, for example sp in https://instance.service-now.com/sp/kb_article/sys_id. Default is esc.
- `custom_id` (string, optional) — Custom ID used in ServiceNow article links, for example kb_article in https://instance.service-now.com/esc/kb_article/sys_id. Default is kb_article.

### PerResourceUrlOverride

- `resource_ids` (list of string, optional) — Containers this override applies to, such as ServiceNow knowledge base IDs or Confluence space keys.
- `article_override` (UrlTemplate, optional) — URL template for article links in the listed containers.
- `attachment_override` (UrlTemplate, optional) — URL template for attachment links in the listed containers.
- `item_ref` (string, optional) — Row identifier assigned by the server. Leave unset on create; on update, send back the value from your last read so the row is matched correctly.

### SelectedUsers

- `user_emails` (list of string, optional) — Email addresses of the users who can access the content.

### FilterConditionValue

The static value to compare the field against.

- string
- double
- integer
- boolean
- map from string to any
- list of any

## Examples

**Response**

```json
{
  "id": "3f6c1e2a-8b4d-4c7e-9a1f-2d5b6c7e8f90",
  "name": "example-name",
  "system": "EXTERNAL_SYSTEM_BOX",
  "connector_selection": {
    "connector_id": "<connector-uuid>",
    "confluence_service_account_method": {}
  },
  "scope": {
    "all": true
  },
  "filter_conditions": {
    "conditions": [
      {
        "key": "<string>",
        "comparator": "COMPARISON_OPERATOR_UNSPECIFIED",
        "value": "<string>"
      }
    ]
  },
  "url_override": {
    "default_article_override": {
      "scheme": "<string>",
      "base_url": "https://example.com/path",
      "url_path": "https://example.com/path",
      "custom_slug": "<string>",
      "custom_id": "<id>"
    },
    "default_attachment_override": {
      "scheme": "<string>",
      "base_url": "https://example.com/path",
      "url_path": "https://example.com/path",
      "custom_slug": "<string>",
      "custom_id": "<id>"
    },
    "per_resource_overrides": [
      {
        "resource_ids": [
          "<id>"
        ],
        "article_override": {},
        "attachment_override": {},
        "item_ref": "<string>"
      }
    ]
  },
  "audience": {
    "all_users": true
  },
  "version": {
    "num": 2,
    "change_description": "Initial setup"
  },
  "updated_time": "2026-11-12T18:04:11Z",
  "updated_by": "admin@example.com"
}
```

**SDK Code**

```python Content Sources endpoints_getContentSource_example
import requests

url = "https://api.moveworks.ai/configurations/v1alpha1/tool/search/content-sources/id"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Content Sources endpoints_getContentSource_example
const url = 'https://api.moveworks.ai/configurations/v1alpha1/tool/search/content-sources/id';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Content Sources endpoints_getContentSource_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.moveworks.ai/configurations/v1alpha1/tool/search/content-sources/id"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Content Sources endpoints_getContentSource_example
require 'uri'
require 'net/http'

url = URI("https://api.moveworks.ai/configurations/v1alpha1/tool/search/content-sources/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Content Sources endpoints_getContentSource_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.moveworks.ai/configurations/v1alpha1/tool/search/content-sources/id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Content Sources endpoints_getContentSource_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.moveworks.ai/configurations/v1alpha1/tool/search/content-sources/id', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Content Sources endpoints_getContentSource_example
using RestSharp;

var client = new RestClient("https://api.moveworks.ai/configurations/v1alpha1/tool/search/content-sources/id");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Content Sources endpoints_getContentSource_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.moveworks.ai/configurations/v1alpha1/tool/search/content-sources/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```