Flujos para filtrar el historial de ejecuciones
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/flow_executions/flows \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/flow_executions/flows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/flow_executions/flows"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"payload": [
{
"id": 123,
"name": "<string>",
"deleted": true
}
]
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}Flow Definitions
Flujos para filtrar el historial de ejecuciones
Los flujos de la cuenta ordenados por nombre, seguidos de cada flujo eliminado que dejó ejecuciones, con el último nombre que guardaron sus ejecuciones.
GET
/
api
/
v1
/
accounts
/
{account_id}
/
flow_executions
/
flows
Flujos para filtrar el historial de ejecuciones
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/flow_executions/flows \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/flow_executions/flows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/flow_executions/flows"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"payload": [
{
"id": 123,
"name": "<string>",
"deleted": true
}
]
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}