Skip to main content
POST
/
project
/
{projectId}
/
security-champion
/
conversations
/
list
List user conversations
curl --request POST \
  --url https://us.cybedefend.com/project/{projectId}/security-champion/conversations/list \
  --header 'Authorization: Bearer <token>'
{
  "conversations": [
    {
      "id": "<string>",
      "title": "<string>",
      "status": "<string>",
      "projectIds": [
        "<string>"
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "totalMessages": 123,
      "branch": "<string>",
      "repository": "<string>",
      "vulnerabilityId": "<string>"
    }
  ],
  "total": 123,
  "page": 123,
  "pageSize": 123,
  "totalPages": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string<uuid>
required

Project unique identifier

Query Parameters

branch
string

Filter by branch name

Example:

"main"

Search in conversation title

Example:

"SQL injection"

page
number
default:1

Page number (1-based)

Required range: x >= 1
pageSize
number
default:20

Number of items per page (default 20, max 100)

Required range: 1 <= x <= 100
sortBy
enum<string>

Sort field: created_at, updated_at, title

Available options:
created_at,
updated_at,
title
sortOrder
enum<string>

Sort order: asc or desc

Available options:
asc,
desc

Response

Paginated list of conversations retrieved successfully

conversations
object[]
total
number

Total count of matching conversations

page
number

Current page number

pageSize
number

Items per page

totalPages
number

Total number of pages