Error
A valid request URL is required to generate request examples{
"attributes": {
"active": true,
"allow_internal_host": true,
"db_conn_api_key": "<string>",
"db_conn_string": "<string>",
"db_name": "<string>",
"db_source_type": "<string>",
"embed_api_key": "<string>",
"embed_model": "<string>",
"embed_url": "<string>",
"embed_vendor": "<string>",
"embedder_id": 123,
"embedder_name": "<string>",
"files": [
{
"attributes": {
"description": "<string>",
"file_name": "<string>",
"last_processed_on": "<string>",
"length": 123,
"workspace_id": 123
},
"id": "<string>",
"type": "<string>"
}
],
"has_db_conn_api_key": true,
"has_embed_api_key": true,
"icon": "<string>",
"long_description": "<string>",
"name": "<string>",
"namespace": "<string>",
"privacy_score": 123,
"short_description": "<string>",
"tags": [
{
"attributes": {
"name": "<string>"
},
"id": "<string>",
"type": "<string>"
}
],
"tracing_content_mode_max": "<string>",
"url": "<string>",
"user_id": 123,
"workspace_id": 123
},
"governed_metadata": {},
"governed_metadata_status": "<string>",
"id": "<string>",
"type": "<string>"
}{
"errors": [
{
"detail": "<string>",
"title": "<string>"
}
]
}{
"errors": [
{
"detail": "<string>",
"title": "<string>"
}
]
}datasources
Activate a datasource
Sets the datasource active so it is served. Requires datasources:publish.
POST
/
datasources
/
{id}
/
activate
Error
A valid request URL is required to generate request examples{
"attributes": {
"active": true,
"allow_internal_host": true,
"db_conn_api_key": "<string>",
"db_conn_string": "<string>",
"db_name": "<string>",
"db_source_type": "<string>",
"embed_api_key": "<string>",
"embed_model": "<string>",
"embed_url": "<string>",
"embed_vendor": "<string>",
"embedder_id": 123,
"embedder_name": "<string>",
"files": [
{
"attributes": {
"description": "<string>",
"file_name": "<string>",
"last_processed_on": "<string>",
"length": 123,
"workspace_id": 123
},
"id": "<string>",
"type": "<string>"
}
],
"has_db_conn_api_key": true,
"has_embed_api_key": true,
"icon": "<string>",
"long_description": "<string>",
"name": "<string>",
"namespace": "<string>",
"privacy_score": 123,
"short_description": "<string>",
"tags": [
{
"attributes": {
"name": "<string>"
},
"id": "<string>",
"type": "<string>"
}
],
"tracing_content_mode_max": "<string>",
"url": "<string>",
"user_id": 123,
"workspace_id": 123
},
"governed_metadata": {},
"governed_metadata_status": "<string>",
"id": "<string>",
"type": "<string>"
}{
"errors": [
{
"detail": "<string>",
"title": "<string>"
}
]
}{
"errors": [
{
"detail": "<string>",
"title": "<string>"
}
]
}Authorizations
Was this page helpful?