Skip to main content
GET
/
api
/
v1
/
workflows
/
{workflow_id}
/
workflow_groups
List workflow groups for a workflow
curl --request GET \
  --url https://api.scholarlysoftware.com/api/v1/workflows/{workflow_id}/workflow_groups \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "workflow_group",
      "attributes": {
        "name": "<string>"
      },
      "relationships": {
        "workflow": {
          "data": {
            "type": "workflow",
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
          },
          "links": {
            "related": "<string>"
          },
          "meta": {}
        },
        "parent": {
          "data": {
            "type": "workflow_group",
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
          },
          "links": {
            "related": "<string>"
          },
          "meta": {}
        },
        "children": {
          "links": {
            "related": "<string>"
          },
          "meta": {}
        }
      }
    }
  ],
  "meta": {
    "page": {
      "cursor": "<string>"
    }
  },
  "links": {
    "first": "<string>",
    "last": "<string>",
    "next": "<string>",
    "prev": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer token

Path Parameters

workflow_id
string
required

Workflow ID

Query Parameters

page[size]
integer

Number of items per page (max 100)

page[after]
string

Cursor for next page

page[before]
string

Cursor for previous page

Response

workflow groups found

data
object[]
required
meta
object
I