List All dbt Models (Deprecated)
Returns a list of all dbt Models within dbt Project. (Deprecated)
Request schema
Path parameters
projectId
stringrequired
The unique identifier for the dbt Project within the Fivetran system.
example:
Query parameters
cursor
string
Paging cursor, read more about pagination
example:
limit
integer
Number of records to fetch per page. Accepts a number in the range 1..1000; the default value is 100.
format:
example:
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
default:
example:
Http + 1.1
GET
https://api.fivetran.com/v1/dbt/projects/dbt_project_id/models
GET /v1/dbt/projects/dbt_project_id/models?cursor=ghyYGuYg8gg8G&limit=100 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
items
arrayrequired
The collection of returned items
id
stringrequired
The unique identifier for the dbt Model within the Fivetran system.
example:
scheduled
boolean
Boolean specifying whether the model is selected for execution in the dashboard
example:
model_name
string
The dbt Model name.
example:
nextCursor
string
The value of the cursor parameter for the next page
example:
{
"code": "Success",
"message": "Operation performed.",
"data": {
"items": [
{
"id": "model_id",
"scheduled": true,
"model_name": "dbt_model_name"
}
],
"nextCursor": "cursor_value"
}
}