Alteryx Cloud API: Why Am I Getting an Empty Response for Flows?
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Stummschalten
- Drucker-Anzeigeseite
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Moderator informieren
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?
Gelöst! Gehe zu Lösung.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Moderator informieren
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Moderator informieren
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?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Moderator informieren
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Moderator informieren
Deleted my comment - see Nikhilesh's comment above
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Moderator informieren
Thank you all for your help