Skip to main content

How-to: Create List of Experiment (Worksheet) UUIDs

Issue:

Is it possible for users to utilize ESP client or API calls to generate a list of experiment (worksheet) uuids filtered by the date they were completed?

Solution:

  • Yes, this is possible

  • Users can try to use the API endpoint - /api/sample_sheets?params=["state"] or /api/sample_sheets?params=["state","end_time"]

  • Note: The state of the experiment will not be set to "done" unless all of the associated sample sheets are completed as well

    • The samples in the sample sheet must both be completed and transitioned before the experiment will be considered "done"

    • This must be the case for all samples in the experiment, regardless of their location

    • Further, for Experiments users have yet to complete, the end_time will be empty