Hi, I am trying to get the query used to create a segment on a dashboard via API. I have looked at the available endpoints and it does not seem like there is a way to do this, but wanted to confirm!
If you are looking to pull a segment like this applied to a chart, then I don’t think it’s possible.
You can either query the results of a saved chart using this segment or build this segment definition using the API parameters as shown.
What format are you expecting your segment definition to look like if at all there was a way to extract just that?
Hi ksd
Are you trying to replicate a chart via a API call which uses a user segment? You can replicate your chart’s user segment in your api call using this segment definition construct.Or do you want to just get results from a existing chart which uses a user segment?
Hi Saish Redkar,
I’d like to get the segment definition used in a chart - I don’t need the results of the segment.
ksd great question, I’m checking with the tech support team. Our API absolutely allows you to retrieve information about the charts and their data (as Saish Redkar pointed out), but not sure if the API allows you to retrieve the query or segment definition used to create them. Looking into this. 👀
Saish Redkar for your help on this. Just posting the final answer from the team that it’s not possible to achieve what ksd is looking for at this time. 😓
I have a csv with 2 columns user_id and lead_source. I went to Catalog and selected CSV under Lookup Tables. Step 1: I brought in the CSV and Step 2: I mapped the first column (user_id) to User ID (Amplitude User). It showed me a sample of my CSV and showed both columns at the bottom of Step 2. I clickd Finish. I went to…
I am unable to find my Event Properties in the list of “+ Filters” in Segmentation chart.
Myself and other team members have tried using the Facebook Cohorts integration however we always receive the same error ‘notifications.integration.saveFailure When looking in Meta Business Manager it says that the integration is active however when going into the Destinations tab in Amplitude, it is blank I have tried the…
I am setting user property wallet address, and using the same variable to set user ID. However, while walletAddress works (0xA66...54), User ID seemingly converts the hex to a big number (1.2905460614871781E+48) which is preventing us from using filtering and views. Any ideas?
We are experimenting with amplitude for a couple of our customers. When watching a session the text appears as **** **** and not text. Is this normal? Some pages because of naming and design its hard to tell what pay they are on without seeing the text. Also some sessions are full of click span and click event when they…