Create source
Sources
Create source
Creates a new source. Accepts text, qna, and link source types. File sources require a dedicated endpoint. Ticket and Notion sources are not accepted.
Q&A request body limit: The total request body must not exceed 4.5 MB for Q&A sources.
POST
Create source
Authorizations
API key from your account settings
Path Parameters
The agent ID
Minimum string length:
1Example:
"5QHA6VB-DIAbBhxwqxfdi"
Body
application/json
Response
Source created
Source ID
Source type
Available options:
link, file, qna, notionPage, text Source name or URL
Source size in bytes
ISO 8601 creation timestamp
Training status of the source
Available options:
untrained, trained, toBeDeleted, updated Link-specific metadata. Present only for type="link".
- Option 1
- Option 2