POST
/
{resourceSlug}
/
forms
/
datasource
/
{datasourceId}
/
streams
curl --request POST \
  --url https://app.agentcloud.dev/{resourceSlug}/forms/datasource/{datasourceId}/streams
{
  "_id": "<string>",
  "redirect": "<string>"
}

Path Parameters

resourceSlug
string
required

The resourceSlug is a url parameter of the teamId associated with the user. Anywhere the resourceSlug is used can be interpreted as a teamId

Query Parameters

datasource
object
required

Datasource object that was created when testDatasourceApi is run, must include datasourceId.

Response

302
dynamicResponse
Successful operation, redirect to '/{resourceSlug}/datasources'. Returns added toolId in return body

Server response after successsfully adding a new object

_id
string

The unique Mongo id of the newly inserted object.

redirect
string

a string containing the redirect link to get all objects after a successful insertion.