Complete Onboarding
curl --request POST \
--url https://agent.crowdlisten.com/api/entities/onboarding \
--header 'Content-Type: application/json' \
--data '
{
"company": {
"name": "<string>",
"url": "<string>",
"keywords": [
"<string>"
],
"collection_targets": {},
"platforms": [
"<string>"
]
},
"research_objectives": [
{
"id": "<string>",
"title": "<string>",
"question": "<string>",
"decision": "<string>",
"evidence": "<string>",
"workflow": {
"version": 1,
"instructions": "",
"model_routing": {
"cost_tier": "medium",
"allowed_models": [
"<string>"
]
},
"filter_relevance": true,
"document_destination": {
"url": "<string>"
},
"inputs": {
"platforms": [],
"account_roles": [],
"slack_channels": [
{
"team_id": "<string>",
"channel_id": "<string>",
"name": ""
}
],
"lookback_days": 7,
"max_sources": 25,
"x_queries": [
"<string>"
],
"x_min_likes": 500000
}
}
}
],
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_intent": [
"<string>"
],
"collection_mode": "server",
"products": [
{
"name": "<string>",
"url": "<string>",
"keywords": [
"<string>"
],
"collection_targets": {}
}
],
"competitors": [
{
"name": "<string>",
"url": "<string>",
"keywords": [
"<string>"
],
"collection_targets": {}
}
]
}
'import requests
url = "https://agent.crowdlisten.com/api/entities/onboarding"
payload = {
"company": {
"name": "<string>",
"url": "<string>",
"keywords": ["<string>"],
"collection_targets": {},
"platforms": ["<string>"]
},
"research_objectives": [
{
"id": "<string>",
"title": "<string>",
"question": "<string>",
"decision": "<string>",
"evidence": "<string>",
"workflow": {
"version": 1,
"instructions": "",
"model_routing": {
"cost_tier": "medium",
"allowed_models": ["<string>"]
},
"filter_relevance": True,
"document_destination": { "url": "<string>" },
"inputs": {
"platforms": [],
"account_roles": [],
"slack_channels": [
{
"team_id": "<string>",
"channel_id": "<string>",
"name": ""
}
],
"lookback_days": 7,
"max_sources": 25,
"x_queries": ["<string>"],
"x_min_likes": 500000
}
}
}
],
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_intent": ["<string>"],
"collection_mode": "server",
"products": [
{
"name": "<string>",
"url": "<string>",
"keywords": ["<string>"],
"collection_targets": {}
}
],
"competitors": [
{
"name": "<string>",
"url": "<string>",
"keywords": ["<string>"],
"collection_targets": {}
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
company: {
name: '<string>',
url: '<string>',
keywords: ['<string>'],
collection_targets: {},
platforms: ['<string>']
},
research_objectives: [
{
id: '<string>',
title: '<string>',
question: '<string>',
decision: '<string>',
evidence: '<string>',
workflow: {
version: 1,
instructions: '',
model_routing: {cost_tier: 'medium', allowed_models: ['<string>']},
filter_relevance: true,
document_destination: {url: '<string>'},
inputs: {
platforms: [],
account_roles: [],
slack_channels: [{team_id: '<string>', channel_id: '<string>', name: ''}],
lookback_days: 7,
max_sources: 25,
x_queries: ['<string>'],
x_min_likes: 500000
}
}
}
],
request_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
workspace_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
source_intent: ['<string>'],
collection_mode: 'server',
products: [
{
name: '<string>',
url: '<string>',
keywords: ['<string>'],
collection_targets: {}
}
],
competitors: [
{
name: '<string>',
url: '<string>',
keywords: ['<string>'],
collection_targets: {}
}
]
})
};
fetch('https://agent.crowdlisten.com/api/entities/onboarding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://agent.crowdlisten.com/api/entities/onboarding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'company' => [
'name' => '<string>',
'url' => '<string>',
'keywords' => [
'<string>'
],
'collection_targets' => [
],
'platforms' => [
'<string>'
]
],
'research_objectives' => [
[
'id' => '<string>',
'title' => '<string>',
'question' => '<string>',
'decision' => '<string>',
'evidence' => '<string>',
'workflow' => [
'version' => 1,
'instructions' => '',
'model_routing' => [
'cost_tier' => 'medium',
'allowed_models' => [
'<string>'
]
],
'filter_relevance' => true,
'document_destination' => [
'url' => '<string>'
],
'inputs' => [
'platforms' => [
],
'account_roles' => [
],
'slack_channels' => [
[
'team_id' => '<string>',
'channel_id' => '<string>',
'name' => ''
]
],
'lookback_days' => 7,
'max_sources' => 25,
'x_queries' => [
'<string>'
],
'x_min_likes' => 500000
]
]
]
],
'request_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'workspace_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'source_intent' => [
'<string>'
],
'collection_mode' => 'server',
'products' => [
[
'name' => '<string>',
'url' => '<string>',
'keywords' => [
'<string>'
],
'collection_targets' => [
]
]
],
'competitors' => [
[
'name' => '<string>',
'url' => '<string>',
'keywords' => [
'<string>'
],
'collection_targets' => [
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://agent.crowdlisten.com/api/entities/onboarding"
payload := strings.NewReader("{\n \"company\": {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {},\n \"platforms\": [\n \"<string>\"\n ]\n },\n \"research_objectives\": [\n {\n \"id\": \"<string>\",\n \"title\": \"<string>\",\n \"question\": \"<string>\",\n \"decision\": \"<string>\",\n \"evidence\": \"<string>\",\n \"workflow\": {\n \"version\": 1,\n \"instructions\": \"\",\n \"model_routing\": {\n \"cost_tier\": \"medium\",\n \"allowed_models\": [\n \"<string>\"\n ]\n },\n \"filter_relevance\": true,\n \"document_destination\": {\n \"url\": \"<string>\"\n },\n \"inputs\": {\n \"platforms\": [],\n \"account_roles\": [],\n \"slack_channels\": [\n {\n \"team_id\": \"<string>\",\n \"channel_id\": \"<string>\",\n \"name\": \"\"\n }\n ],\n \"lookback_days\": 7,\n \"max_sources\": 25,\n \"x_queries\": [\n \"<string>\"\n ],\n \"x_min_likes\": 500000\n }\n }\n }\n ],\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"workspace_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"source_intent\": [\n \"<string>\"\n ],\n \"collection_mode\": \"server\",\n \"products\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ],\n \"competitors\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://agent.crowdlisten.com/api/entities/onboarding")
.header("Content-Type", "application/json")
.body("{\n \"company\": {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {},\n \"platforms\": [\n \"<string>\"\n ]\n },\n \"research_objectives\": [\n {\n \"id\": \"<string>\",\n \"title\": \"<string>\",\n \"question\": \"<string>\",\n \"decision\": \"<string>\",\n \"evidence\": \"<string>\",\n \"workflow\": {\n \"version\": 1,\n \"instructions\": \"\",\n \"model_routing\": {\n \"cost_tier\": \"medium\",\n \"allowed_models\": [\n \"<string>\"\n ]\n },\n \"filter_relevance\": true,\n \"document_destination\": {\n \"url\": \"<string>\"\n },\n \"inputs\": {\n \"platforms\": [],\n \"account_roles\": [],\n \"slack_channels\": [\n {\n \"team_id\": \"<string>\",\n \"channel_id\": \"<string>\",\n \"name\": \"\"\n }\n ],\n \"lookback_days\": 7,\n \"max_sources\": 25,\n \"x_queries\": [\n \"<string>\"\n ],\n \"x_min_likes\": 500000\n }\n }\n }\n ],\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"workspace_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"source_intent\": [\n \"<string>\"\n ],\n \"collection_mode\": \"server\",\n \"products\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ],\n \"competitors\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.crowdlisten.com/api/entities/onboarding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"company\": {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {},\n \"platforms\": [\n \"<string>\"\n ]\n },\n \"research_objectives\": [\n {\n \"id\": \"<string>\",\n \"title\": \"<string>\",\n \"question\": \"<string>\",\n \"decision\": \"<string>\",\n \"evidence\": \"<string>\",\n \"workflow\": {\n \"version\": 1,\n \"instructions\": \"\",\n \"model_routing\": {\n \"cost_tier\": \"medium\",\n \"allowed_models\": [\n \"<string>\"\n ]\n },\n \"filter_relevance\": true,\n \"document_destination\": {\n \"url\": \"<string>\"\n },\n \"inputs\": {\n \"platforms\": [],\n \"account_roles\": [],\n \"slack_channels\": [\n {\n \"team_id\": \"<string>\",\n \"channel_id\": \"<string>\",\n \"name\": \"\"\n }\n ],\n \"lookback_days\": 7,\n \"max_sources\": 25,\n \"x_queries\": [\n \"<string>\"\n ],\n \"x_min_likes\": 500000\n }\n }\n }\n ],\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"workspace_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"source_intent\": [\n \"<string>\"\n ],\n \"collection_mode\": \"server\",\n \"products\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ],\n \"competitors\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}entities
Complete Onboarding
Create the complete onboarding workspace in one database transaction.
POST
/
api
/
entities
/
onboarding
Complete Onboarding
curl --request POST \
--url https://agent.crowdlisten.com/api/entities/onboarding \
--header 'Content-Type: application/json' \
--data '
{
"company": {
"name": "<string>",
"url": "<string>",
"keywords": [
"<string>"
],
"collection_targets": {},
"platforms": [
"<string>"
]
},
"research_objectives": [
{
"id": "<string>",
"title": "<string>",
"question": "<string>",
"decision": "<string>",
"evidence": "<string>",
"workflow": {
"version": 1,
"instructions": "",
"model_routing": {
"cost_tier": "medium",
"allowed_models": [
"<string>"
]
},
"filter_relevance": true,
"document_destination": {
"url": "<string>"
},
"inputs": {
"platforms": [],
"account_roles": [],
"slack_channels": [
{
"team_id": "<string>",
"channel_id": "<string>",
"name": ""
}
],
"lookback_days": 7,
"max_sources": 25,
"x_queries": [
"<string>"
],
"x_min_likes": 500000
}
}
}
],
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_intent": [
"<string>"
],
"collection_mode": "server",
"products": [
{
"name": "<string>",
"url": "<string>",
"keywords": [
"<string>"
],
"collection_targets": {}
}
],
"competitors": [
{
"name": "<string>",
"url": "<string>",
"keywords": [
"<string>"
],
"collection_targets": {}
}
]
}
'import requests
url = "https://agent.crowdlisten.com/api/entities/onboarding"
payload = {
"company": {
"name": "<string>",
"url": "<string>",
"keywords": ["<string>"],
"collection_targets": {},
"platforms": ["<string>"]
},
"research_objectives": [
{
"id": "<string>",
"title": "<string>",
"question": "<string>",
"decision": "<string>",
"evidence": "<string>",
"workflow": {
"version": 1,
"instructions": "",
"model_routing": {
"cost_tier": "medium",
"allowed_models": ["<string>"]
},
"filter_relevance": True,
"document_destination": { "url": "<string>" },
"inputs": {
"platforms": [],
"account_roles": [],
"slack_channels": [
{
"team_id": "<string>",
"channel_id": "<string>",
"name": ""
}
],
"lookback_days": 7,
"max_sources": 25,
"x_queries": ["<string>"],
"x_min_likes": 500000
}
}
}
],
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_intent": ["<string>"],
"collection_mode": "server",
"products": [
{
"name": "<string>",
"url": "<string>",
"keywords": ["<string>"],
"collection_targets": {}
}
],
"competitors": [
{
"name": "<string>",
"url": "<string>",
"keywords": ["<string>"],
"collection_targets": {}
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
company: {
name: '<string>',
url: '<string>',
keywords: ['<string>'],
collection_targets: {},
platforms: ['<string>']
},
research_objectives: [
{
id: '<string>',
title: '<string>',
question: '<string>',
decision: '<string>',
evidence: '<string>',
workflow: {
version: 1,
instructions: '',
model_routing: {cost_tier: 'medium', allowed_models: ['<string>']},
filter_relevance: true,
document_destination: {url: '<string>'},
inputs: {
platforms: [],
account_roles: [],
slack_channels: [{team_id: '<string>', channel_id: '<string>', name: ''}],
lookback_days: 7,
max_sources: 25,
x_queries: ['<string>'],
x_min_likes: 500000
}
}
}
],
request_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
workspace_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
source_intent: ['<string>'],
collection_mode: 'server',
products: [
{
name: '<string>',
url: '<string>',
keywords: ['<string>'],
collection_targets: {}
}
],
competitors: [
{
name: '<string>',
url: '<string>',
keywords: ['<string>'],
collection_targets: {}
}
]
})
};
fetch('https://agent.crowdlisten.com/api/entities/onboarding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://agent.crowdlisten.com/api/entities/onboarding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'company' => [
'name' => '<string>',
'url' => '<string>',
'keywords' => [
'<string>'
],
'collection_targets' => [
],
'platforms' => [
'<string>'
]
],
'research_objectives' => [
[
'id' => '<string>',
'title' => '<string>',
'question' => '<string>',
'decision' => '<string>',
'evidence' => '<string>',
'workflow' => [
'version' => 1,
'instructions' => '',
'model_routing' => [
'cost_tier' => 'medium',
'allowed_models' => [
'<string>'
]
],
'filter_relevance' => true,
'document_destination' => [
'url' => '<string>'
],
'inputs' => [
'platforms' => [
],
'account_roles' => [
],
'slack_channels' => [
[
'team_id' => '<string>',
'channel_id' => '<string>',
'name' => ''
]
],
'lookback_days' => 7,
'max_sources' => 25,
'x_queries' => [
'<string>'
],
'x_min_likes' => 500000
]
]
]
],
'request_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'workspace_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'source_intent' => [
'<string>'
],
'collection_mode' => 'server',
'products' => [
[
'name' => '<string>',
'url' => '<string>',
'keywords' => [
'<string>'
],
'collection_targets' => [
]
]
],
'competitors' => [
[
'name' => '<string>',
'url' => '<string>',
'keywords' => [
'<string>'
],
'collection_targets' => [
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://agent.crowdlisten.com/api/entities/onboarding"
payload := strings.NewReader("{\n \"company\": {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {},\n \"platforms\": [\n \"<string>\"\n ]\n },\n \"research_objectives\": [\n {\n \"id\": \"<string>\",\n \"title\": \"<string>\",\n \"question\": \"<string>\",\n \"decision\": \"<string>\",\n \"evidence\": \"<string>\",\n \"workflow\": {\n \"version\": 1,\n \"instructions\": \"\",\n \"model_routing\": {\n \"cost_tier\": \"medium\",\n \"allowed_models\": [\n \"<string>\"\n ]\n },\n \"filter_relevance\": true,\n \"document_destination\": {\n \"url\": \"<string>\"\n },\n \"inputs\": {\n \"platforms\": [],\n \"account_roles\": [],\n \"slack_channels\": [\n {\n \"team_id\": \"<string>\",\n \"channel_id\": \"<string>\",\n \"name\": \"\"\n }\n ],\n \"lookback_days\": 7,\n \"max_sources\": 25,\n \"x_queries\": [\n \"<string>\"\n ],\n \"x_min_likes\": 500000\n }\n }\n }\n ],\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"workspace_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"source_intent\": [\n \"<string>\"\n ],\n \"collection_mode\": \"server\",\n \"products\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ],\n \"competitors\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://agent.crowdlisten.com/api/entities/onboarding")
.header("Content-Type", "application/json")
.body("{\n \"company\": {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {},\n \"platforms\": [\n \"<string>\"\n ]\n },\n \"research_objectives\": [\n {\n \"id\": \"<string>\",\n \"title\": \"<string>\",\n \"question\": \"<string>\",\n \"decision\": \"<string>\",\n \"evidence\": \"<string>\",\n \"workflow\": {\n \"version\": 1,\n \"instructions\": \"\",\n \"model_routing\": {\n \"cost_tier\": \"medium\",\n \"allowed_models\": [\n \"<string>\"\n ]\n },\n \"filter_relevance\": true,\n \"document_destination\": {\n \"url\": \"<string>\"\n },\n \"inputs\": {\n \"platforms\": [],\n \"account_roles\": [],\n \"slack_channels\": [\n {\n \"team_id\": \"<string>\",\n \"channel_id\": \"<string>\",\n \"name\": \"\"\n }\n ],\n \"lookback_days\": 7,\n \"max_sources\": 25,\n \"x_queries\": [\n \"<string>\"\n ],\n \"x_min_likes\": 500000\n }\n }\n }\n ],\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"workspace_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"source_intent\": [\n \"<string>\"\n ],\n \"collection_mode\": \"server\",\n \"products\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ],\n \"competitors\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.crowdlisten.com/api/entities/onboarding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"company\": {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {},\n \"platforms\": [\n \"<string>\"\n ]\n },\n \"research_objectives\": [\n {\n \"id\": \"<string>\",\n \"title\": \"<string>\",\n \"question\": \"<string>\",\n \"decision\": \"<string>\",\n \"evidence\": \"<string>\",\n \"workflow\": {\n \"version\": 1,\n \"instructions\": \"\",\n \"model_routing\": {\n \"cost_tier\": \"medium\",\n \"allowed_models\": [\n \"<string>\"\n ]\n },\n \"filter_relevance\": true,\n \"document_destination\": {\n \"url\": \"<string>\"\n },\n \"inputs\": {\n \"platforms\": [],\n \"account_roles\": [],\n \"slack_channels\": [\n {\n \"team_id\": \"<string>\",\n \"channel_id\": \"<string>\",\n \"name\": \"\"\n }\n ],\n \"lookback_days\": 7,\n \"max_sources\": 25,\n \"x_queries\": [\n \"<string>\"\n ],\n \"x_min_likes\": 500000\n }\n }\n }\n ],\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"workspace_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"source_intent\": [\n \"<string>\"\n ],\n \"collection_mode\": \"server\",\n \"products\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ],\n \"competitors\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"keywords\": [\n \"<string>\"\n ],\n \"collection_targets\": {}\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Show child attributes
Show child attributes
Maximum array length:
5Show child attributes
Show child attributes
Maximum array length:
16Available options:
agent, server Available options:
Cursor, Claude Code, Codex, OpenClaw Maximum array length:
20Show child attributes
Show child attributes
Maximum array length:
20Show child attributes
Show child attributes
Response
Successful Response