Submit your inspiring success story or innovative use case to the 2022 Dataiku Frontrunner Awards! ENTER YOUR SUBMISSION

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

Solved!
iouahoud
Level 1
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
Dataiker

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
Dataiker

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 1
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
Dataiker

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