See the API's various operations for details on their request parameters and response data:

OperationMethodEndpoint
Datastream 2 configuration
List data set fieldsGET/datasets-fields
List groupsGET/groups
List properties by groupGET/groups/{groupId}/properties
List streamsGET/streams
Create a streamPOST/streams
Delete a streamDELETE/streams/​{streamId}
Get a streamGET/streams/​{streamId}
Edit a streamPUT/streams/​{streamId}
Patch a streamPATCH/streams/​{streamId}
Activate a streamPOST/streams/​{streamId}/​activate
View activation historyGET/streams/​{streamId}/​activationHistory
Deactivate a streamPOST/streams/​{streamId}/​deactivate
View historyGET/streams/​{streamId}/​history
Datastream 2 migration
Prepare migration payloadPOST/prepare
Migrate streamsPOST/create