List events
curl --request GET \
--url https://api.conare.ai/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.conare.ai/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.conare.ai/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "evt_42",
"seq": 123,
"type": "run.completed",
"source_id": "<string>",
"run_id": "<string>",
"user": "<string>",
"data": {},
"created_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "text is required",
"request_id": "7d0f4c1e-2b8a-4e39-9a61-3c5e8b2f9d04"
}
}{
"error": {
"code": "invalid_request",
"message": "text is required",
"request_id": "7d0f4c1e-2b8a-4e39-9a61-3c5e8b2f9d04"
}
}Eventos
List events
The events after cursor, oldest first; seq has no gaps, so read on from next_cursor.
- Kept 30 days; a key scoped to namespaces cannot read them.
GET
https://api.conare.ai
/
events
List events
curl --request GET \
--url https://api.conare.ai/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.conare.ai/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.conare.ai/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "evt_42",
"seq": 123,
"type": "run.completed",
"source_id": "<string>",
"run_id": "<string>",
"user": "<string>",
"data": {},
"created_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "text is required",
"request_id": "7d0f4c1e-2b8a-4e39-9a61-3c5e8b2f9d04"
}
}{
"error": {
"code": "invalid_request",
"message": "text is required",
"request_id": "7d0f4c1e-2b8a-4e39-9a61-3c5e8b2f9d04"
}
}Autorizações
A key from conare.ai/dashboard/keys with full access, some namespaces, or models only (/embed, /rerank, /v1, /v2/rerank, /parse).
Parâmetros de consulta
A seq; 0 from the oldest kept.
Comma-separated; run.* takes a group.
Only events of users starting with this.
Intervalo obrigatório:
1 <= x <= 1000Esta página foi útil?