Skip to main content

log_drains

Overview

Namelog_drains
TypeResource
Idvercel.log_drains.log_drains

Fields

NameDatatype
idstring
namestring
branchstring
clientIdstring
configurationIdstring
createdAtnumber
createdFromstring
deliveryFormatstring
disabledAtnumber
disabledBystring
disabledReasonstring
environmentstring
firstErrorTimestampnumber
headersobject
ownerIdstring
projectIdsarray
secretstring
sourcesarray
statusstring
teamIdstring
urlstring

Methods

NameAccessible byRequired ParamsDescription
get_configurable_log_drainSELECTid, teamIdRetrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.
get_configurable_log_drainsSELECTteamIdRetrieves a list of Configurable Log Drains. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.
create_configurable_log_drainINSERTteamId, data__deliveryFormat, data__sources, data__urlCreates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)
delete_configurable_log_drainDELETEid, teamIdDeletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.