List of regex patterns for file paths to exclude. Files whose paths (including filename) match any pattern will be excluded. Example: [‘/temp/’, ‘/backup/’, ‘.git/’, ‘.tmp$’, ’^~’]
folder_id?: string | null
The ID of the Sharepoint folder to read from.
folder_path?: string | null
The path of the Sharepoint folder to read from.
get_permissions?: boolean
Whether to get permissions for the sharepoint site.
include_path_patterns?: Array<string> | null
List of regex patterns for file paths to include. Full paths (including filename) must match at least one pattern to be included. Example: [‘/reports/’, ‘/docs/..pdf$’, ‘^Report..pdf$’]
Configuration for handling failures during processing. Key-value object controlling failure handling behaviors.
Example:
{
“skip_list_failures”: true
}
Currently supports:
skip_list_failures: Skip failed batches/lists and continue processing
skip_list_failures?: boolean
Whether to skip failed batches/lists and continue processing
index_restricted_pages?: boolean
Whether to index restricted pages.
keep_markdown_format?: boolean
Whether to keep the markdown format.
label?: string | null
The label to use for fetching pages.
page_ids?: string | null
The page IDs of the Confluence to read from.
space_key?: string | null
The space key to read from.
supports_access_control?: boolean
sync_permissions?: boolean
Whether to fetch space-level permissions (allowed users/groups) and attach them to document metadata for access control. Disable for Confluence Server/Data Center versions whose permission APIs are unavailable (e.g. the JSON-RPC API removed in Data Center 9.2.6+), which otherwise surface as 401 errors during sync.
The version of the reader to use for this data source.
One of the following:
"1.0"
"2.0"
"2.1"
Get Data Source
import LlamaCloud from '@llamaindex/llama-cloud';const client = new LlamaCloud({ apiKey: process.env['LLAMA_CLOUD_API_KEY'], // This is the default and can be omitted});const dataSource = await client.dataSources.get('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');console.log(dataSource.id);
Note for AI agents: this documentation is built for programmatic access.
- Overview of all docs: https://developers.llamaindex.ai/llms.txt
- Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md
- Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters.
- A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/python/shared/mcp/