List Project Analyses
curl --request GET \
--url https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analysesimport requests
url = "https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses', 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/agent/v1/projects/{project_id}/analyses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"analyses": [
{
"id": "<string>",
"question": "<string>",
"public": true,
"created_at": "2023-11-07T05:31:56Z",
"takeaway": "<string>",
"tag": "<string>",
"status": "<string>",
"total_comments": 123,
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"pages": 123
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}analysis
List Project Analyses
List all analyses for a specific project with pagination and filtering.
Access Control:
- Returns analyses if user owns the project OR project is public
- Returns only user’s analyses OR public analyses
Pagination:
- page: Page number (1-indexed, default: 1)
- limit: Results per page (default: 20, max: 100)
Sorting:
- sort: Field and direction (e.g., “created_at:desc”)
- Allowed fields: created_at, updated_at, question, status, total_comments
- Default: created_at:desc (newest first)
Filtering:
- status: Filter by analysis status (pending, running, completed, failed)
- public: Filter by public visibility (true/false)
Response:
- List of analysis summaries (lightweight, no full content)
- Pagination metadata (page, limit, total, pages)
GET
/
agent
/
v1
/
projects
/
{project_id}
/
analyses
List Project Analyses
curl --request GET \
--url https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analysesimport requests
url = "https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses', 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/agent/v1/projects/{project_id}/analyses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses")
.asString();require 'uri'
require 'net/http'
url = URI("https://agent.crowdlisten.com/agent/v1/projects/{project_id}/analyses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"analyses": [
{
"id": "<string>",
"question": "<string>",
"public": true,
"created_at": "2023-11-07T05:31:56Z",
"takeaway": "<string>",
"tag": "<string>",
"status": "<string>",
"total_comments": 123,
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"pages": 123
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Path Parameters
Query Parameters
Page number (1-indexed)
Required range:
x >= 1Results per page (max 100)
Required range:
1 <= x <= 100Sort field:direction
Filter by status
Filter by public flag