curl --request GET \
--url https://api.olie.ai/api/management/project-executions/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/project-executions/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.olie.ai/api/management/project-executions/me', 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://api.olie.ai/api/management/project-executions/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.olie.ai/api/management/project-executions/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.olie.ai/api/management/project-executions/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/project-executions/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"response": true,
"current_execution": {
"id": "a14afcbd-38b1-4b97-8950-02c09547611a",
"project_id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"user_id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"funnel_step_id": 181,
"started_at": "2026-03-13T20:39:59.000000Z",
"finished_at": null,
"hourly_rate": 0,
"finished_reason": null,
"started_at_real": null,
"finished_at_real": null,
"project": {
"id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"code": "AD-1",
"name": "awdawd"
},
"user": {
"id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"name": "Test User",
"avatar_url": "https://olie-main-dev.s3.amazonaws.com/app/avatars/AKMCHJI5WBPqrvx6aF9okU2dwf4VlOtRg3bN-avatar-1773273837.png"
},
"funnel_step": {
"id": 181,
"name": "tres",
"project_funnel_id": 36,
"funnel": {
"id": 36,
"name": "funil do abacaxi"
}
}
},
"recent_executions": [
{
"id": "a14afbe7-d2bc-4821-9c2b-7ce295f8a962",
"project_id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"user_id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"funnel_step_id": 181,
"started_at": "2026-03-13T16:00:39.000000Z",
"finished_at": "2026-03-13T20:39:00.000000Z",
"hourly_rate": 0,
"finished_reason": "self_stop",
"started_at_real": null,
"finished_at_real": "2026-03-13T19:20:03.000000Z",
"project": {
"id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"code": "AD-1",
"name": "awdawd"
},
"user": {
"id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"name": "Test User",
"avatar_url": "https://olie-main-dev.s3.amazonaws.com/app/avatars/AKMCHJI5WBPqrvx6aF9okU2dwf4VlOtRg3bN-avatar-1773273837.png"
},
"funnel_step": {
"id": 181,
"name": "tres",
"project_funnel_id": 36,
"funnel": {
"id": 36,
"name": "funil do abacaxi"
}
}
},
{
"id": "a14afbe7-d2bc-4821-9c2b-7ce295f8a961",
"project_id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"user_id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"funnel_step_id": 181,
"started_at": "2026-03-13T10:00:39.000000Z",
"finished_at": "2026-03-13T15:20:03.000000Z",
"hourly_rate": 0,
"finished_reason": "self_stop",
"started_at_real": null,
"finished_at_real": null,
"project": {
"id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"code": "AD-1",
"name": "awdawd"
},
"user": {
"id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"name": "Test User",
"avatar_url": "https://olie-main-dev.s3.amazonaws.com/app/avatars/AKMCHJI5WBPqrvx6aF9okU2dwf4VlOtRg3bN-avatar-1773273837.png"
},
"funnel_step": {
"id": 181,
"name": "tres",
"project_funnel_id": 36,
"funnel": {
"id": 36,
"name": "funil do abacaxi"
}
}
}
],
"hidden_timers": false,
"total_time": 38140,
"idle_time": 27734,
"current_project_total_time": 38140,
"current_step_total_time": 38140
}Obter minhas execuções
Retorna o panorama de execuções do usuário autenticado: a execução em andamento (se houver), as execuções recentes e os tempos acumulados no período — total trabalhado, tempo ocioso e tempo no projeto e na etapa atuais.
O período padrão é o dia de hoje e não pode passar de 30 dias. Quem não tem acesso aos cronômetros recebe os tempos como null e hidden_timers igual a true.
curl --request GET \
--url https://api.olie.ai/api/management/project-executions/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/project-executions/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.olie.ai/api/management/project-executions/me', 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://api.olie.ai/api/management/project-executions/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.olie.ai/api/management/project-executions/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.olie.ai/api/management/project-executions/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/project-executions/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"response": true,
"current_execution": {
"id": "a14afcbd-38b1-4b97-8950-02c09547611a",
"project_id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"user_id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"funnel_step_id": 181,
"started_at": "2026-03-13T20:39:59.000000Z",
"finished_at": null,
"hourly_rate": 0,
"finished_reason": null,
"started_at_real": null,
"finished_at_real": null,
"project": {
"id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"code": "AD-1",
"name": "awdawd"
},
"user": {
"id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"name": "Test User",
"avatar_url": "https://olie-main-dev.s3.amazonaws.com/app/avatars/AKMCHJI5WBPqrvx6aF9okU2dwf4VlOtRg3bN-avatar-1773273837.png"
},
"funnel_step": {
"id": 181,
"name": "tres",
"project_funnel_id": 36,
"funnel": {
"id": 36,
"name": "funil do abacaxi"
}
}
},
"recent_executions": [
{
"id": "a14afbe7-d2bc-4821-9c2b-7ce295f8a962",
"project_id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"user_id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"funnel_step_id": 181,
"started_at": "2026-03-13T16:00:39.000000Z",
"finished_at": "2026-03-13T20:39:00.000000Z",
"hourly_rate": 0,
"finished_reason": "self_stop",
"started_at_real": null,
"finished_at_real": "2026-03-13T19:20:03.000000Z",
"project": {
"id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"code": "AD-1",
"name": "awdawd"
},
"user": {
"id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"name": "Test User",
"avatar_url": "https://olie-main-dev.s3.amazonaws.com/app/avatars/AKMCHJI5WBPqrvx6aF9okU2dwf4VlOtRg3bN-avatar-1773273837.png"
},
"funnel_step": {
"id": 181,
"name": "tres",
"project_funnel_id": 36,
"funnel": {
"id": 36,
"name": "funil do abacaxi"
}
}
},
{
"id": "a14afbe7-d2bc-4821-9c2b-7ce295f8a961",
"project_id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"user_id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"funnel_step_id": 181,
"started_at": "2026-03-13T10:00:39.000000Z",
"finished_at": "2026-03-13T15:20:03.000000Z",
"hourly_rate": 0,
"finished_reason": "self_stop",
"started_at_real": null,
"finished_at_real": null,
"project": {
"id": "019c2ffd-f4e9-709f-ae34-d4d149e3585d",
"code": "AD-1",
"name": "awdawd"
},
"user": {
"id": "019c1e87-63f4-71dd-a4e3-6eaea0619c2f",
"name": "Test User",
"avatar_url": "https://olie-main-dev.s3.amazonaws.com/app/avatars/AKMCHJI5WBPqrvx6aF9okU2dwf4VlOtRg3bN-avatar-1773273837.png"
},
"funnel_step": {
"id": 181,
"name": "tres",
"project_funnel_id": 36,
"funnel": {
"id": 36,
"name": "funil do abacaxi"
}
}
}
],
"hidden_timers": false,
"total_time": 38140,
"idle_time": 27734,
"current_project_total_time": 38140,
"current_step_total_time": 38140
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Início do período (data ou data-hora). Padrão: começo do dia de hoje.
Fim do período. Padrão: fim do dia de hoje. No máximo 30 dias após start_date.
Response
Sucesso
Panorama de execuções do usuário autenticado.
Sempre true quando a operação é concluída.
Execução em andamento, quando existe.
Execuções recentes do usuário.
Show child attributes
Show child attributes
true quando o usuário não pode ver os próprios cronômetros; nesse caso os tempos vêm nulos.
Tempo trabalhado no período, em segundos.
Tempo do período sem execução, em segundos.
Tempo acumulado no projeto da execução atual, em segundos.
Tempo acumulado na etapa da execução atual, em segundos.
Was this page helpful?