Skip to main content
POST
JavaScript

Headers

authorization
string | null

Path Parameters

connector_type
string
required

Body

application/json
repo_path
string
required

Repository path in the format "owner/repo".

connector_type
string
default:github
folder_name
string | null

Optional Morphik folder for the ingested repository documents.

metadata
Metadata · object | null

Metadata applied to each document created from the repository.

include_patterns
string[] | null

Optional glob patterns restricting which files are ingested.

ignore_patterns
string[] | null

Optional glob patterns for files that should be skipped.

compress
boolean
default:true

When true, package repository files before uploading to Morphik.

force
boolean
default:false

Re-ingest the repository even if it was previously processed.

Response

Successful Response