List Conversations
GET
/api/v1/projects/{project_id}/conversations
const url = 'https://aura.strangeworks.com/api/v1/projects/example/conversations?limit=50&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://aura.strangeworks.com/api/v1/projects/example/conversations?limit=50&offset=0' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”project_id
required
Project Id
string
Query Parameters
Section titled “Query Parameters”limit
Limit
Maximum rows to return.
integer
Maximum rows to return.
offset
Offset
Rows to skip before the returned page.
integer
Rows to skip before the returned page.
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
ConversationListResponse
object
conversations
required
Conversations
Array<object>
ConversationResponseobject
limit
required
Limit
integer
offset
required
Offset
integer
total
required
Total
integer
Example
{ "conversations": [ { "message_count": 0 } ]}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}