Historique des versions
Routines · 2 versions. Chaque modification publiée est conservée et jamais réécrite.
- v2chore(domain): the docs live on docs.veyra.soActuellesha256 3c9ee223069b5a630935edc483394cb922c9e82faefed5c13f38d44f1d36d5a0
- v1First versionsha256 1d5afb4d0415490571e98a9cf2a87318d86cf0d19c4995f8f8378052c523396a
Modifications de la v2par rapport à la v1+3−3
67 lignes inchangées
Créez une routine, ajoutez un calendrier et lancez une exécution :
```bash title="curl"
Supprimé : ROUTINE_ID=$(curl -s -X POST "https://intelligence-api.withveyra.com/api/companies/$COMPANY_ID/routines" \
Ajouté : ROUTINE_ID=$(curl -s -X POST "https://intelligence-api.veyra.so/api/companies/$COMPANY_ID/routines" \
-H "Authorization: Bearer $VEYRA_API_KEY" -H "Content-Type: application/json" \
-d '{"title": "Weekly support summary", "description": "Summarize tickets from {{week}}.", "assigneeAgentId": "'"$AGENT_ID"'"}' | jq -r .id)
Supprimé : curl -X POST "https://intelligence-api.withveyra.com/api/routines/$ROUTINE_ID/triggers" \
Ajouté : curl -X POST "https://intelligence-api.veyra.so/api/routines/$ROUTINE_ID/triggers" \
-H "Authorization: Bearer $VEYRA_API_KEY" -H "Content-Type: application/json" \
-d '{"kind": "schedule", "cronExpression": "0 9 * * 1", "timezone": "Europe/Istanbul"}'
Supprimé : curl -X POST "https://intelligence-api.withveyra.com/api/routines/$ROUTINE_ID/run" \
Ajouté : curl -X POST "https://intelligence-api.veyra.so/api/routines/$ROUTINE_ID/run" \
-H "Authorization: Bearer $VEYRA_API_KEY" -H "Content-Type: application/json" \
-d '{"source": "api", "variables": {"week": "2026-W46"}, "idempotencyKey": "support-2026-w46"}'
```
4 lignes inchangées
Ouvrir et restaurer une version antérieure arrive bientôt. Chaque version conserve son texte intégral, son auteur, sa note de modification et son empreinte.