Skip to main content
POST
Create the Vercel drain

Authorizations

Authorization
string
header
required

API key with dtk_live_ prefix. Obtain it from API Keys in the account sidebar. New keys start with all supported scopes selected for the chosen project, and you can narrow them to specific read/write scopes as needed.

Path Parameters

projectId
string<uuid>
required

The project the credential is bound to. Read it from GET /connection.

Body

application/json
vercelProjectIds
string[]
required

The Vercel project ids, from listVercelDrainProjects, whose logs the drain sends to DevTune.

Required array length: 1 - 100 elements
Pattern: ^prj_[A-Za-z0-9]+$

Response

The active drain

data
object
required
meta
object
required

Sent beside data on every successful response that returns data.