Restore source
Sources
Restore source
Restores a source that is pending deletion back to its previous active state.
POST
Restore 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"
Response
Source restored to its previous active state
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