---
title: "Import Tests/Jobs"
slug: "import-testsjobs"
updated: 2026-01-06T19:11:43Z
published: 2026-01-06T19:11:46Z
canonical: "docs.validatar.com/import-testsjobs"
---
> ## 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.
# Import Tests/Jobs
Post/api/v1/Authoring/projects/{id}/import
Import a set of tests and/or jobs
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
ID of the project to be imported into
Body parameters
Information about the objects being imported
Expand Allobject mimeTypestring Required
Mime type of the import file
Min length1
contentBase64string Required
Content of the import file formatted as a Base64 string
Min length1
targetTestFolderIdinteger (int32) | null
Target folder ID for the tests being imported
targetJobFolderIdinteger (int32) | null
Target folder ID for the jobs being imported
dataSourceMappings Array of object (Configuration.Api.Models.v1.DataSourceMapping) | null
List of mappings between the source and target data sources
object sourceFileKeystring | null
Data source key from the import file
targetIdinteger (int32)
Target data source ID
includeJobSchedulesboolean
Whether job schedules should be included when processing job import
conflictResolutionstring Valid values[
"Overwrite",
"Rename",
"Skip"
]
Expand Allobject mimeTypestring Required
Mime type of the import file
Min length1
contentBase64string Required
Content of the import file formatted as a Base64 string
Min length1
targetTestFolderIdinteger (int32) | null
Target folder ID for the tests being imported
targetJobFolderIdinteger (int32) | null
Target folder ID for the jobs being imported
dataSourceMappings Array of object (Configuration.Api.Models.v1.DataSourceMapping) | null
List of mappings between the source and target data sources
object sourceFileKeystring | null
Data source key from the import file
targetIdinteger (int32)
Target data source ID
includeJobSchedulesboolean
Whether job schedules should be included when processing job import
conflictResolutionstring Valid values[
"Overwrite",
"Rename",
"Skip"
]
Expand Allobject mimeTypestring Required
Mime type of the import file
Min length1
contentBase64string Required
Content of the import file formatted as a Base64 string
Min length1
targetTestFolderIdinteger (int32) | null
Target folder ID for the tests being imported
targetJobFolderIdinteger (int32) | null
Target folder ID for the jobs being imported
dataSourceMappings Array of object (Configuration.Api.Models.v1.DataSourceMapping) | null
List of mappings between the source and target data sources
object sourceFileKeystring | null
Data source key from the import file
targetIdinteger (int32)
Target data source ID
includeJobSchedulesboolean
Whether job schedules should be included when processing job import
conflictResolutionstring Valid values[
"Overwrite",
"Rename",
"Skip"
]
Expand Allobject mimeTypestring Required
Mime type of the import file
Min length1
contentBase64string Required
Content of the import file formatted as a Base64 string
Min length1
targetTestFolderIdinteger (int32) | null
Target folder ID for the tests being imported
targetJobFolderIdinteger (int32) | null
Target folder ID for the jobs being imported
dataSourceMappings Array of object (Configuration.Api.Models.v1.DataSourceMapping) | null
List of mappings between the source and target data sources
object sourceFileKeystring | null
Data source key from the import file
targetIdinteger (int32)
Target data source ID
includeJobSchedulesboolean
Whether job schedules should be included when processing job import
conflictResolutionstring Valid values[
"Overwrite",
"Rename",
"Skip"
]
Responses200
OK
400
Bad Request
Expand Allobject validationErrors Array of string | null
List of validation errors that occurred during the import attempt
string
invalidDataSources Array of object (Configuration.Api.Models.v1.InvalidDataSourceMapping) | null
List of data sources that could not be successfully mapped during the import attempt
object sourceNamestring | null
Name of the data source from the import file
targetNamestring | null
Name of the invalid target data source
invalidMacros Array of object (Configuration.Api.Models.v1.InvalidMacro) | null
List of invalid macros
object macroNamestring | null
Name of the macro
referenceKeystring | null
Reference key of the macro
errorMessagestring | null
Error message caused by the macro
missingReferences Array of object (Configuration.Api.Models.v1.MissingReference) | null
List of missing references
object jobNamestring | null
Name of the job
objectNamestring | null
Name of the object being referenced
objectContextstring | null
Context of the object being referenced
objectTypestring Valid values[
"Test",
"Job",
"DataProfileSet",
"Folder"
]
missingProfileDefs Array of object (Configuration.Api.Models.v1.MissingProfileDef) | null
List of missing profile definitions
object dataSourcestring | null
Name of the data source with a missing profile definition
profileSetstring | null
Name of the profile set with a missing profile definition
profileDefstring | null
Name of the missing profile definition
jobstring | null
Name of the job with a missing profile definition
missingMetaObjects Array of object (Configuration.Api.Models.v1.MissingMetaObject) | null
List of missing metadata objects
object dataSourcestring | null
Name of the missing metadata object's data source
schemastring | null
Name of the missing metadata object's schema
tablestring | null
Name of the missing metadata object (if table) or its table (if column)
columnstring | null
Name of the missing metadata object (if column)
teststring | null
Name of the test with a missing meta object
missingCustomFields Array of object (Configuration.Api.Models.v1.MissingCustomField) | null
List of missing custom fields
object referenceKeystring | null
Reference Key of the missing custom field
levelstring | null
Level of the missing custom field
objectstring | null
Name of the object missing the custom field
dataTypestring | null
Data Type of the missing custom field
commitErrors Array of string | null
List of commit errors
string