cURL
curl --request POST \ --url https://api.prequel.co/import/streams \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "stream": { "name": "<string>", "destination_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "mappings": [ { "field_type": "<string>", "target_field": "<string>", "column": {}, "expression": {} } ], "is_valid": true, "is_enabled": false } } '
{ "status": "<string>", "data": { "stream": { "id": "<string>", "name": "<string>", "is_valid": true, "is_enabled": true, "destination_id": "<string>", "dataset_id": "<string>", "mappings": [ { "field_type": "<string>", "target_field": "<string>", "column": {}, "expression": {} } ], "created_at": "<string>", "updated_at": "<string>" } }, "message": "<string>" }
Add a new import stream.
Documentation IndexFetch the complete documentation index at: https://import-docs.prequel.co/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://import-docs.prequel.co/llms.txt
Use this file to discover all available pages before exploring further.
Skip validation when creating or updating.
Show child attributes
OK
"success"