Download OpenAPI specification:Download
This is the Globus Flows API description.
Deploy a Flow and its schema.
required | object (The flow definition) The flow definition. If this parameter is used when updating a flow, runs that are currently executing will continue to use the definition that they were initially started with. |
title | string [ 1 .. 128 ] characters A non-unique, human-friendly name used for displaying the provider to end users. |
subtitle | string [ 1 .. 128 ] characters A concise summary of the provider’s purpose. |
description | string [ 1 .. 4096 ] characters A detailed description of the provider for end user display. |
keywords | Array of strings A set of terms used to categorize the provider which may be used in query and discovery operations. Maximum total length of all keywords is 1024 characters. |
Array of strings or PrincipalURN (string) <= 16 items unique A set of Principal URNs, or the value "public", indicating the identity of users and/or groups who can view the flow. | |
Array of strings or PrincipalURN (string) <= 16 items unique A set of Principal URNs, or the value "all_authenticated_users", indicating the identity of users who can start the flow. | |
flow_administrators | Array of strings (PrincipalURN) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] The set of Principal URN values of users who may perform administrative operations, including updating the description itself, on the flow. |
input_schema | object A published JSON Schema which input to the Flow must conform to. |
run_managers | Array of strings (Run managers) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may manage runs of the flow. "Managing" operations include updating, canceling, and deleting the run. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
run_monitors | Array of strings (Run monitors) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may monitor runs of the flow. "Monitoring" operations include checking the run status and its logs. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
subscription_id | string <uuid> A subscription to associate with this flow. If no subscription is specified, the flow may be created but may have limits on how long or how much it can be used. |
{- "definition": {
- "Comment": "string",
- "StartAt": "string",
- "States": {
- "property1": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}, - "property2": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}
}
}, - "title": "string",
- "subtitle": "string",
- "description": "string",
- "keywords": [
- "string"
], - "flow_viewers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_starters": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_administrators": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "input_schema": { },
- "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627"
}
{- "id": "string",
- "definition": {
- "Comment": "string",
- "StartAt": "string",
- "States": {
- "property1": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}, - "property2": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}
}
}, - "input_schema": { },
- "user_role": "flow_viewer",
- "flow_viewers": [
- "public",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_starters": [
- "all_authenticated_users",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_administrators": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "flow_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "synchronous": true,
- "log_supported": true,
- "types": [
- "Action"
], - "api_version": "1.0",
- "title": "string",
- "subtitle": "string",
- "description": "string",
- "keywords": [
- "string"
], - "principal_urn": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "globus_auth_username": "string",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627"
}
Query the Flows service for a listing of Flows available to a user according to the permissions (role) they have on the Flow.
marker | string An opaque token used to iterate through pages of returned Flows. If provided, all other query arguments will be ignored. The marker encodes all state in a given query, therefore it's unnecessary to provide query arguments once an initial marker has been received. |
per_page | integer [ 1 .. 50 ] Default: 20 Example: per_page=50 The number of results to return in a single paged response. |
page | integer >= 1 Default: 1 Example: page=2 The page of results to return. |
filter_roles | Array of strings Default: "flow_owner,flow_viewers,flow_starters,flow_administrators,run_managers,run_monitors" Items Enum: "flow_owner" "flow_viewers" "flow_starters" "flow_administrators" "run_managers" "run_monitors" Example: filter_roles=flow_owner,flow_viewers Return Flows for which the user has the supplied role. The role the user has on the Flow dictates the operations they can perform. If multiple roles are specified, the user will have at least one of the specified roles on each Flow returned. |
filter_role | string Deprecated Enum: "flow_viewer" "flow_starter" "flow_administrator" "flow_owner" "run_manager" "run_monitor" Example: filter_role=flow_starter Return Flows for which the user has the provided role. The role the user has on the Flow dictates the operations they can perform. Roles are cumulative in the sense that having, for example, the "flow_starter" role also implies having the "flow_viewer" role. Thus, specifying "flow_starter" will also include all Flows for which the user has "flow_viewer" role as well. If not provided, only Flows for which the caller has "flow_owner" role will be returned. |
filter_scope_string | Array of strings Example: filter_scope_string=0abc,100 Performs a case insensitive substring based search on the Flows' scope string fields. If multiple values are specified, each Flow returned is guaranteed to contain at least one of the strings in its scope strings. |
filter_title | Array of strings Example: filter_title=hello,science Performs a case insensitive substring based search on the Flows' title field. If multiple values are specified, each Flow returned is guaranteed to contain at least one of the strings in its title. |
filter_subtitle | Array of strings Example: filter_subtitle=hello,science Performs a case insensitive substring based search on the Flows' subtitle field. If multiple values are specified, each Flow returned is guaranteed to contain at least one of the strings in its subtitle. |
filter_description | Array of strings Example: filter_description=hello,science Performs a case insensitive substring based search on the Flows' description field. If multiple values are specified, each Flow returned is guaranteed to contain at least one of the strings in its description. |
filter_keywords | Array of strings Example: filter_keywords=hello,science Performs a case insensitive substring based search on the Flows' keywords field. If multiple values are specified, each Flow returned is guaranteed to contain at least one of the substrings as a keyword. |
filter_fulltext | Array of strings Example: filter_fulltext=globus Given a one or more patterns, this filter searches against a pre-defined subset of fields for a match. If any of the fields match any of the patterns, the Flow is considered a match. The fields that are automatically searched in are:
|
orderby | Array of strings Default: "id ASC" Example: orderby=title ASC,id DESC Ordering criteria to apply to the list of flows. This field is a comma-separated list of sort criteria, and follows this syntax:
and each individual
The first value, When additional comma-separated criteria are added, the first criterion will be used to sort the data; subsequent criteria will be applied for ties. Supported fields are:
Supported orderings are:
|
{- "flows": [
- {
- "id": "string",
- "definition": {
- "Comment": "string",
- "StartAt": "string",
- "States": {
- "property1": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}, - "property2": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}
}
}, - "input_schema": { },
- "user_role": "flow_viewer",
- "flow_viewers": [
- "public",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_starters": [
- "all_authenticated_users",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_administrators": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "flow_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "synchronous": true,
- "log_supported": true,
- "types": [
- "Action"
], - "api_version": "1.0",
- "title": "string",
- "subtitle": "string",
- "description": "string",
- "keywords": [
- "string"
], - "principal_urn": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "globus_auth_username": "string",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627"
}
], - "limit": 0,
- "marker": "string",
- "has_next_page": true
}
Validate a flow definition and its schema.
required | object (The flow definition) The flow definition. If this parameter is used when updating a flow, runs that are currently executing will continue to use the definition that they were initially started with. |
input_schema | object A JSON Schema describing valid input to the flow. |
{- "definition": {
- "Comment": "string",
- "StartAt": "string",
- "States": {
- "property1": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}, - "property2": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}
}
}, - "input_schema": { }
}
{- "scopes": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}
Get a previously deployed Flow.
flow_id required | string <uuid> The flow ID |
{- "id": "string",
- "definition": {
- "Comment": "string",
- "StartAt": "string",
- "States": {
- "property1": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}, - "property2": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}
}
}, - "input_schema": { },
- "user_role": "flow_viewer",
- "flow_viewers": [
- "public",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_starters": [
- "all_authenticated_users",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_administrators": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "flow_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "synchronous": true,
- "log_supported": true,
- "types": [
- "Action"
], - "api_version": "1.0",
- "title": "string",
- "subtitle": "string",
- "description": "string",
- "keywords": [
- "string"
], - "principal_urn": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "globus_auth_username": "string",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627"
}
Update a previously deployed Flow.
flow_id required | string <uuid> The flow ID |
object (The flow definition) The flow definition. If this parameter is used when updating a flow, runs that are currently executing will continue to use the definition that they were initially started with. | |
input_schema | object A JSON schema document. When starting the flow, input keys and values must conform to the schema. The Globus Web App uses the input schema to created a guided input page when starting the flow. |
title | string [ 1 .. 128 ] characters A non-unique, human-friendly name used for displaying the flow to end users. |
subtitle | string <= 128 characters A short summary of the flow's purpose or functionality. |
description | string <= 4096 characters Arbitrary text to describe the Flow. |
flow_owner | string If provided, the value must be the calling user's Globus Auth identity URN, and the user must be a flow administrator. It is not possible for non-administrators to take ownership of a flow. Also, it is currently not possible to assign ownership to another user. |
flow_administrators | Array of strings <= 16 items unique A list of Globus Auth identity and group URNs that may administer the flow. Flow administrators are able to see the full flow definition, including any parameters listed in a "__Private_Parameters" value. |
flow_starters | Array of strings <= 16 items unique A list of Globus Auth identity and group URNs that may start the flow. It is possible to make a flow available for use to all authenticated users -- including those outside your organization or domain -- by using the special value "all_authenticated_users". Parameters listed in "__Private_Parameters" values in the definition will be removed from the definition when it is viewed by a flow starter. |
flow_viewers | Array of strings <= 16 items unique A list of Globus Auth identity and group URNs that may see the flow, including its definition and input schema. It is possible to make a flow available for viewing to all users -- including those outside your organization or domain -- by using the special value "public". Parameters listed in "__Private_Parameters" values in the definition will be removed from the definition when it is viewed by a flow starter. |
keywords | Array of strings A list of keywords that can be used for grouping or identifying flows. |
run_managers | Array of strings (Run managers) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may manage runs of the flow. "Managing" operations include updating, canceling, and deleting the run. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
run_monitors | Array of strings (Run monitors) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may monitor runs of the flow. "Monitoring" operations include checking the run status and its logs. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
string or string |
{- "definition": {
- "Comment": "string",
- "StartAt": "string",
- "States": {
- "property1": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}, - "property2": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}
}
}, - "input_schema": { },
- "title": "string",
- "subtitle": "string",
- "description": "string",
- "flow_owner": "string",
- "flow_administrators": [
- "string"
], - "flow_starters": [
- "string"
], - "flow_viewers": [
- "string"
], - "keywords": [
- "string"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "subscription_id": "string"
}
{- "id": "string",
- "definition": {
- "Comment": "string",
- "StartAt": "string",
- "States": {
- "property1": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}, - "property2": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}
}
}, - "input_schema": { },
- "user_role": "flow_viewer",
- "flow_viewers": [
- "public",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_starters": [
- "all_authenticated_users",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_administrators": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "flow_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "synchronous": true,
- "log_supported": true,
- "types": [
- "Action"
], - "api_version": "1.0",
- "title": "string",
- "subtitle": "string",
- "description": "string",
- "keywords": [
- "string"
], - "principal_urn": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "globus_auth_username": "string",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627"
}
Remove a Flow from the Flow service.
flow_id required | string <uuid> The flow ID |
{- "id": "string",
- "definition": {
- "Comment": "string",
- "StartAt": "string",
- "States": {
- "property1": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}, - "property2": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}
}
}, - "input_schema": { },
- "user_role": "flow_viewer",
- "flow_viewers": [
- "public",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_starters": [
- "all_authenticated_users",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_administrators": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "flow_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "synchronous": true,
- "log_supported": true,
- "types": [
- "Action"
], - "api_version": "1.0",
- "title": "string",
- "subtitle": "string",
- "description": "string",
- "keywords": [
- "string"
], - "principal_urn": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "globus_auth_username": "string",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627"
}
Query the Flows service for a listing of Flows available to a user according to the permissions (role) they have on the Flow.
roles | Array of strings Default: "flow_owner" Items Enum: "flow_owner" "flow_viewers" "flow_starters" "flow_administrators" Example: roles=flow_owner,flow_viewers Return Flow's for which the user has the supplied role. The role the user has on the Flow dictates the operations they can perform. |
{- "flows": [
- {
- "id": "string",
- "definition": {
- "Comment": "string",
- "StartAt": "string",
- "States": {
- "property1": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}, - "property2": {
- "Next": "string",
- "End": true,
- "Parameters": { },
- "InputPath": "string",
- "ResultPath": "string"
}
}
}, - "input_schema": { },
- "user_role": "flow_viewer",
- "flow_viewers": [
- "public",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_starters": [
- "all_authenticated_users",
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "urn:globus:groups:id:fdb38a24-03c1-11e3-86f7-12313809f035"
], - "flow_administrators": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "flow_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "synchronous": true,
- "log_supported": true,
- "types": [
- "Action"
], - "api_version": "1.0",
- "title": "string",
- "subtitle": "string",
- "description": "string",
- "keywords": [
- "string"
], - "principal_urn": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "globus_auth_username": "string",
- "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627"
}
], - "limit": 0,
- "marker": "string",
- "has_next_page": true
}
Start a particular Flow, which creates a Run.
flow_id required | string <uuid> The flow ID |
required | object (Input body) The input body that will be passed into the flow when it starts. If the flow defines an input schema, the input body will be validated against the input schema. If there is no input schema, no validation will be performed. |
run_monitors | Array of strings (Run monitors) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may monitor runs of the flow. "Monitoring" operations include checking the run status and its logs. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
run_managers | Array of strings (Run managers) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may manage runs of the flow. "Managing" operations include updating, canceling, and deleting the run. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
label | string (Label) [ 1 .. 64 ] characters A short, human-readable description of the run. |
tags | Array of strings (Tags) <= 16 items unique [ items [ 1 .. 256 ] characters ] A list of tags to associate with the run. Tags are normalized by stripping leading and trailing whitespace, and by replacing all whitespace with a single space. When updating a run, existing tags will be overwritten. This means that an empty array will delete all existing tags. |
object (Activity notification policy) The email notification policy for the run. |
{- "body": { },
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "label": "Generate a report for experiment xDA202-batch-3",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
], - "activity_notification_policy": {
- "status": [
- "INACTIVE"
]
}
}
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
Validate that a run input body will pass the target flow's input schema validation (if any), that run metadata will meet the Flows service's metadata constraints, and that known scope requirements are met by the user's or client's Globus Auth token.
If validation passes, then it is likely that the flow can be started with the same inputs and Globus Auth token.
flow_id required | string <uuid> The flow ID |
object (Activity notification policy) The email notification policy for the run. | |
required | object (Input body) The input body that will be passed into the flow when it starts. If the flow defines an input schema, the input body will be validated against the input schema. If there is no input schema, no validation will be performed. |
label | string (Label) [ 1 .. 64 ] characters A short, human-readable description of the run. |
run_managers | Array of strings (Run managers) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may manage runs of the flow. "Managing" operations include updating, canceling, and deleting the run. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
run_monitors | Array of strings (Run monitors) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may monitor runs of the flow. "Monitoring" operations include checking the run status and its logs. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
tags | Array of strings (Tags) <= 16 items unique [ items [ 1 .. 256 ] characters ] A list of tags to associate with the run. Tags are normalized by stripping leading and trailing whitespace, and by replacing all whitespace with a single space. When updating a run, existing tags will be overwritten. This means that an empty array will delete all existing tags. |
{- "activity_notification_policy": {
- "status": [
- "INACTIVE"
]
}, - "body": { },
- "label": "Generate a report for experiment xDA202-batch-3",
- "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
{- "message": "success"
}
Start a particular Flow, which creates a Run.
flow_id required | string <uuid> The flow ID |
required | object (Input body) The input body that will be passed into the flow when it starts. If the flow defines an input schema, the input body will be validated against the input schema. If there is no input schema, no validation will be performed. |
tags | Array of strings (Tags) <= 16 items unique [ items [ 1 .. 256 ] characters ] A list of tags to associate with the run. Tags are normalized by stripping leading and trailing whitespace, and by replacing all whitespace with a single space. When updating a run, existing tags will be overwritten. This means that an empty array will delete all existing tags. |
{- "body": { },
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
Remove the state for a particular invocation of a Flow.
run_id required | string <uuid> The run ID |
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
Attempt to resume a Run, particularly when it has reached a status of INACTIVE. A Flow Run may reach an INACTIVE status when an Action type state within the Flow returns its status as INACTIVE. The resume operation on the Flow Run provides a hint that the cause of the Action becoming INACTIVE may have been cleared, and thus the resume operation on the Action Provider should be invoked to allow the Action state to resume and thus resume the Flow Run.
In the particular case that an Action state is INACTIVE with a code value of "ConsentRequired" it is further assumed that the Bearer token provided in the Authorization header on the resume operation now carries sufficient consents to continue the INACTIVE Action. Thus, the Flow service will use the Bearer token to generate new dependent tokens for running the Action and use these tokens to request that the Action be resumed at the Action Provider.
Note again that in reasons other than "ConsentRequired" for a Flow or Action to go INACTIVE, the resume operation is just a hint. For example, when the code is "ActivationRequired," indicating that a Globus collection or endpoint needs to be Activated by the user, performing that Activation out-of-band from the Flow will allow the Flow to proceed even without the resume operation as the Action is periodically polled for progress. Performing the resume operation may simply cause a poll to happen more quickly and thus allow the Action to resume more quickly.
flow_id required | string <uuid> The flow ID |
run_id required | string <uuid> The run ID |
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
Attempt to resume a Run, particularly when it has reached a status of INACTIVE. A Flow Run may reach an INACTIVE status when an Action type state within the Flow returns its status as INACTIVE. The resume operation on the Flow Run provides a hint that the cause of the Action becoming INACTIVE may have been cleared, and thus the resume operation on the Action Provider should be invoked to allow the Action state to resume and thus resume the Flow Run.
In the particular case that an Action state is INACTIVE with a code value of "ConsentRequired" it is further assumed that the Bearer token provided in the Authorization header on the resume operation now carries sufficient consents to continue the INACTIVE Action. Thus, the Flow service will use the Bearer token to generate new dependent tokens for running the Action and use these tokens to request that the Action be resumed at the Action Provider.
Note again that in reasons other than "ConsentRequired" for a Flow or Action to go INACTIVE, the resume operation is just a hint. For example, when the code is "ActivationRequired," indicating that a Globus collection or endpoint needs to be Activated by the user, performing that Activation out-of-band from the Flow will allow the Flow to proceed even without the resume operation as the Action is periodically polled for progress. Performing the resume operation may simply cause a poll to happen more quickly and thus allow the Action to resume more quickly.
flow_id required | string <uuid> The flow ID |
run_id required | string <uuid> The run ID |
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
Attempt to resume a Run, particularly when it has reached a status of INACTIVE. A Flow Run may reach an INACTIVE status when an Action type state within the Flow returns its status as INACTIVE. The resume operation on the Flow Run provides a hint that the cause of the Action becoming INACTIVE may have been cleared, and thus the resume operation on the Action Provider should be invoked to allow the Action state to resume and thus resume the Flow Run.
In the particular case that an Action state is INACTIVE with a code value of "ConsentRequired" it is further assumed that the Bearer token provided in the Authorization header on the resume operation now carries sufficient consents to continue the INACTIVE Action. Thus, the Flow service will use the Bearer token to generate new dependent tokens for running the Action and use these tokens to request that the Action be resumed at the Action Provider.
Note again that in reasons other than "ConsentRequired" for a Flow or Action to go INACTIVE, the resume operation is just a hint. For example, when the code is "ActivationRequired," indicating that a Globus collection or endpoint needs to be Activated by the user, performing that Activation out-of-band from the Flow will allow the Flow to proceed even without the resume operation as the Action is periodically polled for progress. Performing the resume operation may simply cause a poll to happen more quickly and thus allow the Action to resume more quickly.
flow_id required | string <uuid> The flow ID |
run_id required | string <uuid> The run ID |
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
Attempt to resume a Run, particularly when it has reached a status of INACTIVE. A Flow Run may reach an INACTIVE status when an Action type state within the Flow returns its status as INACTIVE. The resume operation on the Flow Run provides a hint that the cause of the Action becoming INACTIVE may have been cleared, and thus the resume operation on the Action Provider should be invoked to allow the Action state to resume and thus resume the Flow Run.
In the particular case that an Action state is INACTIVE with a code value of "ConsentRequired" it is further assumed that the Bearer token provided in the Authorization header on the resume operation now carries sufficient consents to continue the INACTIVE Action. Thus, the Flow service will use the Bearer token to generate new dependent tokens for running the Action and use these tokens to request that the Action be resumed at the Action Provider.
Note again that in reasons other than "ConsentRequired" for a Flow or Action to go INACTIVE, the resume operation is just a hint. For example, when the code is "ActivationRequired," indicating that a Globus collection or endpoint needs to be Activated by the user, performing that Activation out-of-band from the Flow will allow the Flow to proceed even without the resume operation as the Action is periodically polled for progress. Performing the resume operation may simply cause a poll to happen more quickly and thus allow the Action to resume more quickly.
flow_id required | string <uuid> The flow ID |
run_id required | string <uuid> The run ID |
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
Cancel the execution for a particular Run of a Flow.
run_id required | string <uuid> The run ID |
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
Retrieve detailed execution information for a particular Flow Run
flow_id required | string <uuid> The flow ID |
run_id required | string <uuid> The run ID |
limit | integer Default: 10 An integer limit on the number of log records returned. |
reverse_order | boolean Default: false A flag to indicate if log records should be returned in reverse order. |
pagination_token | string A token used to iterate through pages of returned log records. |
{- "limit": 0,
- "marker": "string",
- "has_next_page": true,
- "entries": [
- { }
]
}
Retrieve detailed execution information for a particular Flow Run
flow_id required | string <uuid> The flow ID |
run_id required | string <uuid> The run ID |
limit | integer Default: 10 An integer limit on the number of log records returned. |
reverse_order | boolean Default: false A flag to indicate if log records should be returned in reverse order. |
pagination_token | string A token used to iterate through pages of returned log records. |
{- "limit": 0,
- "marker": "string",
- "has_next_page": true,
- "entries": [
- { }
]
}
Retrieve detailed execution information for a particular Flow Run
flow_id required | string <uuid> The flow ID |
run_id required | string <uuid> The run ID |
limit | integer Default: 10 An integer limit on the number of log records returned. |
reverse_order | boolean Default: false A flag to indicate if log records should be returned in reverse order. |
pagination_token | string A token used to iterate through pages of returned log records. |
{- "limit": 0,
- "marker": "string",
- "has_next_page": true,
- "entries": [
- { }
]
}
Retrieve detailed execution information for a particular Flow Run
flow_id required | string <uuid> The flow ID |
run_id required | string <uuid> The run ID |
limit | integer Default: 10 An integer limit on the number of log records returned. |
reverse_order | boolean Default: false A flag to indicate if log records should be returned in reverse order. |
pagination_token | string A token used to iterate through pages of returned log records. |
{- "limit": 0,
- "marker": "string",
- "has_next_page": true,
- "entries": [
- { }
]
}
Retrieve a listing of Runs launched from a particular Flow. If hitting the */actions endpoint, the response will list the Runs under a "actions" key. If hitting the */runs endpoint, the response will list the Runs under a "runs" key.
flow_id required | string <uuid> The flow ID |
marker | string An opaque token used to iterate through pages of returned Actions. If provided, all other query arguments will be ignored. The marker encodes all state in a given query, therefore it's unnecessary to provide query arguments once an initial marker has been received. |
pagination_token | string Deprecated ("marker" is now the preferred name for this parameter.) An opaque token used to iterate through pages of returned Actions. If provided, all other query arguments will be ignored. The pagination_token encodes all state in a given query, therefore it's unnecessary to provide query arguments once an initial token has been received. |
per_page | integer [ 1 .. 50 ] Default: 20 Example: per_page=50 The number of results to return in a single paged response. |
page | integer >= 1 Default: 1 Example: page=2 The page of results to return. |
filter_roles | Array of strings Default: "run_owner" Items Enum: "run_owner" "run_manager" "run_monitor" "flow_run_manager" "flow_run_monitor" Example: filter_roles=run_manager Return Actions for which the user has the supplied role. The role the user has on the Action dictates the operations they can perform. If multiple roles are specified, the user will have at least one of the specified roles on each Action returned. |
filter_role | string Deprecated Enum: "run_monitor" "run_manager" "run_owner" "flow_run_manager" "flow_run_monitor" Example: filter_role=run_manager Return Actions for which the user has the provided role. The role the user has on the Action dictates the operations they can perform. Roles are cumulative in the sense that having, for example, the "run_manager" role also implies having the "run_monitor" role. Thus, specifying manager will also include all Actions for which the user has "run_monitor" role as well. If not provided, only Actions for which the caller has "run_owner" role will be returned. |
filter_status | Array of strings Items Enum: "SUCCEEDED" "FAILED" "ENDED" "ACTIVE" "INACTIVE" Example: filter_status=FAILED,INACTIVE Return Actions which are in the specified state. The state of the Action dictates the operations which can performed on them. If multiple statuses are specified, each Action returned will be in one of the specified states. By default, Actions in any state will be returned. |
filter_label | Array of strings Example: filter_label=science,tests Performs a case insensitive string based search on the Actions' label fields. If multiple values are specified, each Action returned is guaranteed to contain at least one of the strings in its label. |
filter_completion_time | string Example: filter_completion_time=2021-03-09T21:52:14,2021-03-09T21:53 Given a pair of comma-separated ISO 8601 datetime strings, filter results to only those runs which completed execution within the specified range. If one of the dates is omitted, it forms an open range.
For example, if the filter has a datetime followed by a comma ( Results will contain runs which completed between the first datetime onwards, up to (but not including) the second datetime. Note that runs which are still executing will not have a completion time and will be automatically excluded if this filter is applied. |
filter_start_time | string Example: filter_start_time=2021-03-09T21:52:14,2021-03-09T21:53 Given a pair of comma separated ISO 8601 date/time strings, filter results to only those runs which started execution within the specified range. If one of the dates is omitted, it forms an open range.
For example, if the filter has a datetime followed by a comma ( Results will contain runs which began between the first datetime onwards, up to (but not including) the second datetime. |
orderby | Array of strings Default: "start_time DESC" Example: orderby=start_time ASC,id DESC Ordering criteria to apply to the list of runs. This field is a comma-separated list of sort criteria, and follows this syntax:
and each individual
The first value, When additional comma-separated criteria are added, the first criterion will be used to sort the data; subsequent criteria will be applied for ties. Supported fields are:
Supported orderings are:
|
{- "marker": "string",
- "has_next_page": true,
- "actions": [
- {
- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
]
}
Retrieve a listing of Runs launched from a particular Flow. If hitting the */actions endpoint, the response will list the Runs under a "actions" key. If hitting the */runs endpoint, the response will list the Runs under a "runs" key.
flow_id required | string <uuid> The flow ID |
marker | string An opaque token used to iterate through pages of returned Actions. If provided, all other query arguments will be ignored. The marker encodes all state in a given query, therefore it's unnecessary to provide query arguments once an initial marker has been received. |
pagination_token | string Deprecated ("marker" is now the preferred name for this parameter.) An opaque token used to iterate through pages of returned Actions. If provided, all other query arguments will be ignored. The pagination_token encodes all state in a given query, therefore it's unnecessary to provide query arguments once an initial token has been received. |
per_page | integer [ 1 .. 50 ] Default: 20 Example: per_page=50 The number of results to return in a single paged response. |
page | integer >= 1 Default: 1 Example: page=2 The page of results to return. |
filter_roles | Array of strings Default: "run_owner" Items Enum: "run_owner" "run_manager" "run_monitor" "flow_run_manager" "flow_run_monitor" Example: filter_roles=run_manager Return Actions for which the user has the supplied role. The role the user has on the Action dictates the operations they can perform. If multiple roles are specified, the user will have at least one of the specified roles on each Action returned. |
filter_role | string Deprecated Enum: "run_monitor" "run_manager" "run_owner" "flow_run_manager" "flow_run_monitor" Example: filter_role=run_manager Return Actions for which the user has the provided role. The role the user has on the Action dictates the operations they can perform. Roles are cumulative in the sense that having, for example, the "run_manager" role also implies having the "run_monitor" role. Thus, specifying manager will also include all Actions for which the user has "run_monitor" role as well. If not provided, only Actions for which the caller has "run_owner" role will be returned. |
filter_status | Array of strings Items Enum: "SUCCEEDED" "FAILED" "ENDED" "ACTIVE" "INACTIVE" Example: filter_status=FAILED,INACTIVE Return Actions which are in the specified state. The state of the Action dictates the operations which can performed on them. If multiple statuses are specified, each Action returned will be in one of the specified states. By default, Actions in any state will be returned. |
filter_label | Array of strings Example: filter_label=science,tests Performs a case insensitive string based search on the Actions' label fields. If multiple values are specified, each Action returned is guaranteed to contain at least one of the strings in its label. |
filter_completion_time | string Example: filter_completion_time=2021-03-09T21:52:14,2021-03-09T21:53 Given a pair of comma-separated ISO 8601 datetime strings, filter results to only those runs which completed execution within the specified range. If one of the dates is omitted, it forms an open range.
For example, if the filter has a datetime followed by a comma ( Results will contain runs which completed between the first datetime onwards, up to (but not including) the second datetime. Note that runs which are still executing will not have a completion time and will be automatically excluded if this filter is applied. |
filter_start_time | string Example: filter_start_time=2021-03-09T21:52:14,2021-03-09T21:53 Given a pair of comma separated ISO 8601 date/time strings, filter results to only those runs which started execution within the specified range. If one of the dates is omitted, it forms an open range.
For example, if the filter has a datetime followed by a comma ( Results will contain runs which began between the first datetime onwards, up to (but not including) the second datetime. |
orderby | Array of strings Default: "start_time DESC" Example: orderby=start_time ASC,id DESC Ordering criteria to apply to the list of runs. This field is a comma-separated list of sort criteria, and follows this syntax:
and each individual
The first value, When additional comma-separated criteria are added, the first criterion will be used to sort the data; subsequent criteria will be applied for ties. Supported fields are:
Supported orderings are:
|
{- "marker": "string",
- "has_next_page": true,
- "actions": [
- {
- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
]
}
Retrieve a listing of Actions/Runs launched across all Flows. If hitting the */actions endpoint, the response will list the Runs under a "actions" key. If hitting the */runs endpoint, the response will list the Runs under a "runs" key.
marker | string An opaque token used to iterate through pages of returned Actions. If provided, all other query arguments will be ignored. The marker encodes all state in a given query, therefore it's unnecessary to provide query arguments once an initial marker has been received. |
pagination_token | string Deprecated ("marker" is now the preferred name for this parameter.) An opaque token used to iterate through pages of returned Actions. If provided, all other query arguments will be ignored. The pagination_token encodes all state in a given query, therefore it's unnecessary to provide query arguments once an initial token has been received. |
per_page | integer [ 1 .. 50 ] Default: 20 Example: per_page=50 The number of results to return in a single paged response. |
page | integer >= 1 Default: 1 Example: page=2 The page of results to return. |
filter_roles | Array of strings Default: "run_owner" Items Enum: "run_owner" "run_managers" "run_monitors" "flow_run_managers" "flow_run_monitors" Example: filter_roles=run_owner,run_managers Return Runs for which the user has the supplied role. The role the user has on the Action dictates the operations they can perform. If multiple roles are specified, the user will have at least one of the specified roles on each Action returned. |
filter_role | string Deprecated Enum: "run_monitor" "run_manager" "run_owner" Example: filter_role=run_manager Return Runs for which the user has the provided role. The role the user has on the Runs dictates the operations they can perform. Roles are cumulative in the sense that having, for example, the "run_manager" role also implies having the "run_monitor" role. Thus, specifying manager will also include all Runs for which the user has "run_monitor" role as well. If not provided, only Runs for which the caller has "run_owner" role will be returned. |
filter_status | Array of strings Items Enum: "SUCCEEDED" "FAILED" "ENDED" "ACTIVE" "INACTIVE" Example: filter_status=FAILED,INACTIVE Return Actions which are in the specified state. The state of the Action dictates the operations which can performed on them. If multiple statuses are specified, each Action returned will be in one of the specified states. By default, Actions in any state will be returned. |
filter_label | Array of strings Example: filter_label=science,tests Performs a case insensitive string based search on the Actions' label fields. If multiple values are specified, each Action returned is guaranteed to contain at least one of the strings in its label. |
filter_flow_title | Array of strings Example: filter_flow_title=globus,tests Performs a case insensitive string based search to filter for Actions which have parent Flow's with a matching title(s). If multiple values are specified, each Action returned will have a parent Flow with a title matching at least one of the strings. |
filter_flow_id | Array of strings <uuid> [ items <uuid > ] Example: filter_flow_id=00000000-19d9-4f5b-9329-22ed12d4d3dd,11111111-19a5-4d19-998e-0709c40321e9 Performs an equality based search to filter for Runs which were initiated from the specified Flow ID(s). If multiple values are specified, each Run returned will have been initiated from at least one of the specified Flow IDs. |
filter_completion_time | string Example: filter_completion_time=2021-03-09T21:52:14,2021-03-09T21:53 Given a pair of comma-separated ISO 8601 datetime strings, filter results to only those runs which completed execution within the specified range. If one of the dates is omitted, it forms an open range.
For example, if the filter has a datetime followed by a comma ( Results will contain runs which completed between the first datetime onwards, up to (but not including) the second datetime. Note that runs which are still executing will not have a completion time and will be automatically excluded if this filter is applied. |
filter_start_time | string Example: filter_start_time=2021-03-09T21:52:14,2021-03-09T21:53 Given a pair of comma separated ISO 8601 date/time strings, filter results to only those runs which started execution within the specified range. If one of the dates is omitted, it forms an open range.
For example, if the filter has a datetime followed by a comma ( Results will contain runs which began between the first datetime onwards, up to (but not including) the second datetime. |
orderby | Array of strings Default: "start_time DESC" Example: orderby=start_time ASC,id DESC Ordering criteria to apply to the list of runs. This field is a comma-separated list of sort criteria, and follows this syntax:
and each individual
The first value, When additional comma-separated criteria are added, the first criterion will be used to sort the data; subsequent criteria will be applied for ties. Supported fields are:
Supported orderings are:
|
{- "marker": "string",
- "has_next_page": true,
- "actions": [
- {
- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
], - "runs": [
- {
- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
]
}
Get details about a run.
run_id required | string <uuid> The run ID |
include_flow_description | string Enum: true true false false Example: include_flow_description=true If present and set to a true value, metadata about the associated flow will be included. |
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
], - "flow_description": {
- "id": "string",
- "flow_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "title": "string",
- "subtitle": "string",
- "description": "string",
- "keywords": [
- "string"
]
}
}
Modify a Run's metadata.
By default only the Run initiator is able to modify a Run's metadata. Note that delegating manage access to a principal will allow them to further alter the principals with monitor and manage access.
run_id required | string <uuid> The run ID |
label | string (Label) [ 1 .. 64 ] characters A short, human-readable description of the run. |
run_monitors | Array of strings (Run monitors) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may monitor runs of the flow. "Monitoring" operations include checking the run status and its logs. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
run_managers | Array of strings (Run managers) <= 16 items unique [ items^urn:globus:(auth:identity|groups:id):([a-fA-... ] A list of Globus Auth identity and group URNs that may manage runs of the flow. "Managing" operations include updating, canceling, and deleting the run. Only users with the "run_manager" role will be able to view this list. Users with only the "run_monitor" role will see an empty list. |
tags | Array of strings (Tags) <= 16 items unique [ items [ 1 .. 256 ] characters ] A list of tags to associate with the run. Tags are normalized by stripping leading and trailing whitespace, and by replacing all whitespace with a single space. When updating a run, existing tags will be overwritten. This means that an empty array will delete all existing tags. |
{- "label": "Generate a report for experiment xDA202-batch-3",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
{- "action_id": "string",
- "run_id": "string",
- "flow_id": "string",
- "flow_last_updated": "2019-08-24T14:15:22Z",
- "start_time": "2019-08-24T14:15:22Z",
- "completion_time": "2019-08-24T14:15:22Z",
- "label": "Generate a report for experiment xDA202-batch-3",
- "status": "SUCCEEDED",
- "display_status": "string",
- "details": { },
- "run_owner": "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c",
- "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "user_role": "run_monitor",
- "tags": [
- "Experiment:xDA202",
- "Site:Nautilus",
- "Friday COB Report"
]
}
Flow definitions and input schemas may be updated after a Run has been started.
This route allows users to view the Flow definition and input schema that were used to start a given Run.
run_id required | string <uuid> The run ID |
{- "flow_id": "string",
- "definition": { },
- "input_schema": { }
}
required | object |
object (BatchRunUpdateSetOperation) | |
object (BatchRunUpdateOperation) | |
object (BatchRunUpdateOperation) |
{- "filters": {
- "run_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "set": {
- "tags": [
- "string"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "status": "cancel"
}, - "add": {
- "tags": [
- "string"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
]
}, - "remove": {
- "tags": [
- "string"
], - "run_managers": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
], - "run_monitors": [
- "urn:globus:auth:identity:46bd0f56-e24f-11e5-a510-131bef46955c"
]
}
}
{ }