Test dbt Project
Runs setup tests for dbt Project.
Request schema
Path parameters
projectId
stringrequired
The unique identifier for the dbt Project within the Fivetran system.
example:
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
default:
example:
Http + 1.1
POST
https://api.fivetran.com/v1/dbt/projects/dbt_project_id/test
POST /v1/dbt/projects/dbt_project_id/test HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Host: api.fivetran.com
Responses
200
Successful response
Successful response schema
code
stringrequired
Response status code
example:
message
string
Response status text
example:
data
objectrequired
setup_tests
array
Setup tests results
title
stringrequired
The setup test title
example:
status
stringrequired
The status of the test
enum:
message
string
The setup test message
example:
details
object
The setup test details
example:
dbt_project_id
stringrequired
The unique identifier for the dbt Project within the Fivetran system.
example:
{
"code": "Success",
"message": "Operation performed.",
"data": {
"setup_tests": [
{
"title": "Test Title",
"status": "FAILED",
"message": "Error message",
"details": "Error details"
}
],
"dbt_project_id": "project_id"
}
}