Data/samples API ignores amount

Hello OD community :-),

when perform a API request to sample a table, the amount key value doesn’t seem to affect the response.
For example the following request:

returns 15 values.

I’m new to API requests, am I doing something wrong?


samples are cached. There is some logic that decides whether to recompute the samples when a request comes in or whether the cached value can be used. Try to delete the existing samples by sending a DELETE request to You’re not risking to lose something by sending that DELETE request because you only delete cached data.

1 Like