Alteryx Cloud API: Why Am I Getting an Empty Response for Flows?
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Sourdine
- Page imprimable
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler au modérateur
Hello community,
I need help with the Alteryx Cloud API. I'm trying to access the list of workspaces through the URL https://us1.alteryxcloud.com/v4/workspaces and it's working correctly, returning the expected data.
However, when I try to access the list of flows through the URL https://us1.alteryxcloud.com/v4/flows, I'm getting an empty response ({"data": []}).
Can someone help me understand what's going on and how I can resolve this issue?
Résolu ! Accéder à la solution.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler au modérateur
Hi @GabrielFernandes,
The URL you can use to access your designer cloud workflows is: https://us1.alteryxcloud.com/svc-workflow/api/v1/workflows
We're working to make the API docs for these endpoints accessible to end users. I can share that information once it is available.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler au modérateur
Thank you very much!!
You can see my workflow with this URL: https://us1.alteryxcloud.com/svc-workflow/api/v1/workflows
Do you know which command to give Run in workflow or plans?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler au modérateur
Hello Gabriel,
Great Question!
This is the API to call
POST https://us1.alteryxcloud.com/svc-workflow/api/v1/workflows/{id}/run
Just replace {id} with the id of your workflow (which should be returned when calling the LIST API provided by Kyle)
To get an API Token, you should use the following steps
1. Go to User Preferences by clicking on the icon on the top right
2. Go to the Oauth 2.0 API Tokens page (https://us1.alteryxcloud.com/cloud-portal/preferences/oauth2-api-tokens)
3. Generate a new API Token
You should then be able to use this API token to make requests. If you are using Postman, you can just select authorization type "Oauth 2.0" in the Authorization tab
Let us know if we can be of more assistance
Best,
Nikhilesh
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler au modérateur
Deleted my comment - see Nikhilesh's comment above
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler au modérateur
Thank you all for your help