---
title: "Get the audit source"
method: GET
path: "/inlong/manager/api/audit/getSource"
tags: ["Audit-API"]
---

# Get the audit source

`GET /inlong/manager/api/audit/getSource`

## Request

- The document declares no server URL.
- Auth: none declared

## Response `200`

OK

- ResponseAuditSourceResponse
  - `data` AuditSourceResponse
    - `createTime` string, date-time
    - `creator` string: Creator
    - `enableAuth` integer: Enable auth or not, 0: disable, 1: enable
    - `id` integer: Primary key
    - `modifier` string: Modifier
    - `modifyTime` string, date-time
    - `name` string: Audit source name
    - `offlineUrl` string: Offline the url if not null
    - `token` string: Audit source token, needed if enableAuth is 1
    - `type` string, required: Audit source type, including: MYSQL, CLICKHOUSE, ELASTICSEARCH
    - `url` string, required: Audit source URL, for MYSQL or CLICKHOUSE, is jdbcUrl, and for ELASTICSEARCH is the access URL with hostname:port
    - `username` string: Audit source username, needed if enableAuth is 1
    - `version` integer: Version number
  - `errMsg` string
  - `success` boolean

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api.md) - [All operations](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/revisions/41c687f48683?raw)
