Lyro
Upsert Lyro data source
This API endpoint allows you to upload or update a data source for the Lyro AI Agent. Data sources provide knowledge that Lyro uses to answer customer questions.
If a data source with the same URL already exists, it will be updated with the new content and title. Otherwise, a new data source will be created.
The content should be provided as HTML and will be processed by the Lyro AI Agent.
put/lyro/data-sources/website
Request
- Base URLhttps://api.tidio.com
- URLhttps://api.tidio.com/lyro/data-sources/website
- AuthAPI key in header X-Tidio-Openapi-Client-Id and API key in header X-Tidio-Openapi-Client-Secret
Request body
Example request
{
"url": "https://example.com/help/shipping-policy",
"content": "<html><h1>Shipping Policy</h1><p>We ship worldwide within 3-5 business days.</p></html>",
"title": "Shipping Policy"
}Response
Entity was created and their id is returned
Example response
{
"id": "a1b4ca4c-1108-4432-b256-1e4cf2bf6f9e"
}Changes
No recorded changes to this operation across all 1 revision of this API.