how to get all runs of scenarios an their informations?

piedallu
piedallu Registered Posts: 2

For my internship i have a project where i have to create a dataset with all the scenarios and their runs, but when i try and import them the informations such as the last run, the progress percentage, number of runs type of triggers and stuff like that remains empty or are marked with a 0 . I hve the id and the name of the scenarios but thats it. when i putted it in a notebook it tells me that get.scenarios does not exist. so my question is: what command should i use to get these informations?

Thank you in advance and pardon my english (im french)

Tagged:

Answers

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023, Circle Member Posts: 2,722 Neuron

    Please post your code in a code block. Also it sounds like you are using chatGPT or another LLM to generate it. It's best if you don't do that as LLMs tend to allucinate a lot of API methods that don't exist. Use the official API documentation:

    https://developer.dataiku.com/latest/concepts-and-examples/scenarios.html

  • Yasmine_T
    Yasmine_T Dataiker, Registered, Moderator Posts: 100 Dataiker

    Bonjour,

    J'espere que vous allez bien.

    Avez vous créer vos scenarios dans un meme project et conduis un premier run pour chaque scenario? Vous pouvez verifier ceci dans la last runs tab de votre scenario:

    Screenshot 2025-08-05 at 11.17.04.png

    D'après votre description "get.scenarios does not exist" effectivement ceci ne serait pas la bonne syntax.

    Je vous recommande notre python api documentation qui vous donne quelques sample code pour vous aider dans votre implementation.

    scenario = project.get_scenario("MYSCENARIO")
    

    Pour votre use case, ce document vous sera utile: https://developer.dataiku.com/latest/concepts-and-examples/scenarios.html#get-information-about-the-last-completed-run-of-a-scenario

    Si vous avez toujours besoin d'aide pour implementer votre dataset, n'hésitez pas à ouvrir un support ticket (ou si vous utilisez Dataiku Cloud, un chat support).

    Passez une excellente journée et n'hésitez pas si vous avez d'autre questions.

    Cordialement,

    Yasmine

Setup Info
    Tags
      Help me…