pub fn get_artifacts(params: Params) -> Result<Vec<ArtifactData>, Error>
pull out the artifacts from the params