DBT

Operations related to DBT

Create Dbt Model Sync Trigger

Creates a trigger for a new dbt model sync for a Source.

The rate limit for this endpoint is 10 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See Rate Limiting for more information.

Securitytoken
Request
Request Body schema: application/vnd.segment.v1beta+json
required
sourceId
required
string (sourceId)

The Source id to trigger a dbt model sync.

Responses
200

OK

404

Resource not found

422

Validation failure

429

Too many requests

post/dbt-model-syncs/trigger
Request samples
application/vnd.segment.v1beta+json
{
  • "sourceId": "source-id"
}
Response samples
application/vnd.segment.v1beta+json
{
  • "data": {
    }
}