---
updatedAt: 2025-06-02T16:27:16.000Z
agentTools:
  projectIndex: https://fluency.readme.io/llms.txt
---

# Source Operations

See details of a data source or operations to add/delete a data source

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fluency-platform",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://stripe1.app.fluencyplatform.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Fluencytoken",
        "x-default": "f7ad23ff-3a83-4629-634d-5f499a46606f"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/ds/platform_datasource_dao": {
      "post": {
        "summary": "Source Operations",
        "description": "See details of a data source or operations to add/delete a data source",
        "operationId": "data-source-detail",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "kargs"
                ],
                "properties": {
                  "kargs": {
                    "type": "object",
                    "required": [
                      "action"
                    ],
                    "properties": {
                      "args": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "only enter id to get details or delete an object",
                            "format": "json"
                          },
                          "entry": {
                            "type": "object",
                            "description": "or enter all fields below to add an object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "description": "name of new data source",
                                "format": "json"
                              },
                              "props": {
                                "type": "string",
                                "description": "default value is {}",
                                "default": "{}",
                                "format": "json"
                              },
                              "receiverInput": {
                                "type": "string",
                                "description": "default value is \"\"",
                                "default": "\"\"",
                                "format": "json"
                              },
                              "type": {
                                "type": "string",
                                "description": "type of source added(hec, syslog...)",
                                "default": "hec",
                                "format": "json"
                              },
                              "hec": {
                                "type": "object",
                                "description": "enter only if a hec is added",
                                "properties": {
                                  "ack": {
                                    "type": "string",
                                    "description": "default value is false",
                                    "default": "false",
                                    "format": "json"
                                  }
                                }
                              },
                              "syslog": {
                                "type": "string",
                                "description": "default value is {}",
                                "default": "{}",
                                "format": "json"
                              }
                            }
                          }
                        }
                      },
                      "action": {
                        "type": "string",
                        "description": "add/get/delete",
                        "format": "json"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```