action vercel_create_configurable_log_drain { label: "Creates a Configurable Log Drain" description: "Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)" provider: vercel method: POST path: "/v1/log-drains" encoding: json input: { type: "object" properties: { branch: { type: "string" description: "The branch regexp of log drain" } deliveryFormat: { description: "The delivery log format" enum: ["json", "ndjson"] type: "object" } environment: { description: "The environment of log drain" enum: ["preview", "production"] type: "object" } headers: { type: "object" description: "Headers to be sent together with the request" } projectIds: { type: "array" items: { type: "string" } } sources: { type: "array" items: { type: "string" enum: ["static", "lambda", "build", "edge", "external"] } } teamId: { type: "string" } url: { type: "string" format: "uri" description: "The log drain url" } } required: ["deliveryFormat", "sources", "url"] additionalProperties: false } output: { type: "object" required: ["createdAt", "deliveryFormat", "id", "ownerId", "type", "url"] properties: { branch: { type: "string" description: "The branch to filter logs by" } configurationId: { type: "string" description: "The ID of the related integration configuration" } createdAt: { type: "number" description: "A number containing the date when the log-drain was created in in milliseconds" } deliveryFormat: { type: "string" description: "The log-drain defined delivery format" enum: ["json", "ndjson", "syslog"] } environment: { type: "string" description: "The environment to filter logs by" enum: ["preview", "production"] } headers: { type: "object" description: "The key/value pairs that will be sent as headers to the log-drain" } id: { type: "string" description: "The log-drain id" } ownerId: { type: "string" description: "The unique ID of the team the deployment belongs to" } projectIds: { type: "array" description: "The ID of the projects the deployment is associated with" items: { type: "string" } } secret: { type: "string" description: "The secret to validate the log-drain payload" } sources: { type: "array" description: "The log-drain defined sources" items: { type: "string" description: "The log-drain defined sources" enum: ["static", "lambda", "build", "edge", "external"] } } type: { type: "string" description: "The log-drain defined delivery format" enum: ["json", "ndjson", "syslog"] } url: { type: "string" description: "A string with the URL of the log-drain" } } } }