dbt · Capability

dbt Cloud Administrative API — Jobs

dbt Cloud Administrative API — Jobs. 2 operations. Lead operation: List jobs. Self-contained Naftiko capability covering one Dbt business surface.

Run with Naftiko DbtJobs

What You Can Do

GET
Listjobs — List jobs
/v1/accounts/{accountid}/jobs
POST
Createjob — Create a job
/v1/accounts/{accountid}/jobs

MCP Tools

list-jobs

List jobs

read-only idempotent
create-job

Create a job

Capability Spec

cloud-administrative-jobs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: dbt Cloud Administrative API — Jobs
  description: 'dbt Cloud Administrative API — Jobs. 2 operations. Lead operation: List jobs. Self-contained Naftiko capability
    covering one Dbt business surface.'
  tags:
  - Dbt
  - Jobs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DBT_API_KEY: DBT_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-administrative-jobs
    baseUri: https://cloud.getdbt.com/api/v3
    description: dbt Cloud Administrative API — Jobs business capability. Self-contained, no shared references.
    resources:
    - name: accounts-accountId-jobs
      path: /accounts/{accountId}/jobs/
      operations:
      - name: listjobs
        method: GET
        description: List jobs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: path
          type: integer
          required: true
      - name: createjob
        method: POST
        description: Create a job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: path
          type: integer
          required: true
    authentication:
      type: bearer
      token: '{{env.DBT_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-administrative-jobs-rest
    port: 8080
    description: REST adapter for dbt Cloud Administrative API — Jobs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/accounts/{accountid}/jobs
      name: accounts-accountid-jobs
      description: REST surface for accounts-accountId-jobs.
      operations:
      - method: GET
        name: listjobs
        description: List jobs
        call: cloud-administrative-jobs.listjobs
        with:
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createjob
        description: Create a job
        call: cloud-administrative-jobs.createjob
        with:
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-administrative-jobs-mcp
    port: 9090
    transport: http
    description: MCP adapter for dbt Cloud Administrative API — Jobs. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-jobs
      description: List jobs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-administrative-jobs.listjobs
      with:
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: create-job
      description: Create a job
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-administrative-jobs.createjob
      with:
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.