Exposing a dataset as an API with a condition on a column value

Solved!
iouahoud
Level 2
Exposing a dataset as an API with a condition on a column value

Hello Dataikers,

Is there any available way to expose an API from only a DSS dataset with a parameter to filter on a column in the flow? Is this possible or there any other way to lunch for each API call and calculate the flow with the variable parameter of the call.

Best regards

0 Kudos
1 Solution
Manuel
Dataiker Alumni

Hi,

When you are using the API node for ML model scoring, in the API call, you pass the parameters needed by the model, typically its features.

I hope this helps.

View solution in original post

0 Kudos
3 Replies
Manuel
Dataiker Alumni

Hi,

In an API node you can deploy an API service to perform an SQL query with given parameters. You can find more information on this page, https://doc.dataiku.com/dss/latest/apinode/introduction.html#exposing-sql-queries.

I hope this helps.

0 Kudos
iouahoud
Level 2
Author

and if I use a dataset or a model as an end point source can it be used with a parameter for example an eps parameter for dbscan model ?

0 Kudos
Manuel
Dataiker Alumni

Hi,

When you are using the API node for ML model scoring, in the API call, you pass the parameters needed by the model, typically its features.

I hope this helps.

0 Kudos