Zum Hauptinhalt springen

List Models

GET 

/v1/dbt/projects/:project_id/models

List models in a project, ordered by name.

Cursor-paginated: pass the returned nextKey back as exclusiveStartKey; nextKey: null means the last page. The cursor carries (name, id) because model names are not unique within a project.

Cursor-paginated. The wire query parameter is exclusiveStartKey (what the cURL tab and the parameter table show); the TypeScript SDK takes it as the exclusiveStartKey option and the Python SDK as the exclusive_start_key keyword — one parameter, spelled per language. Pass the previous page's nextKey and stop when it comes back null — or let iterAll() / iter_all() drive the cursor for you (see the SDKs page, "Pagination").

Request​

Responses​

Successful Response