---
updatedAt: 2026-06-10T16:07:05.000Z
agentTools:
  projectIndex: https://docs.siffletdata.com/llms.txt
---

# Submit dbt metadata files and trigger the related datasource refresh

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "description": "Requirements: <br>    - [Create your access token through the UI](https://docs.siffletdata.com/docs/generate-an-api-token#create-an-api-token) <br>    - Get your tenant name: if you access to Sifflet with `https://abcdef.siffletdata.com`, then your tenant would be `abcdef`",
    "title": "Sifflet Backend API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://{tenant}.siffletdata.com/api",
      "description": "Production tenant",
      "variables": {
        "tenant": {
          "description": "if you access to Sifflet with `https://abcdef.siffletdata.com`, then your tenant would be `abcdef`",
          "default": "publicdemo"
        }
      }
    },
    {
      "url": "http://localhost:8090",
      "description": "Dev server started in intellij"
    },
    {
      "url": "http://localhost:8091",
      "description": "Dev server started in docker compose"
    },
    {
      "url": "http://localhost:8099",
      "description": "Dev server started with api recorder"
    }
  ],
  "paths": {
    "/v1/metadata/dbt/{projectName}/{target}": {
      "post": {
        "operationId": "uploadDbtMetadataFiles",
        "parameters": [
          {
            "in": "path",
            "name": "projectName",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "target",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "catalog": {
                    "type": "string",
                    "format": "binary"
                  },
                  "manifest": {
                    "type": "string",
                    "format": "binary"
                  },
                  "run_results": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Successfully updated files"
          },
          "400": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiProblemSchema"
                }
              }
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiProblemSchema"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiProblemSchema"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiProblemSchema"
                }
              }
            },
            "description": "Conflict"
          },
          "500": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiProblemSchema"
                }
              }
            },
            "description": "Internal server error"
          }
        },
        "security": [
          {
            "JWT": []
          }
        ],
        "summary": "Submit dbt metadata files and trigger the related datasource refresh",
        "tags": [
          "dbt integration"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ApiProblemSchema": {
        "type": "object",
        "properties": {
          "detail": {
            "type": "string"
          },
          "response": {
            "type": "string"
          },
          "status": {
            "type": "integer",
            "format": "int32"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "JWT": {
        "bearerFormat": "Bearer [token]",
        "description": "JWT authentication with bearer token. [Create your access token through the UI](https://docs.siffletdata.com/docs/generate-an-api-token#create-an-api-token).",
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```