List all automations

This call returns a list of all automations you are a member of.

Request

https://api.sbgenomics.com/v2/automation/automations
https://eu-api.sbgenomics.com/v2/automation/automations

Example request

GET v2/automation/automations
Host: api.sbgenomics.com
X-SBG-Auth-Token: 40a284d9-c0da-441c-8799-3de8d85bbd8c
curl  -s -H "X-SBG-Auth-Token: 40a284d9-c0da-441c-8799-3de8d85bbd8c" -H "content-type: application/json" -X GET "https://api.sbgenomics.com/v2/automation/automations"
from sevenbridges import Api

api = Api(url='https://api.sbgenomics.com/v2',
          token='3259c50e1ac5426ea8f1273259740f74',
          advance_access=True)

# send GET request to SB API
automations = api.automations.query()

for automation in automations:
    print(automation.id, automation.name)

Header Fields

Name

Description

X-SBG-Auth-Token
required

Your Seven Bridges Platform authentication token.

Content-Type
required

application/json

X-SBG-Advance-Access
required

advance

Response

See a list of Seven Bridges Platform-specific response codes that may be contained in the body of the response.

Example response body

{
    "href": "https://api-sbgenomics.com/v2/automation/automations/",
    "items": [
        {
            "id": "40a284d9-c0da-441c-8799-3de8d85bbd8d",
            "href": "https://api.sbgenomics.com/v2/automation/automations/40a284d9-c0da-441c-8799-3de8d85bbd8c",
            "name": "My automation",
            "memory_limit: 1000
            "description": "This is my first automation.",
            "owner": "rfranklin",
            "created_by": "rfranklin",
            "created_on": "1970-01-18T18:29:46.333Z",
            "modified_on": "1970-01-18T18:29:46.333Z",
            "modified_by": "rfranklin"
        }
    ],
    "links": []
}