---
title: "Get Data Source"
slug: "get-data-source"
updated: 2026-01-06T19:11:43Z
published: 2026-01-06T19:11:46Z
canonical: "docs.validatar.com/get-data-source"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validatar.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Get Data Source
Get/api/v1/Authoring/data-sources/{id}
Returns information about a specified data source
SecurityAPI Key: x-val-api-tokenHeader parameter namex-val-api-token
API key needed to access endpoints. Each Validatar user can manage their own set of API keys.
Path parametersidinteger (int32) Required
Data Source ID
Responses200
OK
Expand Allobject namestring | null
The data source name
descriptionstring | null
The data source description
environmentobject (Configuration.Api.Models.v1.Common.KeyValue) idinteger (int32)
The object's ID
namestring | null
The object's name
connectionobject (Configuration.Api.Models.v1.DataSourceConnectionGet) engineobject (Configuration.Api.Models.v1.Common.KeyValue) idinteger (int32)
The object's ID
namestring | null
The object's name
connectionTypestring Valid values[
"SqlServer",
"OLEDB",
"ODBC",
"Snowflake",
"PostgreSql",
"PythonScript",
"SnowflakeEngine"
]
dataSourceTemplateobject (Configuration.Api.Models.v1.Common.KeyValue) idinteger (int32)
The object's ID
namestring | null
The object's name
dataAgentGroupobject (Configuration.Api.Models.v1.Common.KeyValue) idinteger (int32)
The object's ID
namestring | null
The object's name
descriptionstring | null
The connection description
configuration
The connection's configuration
OneOfConfiguration.Api.Models.v1.DataSourceConnectionConfigurationDatabaseobject (Configuration.Api.Models.v1.DataSourceConnectionConfigurationDatabase)connectionStringstring
The connection configuration's connection string
Min length1
passwordstring | null
The connection configuration's password
Configuration.Api.Models.v1.DataSourceConnectionConfigurationScriptobject (Configuration.Api.Models.v1.DataSourceConnectionConfigurationScript)preExecutionScriptstring | null
The script to run prior to data source executions
postExecutionScriptstring | null
The script to run following data source executions
parameters Array of object (Configuration.Api.Models.v1.DataSourceConnectionParsedParameter) | null
List of parameters associated with the data source script connection
object idinteger (int32)
The ID of the parameter
valuestring | null
The Value of the parameter
hasSecretValueboolean
Whether the parameter has a secret value
clearValueboolean
Whether the parameter should clear its value
resetValueboolean
Whether the parameter should reset its value
Configuration.Api.Models.v1.DataSourceConnectionConfigurationSnowflakeobject (Configuration.Api.Models.v1.DataSourceConnectionConfigurationSnowflake)databaseNamestring
The name of the Snowflake database being referenced by the connection
Min length1
schemaNamestring | null
The name of the Snowflake schema being referenced by the connection
projects Array of object (Configuration.Api.Models.v1.Common.KeyValue) | null
List of projects allowed to use the data source
object idinteger (int32)
The object's ID
namestring | null
The object's name
permissions Array of object (Configuration.Api.Models.v1.DataSourcePermission) | null
List of permissions added to the data source
object typestring Valid values[
"User",
"Group"
]
namestring
The permission holder name
Min length1
roleSetstring | null
The name of a predefined role set
roles Array of string (Configuration.Api.Models.v1.DataSourceRole) | null
The custom roles to use when the roleSet property is empty
string Valid values[
"ViewMetadata",
"CreateTests",
"RunTests",
"ViewTestResults",
"RunProfileSets",
"ManagePermissions",
"ManageConnections",
"ManageDataProfiling",
"ExportTestResults"
]
ownerstring | null
The data source owner
customFieldsobject | null
List of custom fields added to the data source
property*
404
Not Found
object errorstring | null