Skip to main content
POST
Create sources

Headers

x-anyreach-org
string | null

Organization ID for user PATs (pat_ prefix tokens)

Body

application/json
name
string
required
type
enum<string>
required
Available options:
FILE,
URL
chunking_strategy
ChunkingStrategy · object
required
id
string | null
domain
string | null
file_processor
enum<string>
default:pymupdf
Available options:
pymupdf
url_crawl_options
CrawlOptions · object | null
file_size
integer | null

Response

Successful Response

id
string<uuid>
required
organization_id
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
type
enum<string>
required
Available options:
FILE,
URL
name
string
required
file_upload_status
enum<string>
required
Available options:
PENDING,
IN_PROGRESS,
COMPLETE,
FAILED
chunking_strategy
ChunkingStrategy · object
required
created_by
string | null
modified_by
string | null
domain
string | null
file_processor
enum<string>
default:pymupdf
Available options:
pymupdf
file_size
integer | null
description
string | null
presigned_url
string | null
content_type
string | null