List chats
curl --request GET \
--url https://api.arg.ai/api/chats \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/chats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/chats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Chats
List chats
GET
/
api
/
chats
List chats
curl --request GET \
--url https://api.arg.ai/api/chats \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/chats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/chats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Authorizations
bearerAuthapiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Limit to chats associated with one workspace.
Set to true or false to page pinned chats separately.
Maximum chats to return.
Pagination offset.
Filter by arg, codex or claude_code before pagination.
Response
Successful response
The response is of type object.