Projects

GET /api/v3/accounts/{account_id}/projects/

Changed on

List Projects

Request

  • Base URL
    https://cloud.getdbt.com
  • Auth
    HTTP bearer

Path parameters

account_idinteger required

Query parameters

include_relatedstring

Comma-separated list of related objects to include in the response. Available: repository, connection, group_permissions, docs_job, freshness_job.

limitinteger
name__icontainsstring
offsetinteger
order_bystring

Field to order results by. Prefix with '-' for descending order.

pkinteger
pk__gtinteger
pk__ininteger[]
integer
OR
'active' | 'deleted' | 'all'

Filters by soft deletion state. <ul> <li> <strong>"active"</strong> / <strong>1</strong>: Only active resources </li> <li> <strong>"deleted"</strong> / <strong>2</strong>: Only deleted resources </li> <li> <strong>"all"</strong>: All resources </li> </ul>

Response

Example response

{
  "data": [
    {
      "state": 1,
      "connection": {
        "state": 1
      },
      "environments": [
        {
          "state": 1
        }
      ],
      "repository": {
        "state": 1
      },
      "group_permissions": [
        {
          "state": 1
        }
      ],
      "docs_job": {
        "state": 1
      },
      "freshness_job": {
        "state": 1
      }
    }
  ]
}

Changes

    • info

      added the required property //// to the response with the status

    • breaking

      for the query request parameter pk__in, the format of property items/ was specialized from no format to int64

    • breaking

      for the path request parameter account_id, the format changed from no format to int64

    • breaking

      for the query request parameter pk, the format changed from no format to int64

    • breaking

      for the query request parameter pk__gt, the format changed from no format to int64