POST
/
api
/
corpora
/
{corpus_id}
/
sources

Authorizations

X-API-Key
string
header
required

API key

Path Parameters

corpus_id
string
required

Body

application/json

A source of documents for building a corpus. A source defines where documents are pulled from.

corpusId
string

The id of this source's corpus.

created
string

When this source was created.

description
string

A description of this source.

loadSpec
object

How to load documents for this source.

name
string

The name of this source.

sourceId
string

The unique ID of this source.

stats
object

The current stats for this source.

Response

201 - application/json

A source of documents for building a corpus. A source defines where documents are pulled from.

corpusId
string

The id of this source's corpus.

created
string

When this source was created.

description
string

A description of this source.

loadSpec
object

How to load documents for this source.

name
string

The name of this source.

sourceId
string

The unique ID of this source.

stats
object

The current stats for this source.