curl --location --request POST 'https://api.superagent.sh/api/v1/tools' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
"name": "My Zapier tool",
"type": "ZAPIER_NLA",
"metadata": {"zapier_nla_api_key": ""}
}'
{
"success": true,
"data": {
"id": "cli28c2vd00016itbrlhekwql",
"name": "My Zapier tool",
"type": "ZAPIER_NLA"
}
}
Create new tool.
curl --location --request POST 'https://api.superagent.sh/api/v1/tools' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
"name": "My Zapier tool",
"type": "ZAPIER_NLA",
"metadata": {"zapier_nla_api_key": ""}
}'
{
"success": true,
"data": {
"id": "cli28c2vd00016itbrlhekwql",
"name": "My Zapier tool",
"type": "ZAPIER_NLA"
}
}
SEARCH
, WOLFRAM_ALPHA
, REPLICATE
, ZAPIER_NLA
, AGENT
or OPENAPI
.tool
object.curl --location --request POST 'https://api.superagent.sh/api/v1/tools' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
"name": "My Zapier tool",
"type": "ZAPIER_NLA",
"metadata": {"zapier_nla_api_key": ""}
}'
{
"success": true,
"data": {
"id": "cli28c2vd00016itbrlhekwql",
"name": "My Zapier tool",
"type": "ZAPIER_NLA"
}
}