Skip to main content
POST
Create a source

Path Parameters

ws_id
string
required

The workspace id

Example:

"default"

Body

application/json
config
object
required
id
string
name
string | null
enabled
boolean
default:true
type
enum<string>
default:http
Available options:
http
async
boolean
default:false

Whether to ingest events asynchronously through the queue

metadata
object
rate_limit
object | null

The rate limit that uses GCRA algorithm (a variant of the leaky bucket algorithm that supports bursts).

Response

200 - application/json

OK

config
object
required
id
string
name
string | null
enabled
boolean
default:true
type
enum<string>
default:http
Available options:
http
async
boolean
default:false

Whether to ingest events asynchronously through the queue

metadata
object
rate_limit
object | null

The rate limit that uses GCRA algorithm (a variant of the leaky bucket algorithm that supports bursts).

created_at
integer
read-only
updated_at
integer
read-only