Get dbt model SQL for a specific object of a specific revision by name

Returns one table's or view's dbt logic from the revision verbatim, as the body of its .sql model file.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
int32
required
Query Params
string
required
boolean
Defaults to false
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

dbt model SQL retrieved successfully

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/sql
application/json