Create Beam Input Type
Related workflow: Working with Beams and credentials
POST
Register a new beam input type definition for a beam.
Behavior
- The slug is generated from the beam name and the version is
1.0.0.
Related: Get Beam · Create Credential
apiKeyheader
apikey<token>application/json- body
schema*objectJSON schema that describes the Beam input data
beamId*stringThe id of the Beam to attach the input type to
Beam input type created; returns its ID and generated slug.
application/json- response
beamInputTypeId*stringThe id of the created BeamInputType
beamInputTypeSlug*stringThe slug of the created BeamInputType, used to identify different versions of the same input
curl -X POST 'https://api.cerebrum.com/v1/beam-input-type' \ -H 'apikey: CEREBRUM_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "schema": {}, "beamId": "string"}'Example Response
{ "beamInputTypeId": "string", "beamInputTypeSlug": "string"}