Source APIs
APIs to manage a Telmai source
Tenant Id can be retrieved from the UI as listed here.
Create a source
POST
https://demo.backend.telm.ai/{tenant}/configuration/sources
Create a new source in the tenant
Path Parameters
Name | Type | Description |
---|---|---|
tenant* | string | Tenant Id |
Query Parameters
Name | Type | Description |
---|---|---|
name* | string | Name of source |
description | string | Description of source |
Headers
Name | Type | Description |
---|---|---|
Content-type | string | application/json |
Authentication* | string | Bearer <access_token>. Access token retrieved from Authentication API |
List all sources for this tenant
GET
https://demo.backend.telm.ai/{tenant}/configuration/source
Api to list all sources in a tenant
Path Parameters
Name | Type | Description |
---|---|---|
tenant* | string | Tenant Id |
Headers
Name | Type | Description |
---|---|---|
Content-type | string | application/json |
Authentication* | string | Bearer <access_token>. Access token is retrieved from Authentication API |
Update a source
PUT
https://demo.backend.telm.ai/{tenant}/configuration/sources
Create a new source in the tenant
Path Parameters
Name | Type | Description |
---|---|---|
tenant* | string | Tenant Id |
Query Parameters
Name | Type | Description |
---|---|---|
name* | string | Name of source |
description | string | Description of source |
Headers
Name | Type | Description |
---|---|---|
Content-type | string | application/json |
Authentication* | string | Bearer <access_token>. Access token retrieved from Authentication API |
Get details of a specific source
GET
https://demo.backend.telm.ai/{tenant}/configuration/sources/<source-id>
Path Parameters
Name | Type | Description |
---|---|---|
source-id* | string | Id of source to be retrieved. |
tenant* | string | Tenant id |
Headers
Name | Type | Description |
---|---|---|
Content-type | string | application/json |
Authorization* | string | Bearer <access_token from Authentication API> |
Delete Source
DELETE
https://demo.backend.telm.ai/{tenant}/configuration/sources/<source-id>
Delete a specific source
Path Parameters
Name | Type | Description |
---|---|---|
source-id* | string | Id of source to be deleted. This can be retrieved by looking up a source by name |
tenant* | string | Name of tenant |
Headers
Name | Type | Description |
---|---|---|
Content-type | string | application/json |
Authorization* | string | Bearer <access_token from Authentication API> |
Last updated