Vai al contenuto principale
GET
/
api
/
v1
/
organizations
/
{organizationid}
/
workflows
/
{workflowid}
/
evaluations
cURL
curl --request GET \
  --url https://app.aegister.com/api/v1/organizations/{organizationid}/workflows/{workflowid}/evaluations/ \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": "<array>",
  "total": 1,
  "data": [
    {
      "id": 2,
      "organization": 2,
      "workflow_id": "<string>",
      "workflow_name": "<string>",
      "evaluation_data": {},
      "created_at": "2023-11-07T05:31:56Z",
      "created_by": "<string>",
      "deleted": true,
      "deleted_at": "2023-11-07T05:31:56Z",
      "deleted_by": "<string>"
    }
  ]
}
Retrieves workflow evaluation results for the specified organization and workflow. Path params
  • organizationid — Organization ID
  • workflowid — Workflow ID
Query params
  • latest (optional) — gets latest n of evaluation instances

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

organizationid
integer
obbligatorio
workflowid
string
obbligatorio

Risposta

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

If error is 1, contains zero or more details on the error.

Esempio:
[]
total
number

Total number of items that meet the list filter.
This doesn't represent the number of items inside the data array.

Intervallo richiesto: x >= 0
Esempi:

20

30

40

data
object[]