cromwellMetadata: Get metadata associated with one or more workflow ids

Description Usage Arguments Value References Examples

View source: R/api.R

Description

This endpoint returns a superset of the data from #get-workflowsversionidlogs in essentially the same format (i.e. shards are accounted for by an array of maps, in the same order as the shards). In addition to shards, every attempt that was made for this call will have its own object as well, in the same order as the attempts. Workflow metadata includes submission, start, and end datetimes, as well as status, inputs and outputs. Call-level metadata includes inputs, outputs, start and end datetime, backend-specific job id, return code, stdout and stderr. Date formats are ISO with milliseconds.

Usage

1
cromwellMetadata(ids, query = NULL, ...)

Arguments

ids

A character() vector of cromwell IDs, typically returned from a batch submission or from a call to cromwellQuery.

...

passed directly to httr 'GET' (for including 'timeouts', 'handles', etc.)

Value

a list of metadata lists

References

https://github.com/broadinstitute/cromwell#get-apiworkflowsversionidmetadata

Examples

1
2
3
4
5
6
7
## Not run: 
res = cromwellQuery(terms=c(status='Succeeded',name='taskName'))
head(res)
metalist = cromwellMetadata(res$id)
str(metalist,list.len=5)

## End(Not run)

seandavi/wdlRunR documentation built on Oct. 28, 2021, 12:42 a.m.