Create a new document

Creates a new document with the specified configurations and returns the document details including the generated document ID.

Path Params
integer
required

The unique identifier for the new application.

Body Params
string
required

The name of the document.

string
enum
required

The source type of the document.

Allowed:
string
required

The source of the document (e.g., URL, file path).

string
enum
Defaults to NEVER

How often to refresh the document.

Allowed:
config
object

Source-specific configuration options.

documentMetadata
object

Additional metadata for the document.

string

Preferred time of day for updates/refresh.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json