Update source
Sources
Update source
Updates an existing source. Accepts text, qna, and link sources. File sources require a dedicated endpoint. Link URL is immutable — to change it, delete and recreate the source. 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.
PUT
Update source
Authorizations
API key from your account settings
Path Parameters
The agent ID
Minimum string length:
1Example:
"5QHA6VB-DIAbBhxwqxfdi"
The source ID
Minimum string length:
1Example:
"a63a69a5-e7a9-4757-b73b-2041854d435d"
Body
application/json
Response
Updated source
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