github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/website/source/docs/http/evals.html.md (about)

     1  ---
     2  layout: "http"
     3  page_title: "HTTP API: /v1/evaluations"
     4  sidebar_current: "docs-http-evals"
     5  description: |-
     6    The '/1/evaluations' endpoint is used to list the evaluations.
     7  ---
     8  
     9  # /v1/evaluations
    10  
    11  The `evaluations` endpoint is used to query the status of evaluations.
    12  By default, the agent's local region is used; another region can
    13  be specified using the `?region=` query parameter.
    14  
    15  ## GET
    16  
    17  <dl>
    18    <dt>Description</dt>
    19    <dd>
    20      Lists all the evaluations.
    21    </dd>
    22  
    23    <dt>Method</dt>
    24    <dd>GET</dd>
    25  
    26    <dt>URL</dt>
    27    <dd>`/v1/evaluations`</dd>
    28  
    29    <dt>Parameters</dt>
    30    <dd>
    31      None
    32    </dd>
    33  
    34    <dt>Returns</dt>
    35    <dd>
    36  
    37      ```javascript
    38      [
    39      {
    40          "ID": "151accaa-1ac6-90fe-d427-313e70ccbb88",
    41          "Priority": 50,
    42          "Type": "service",
    43          "TriggeredBy": "job-register",
    44          "JobID": "binstore-storagelocker",
    45          "JobModifyIndex": 14,
    46          "NodeID": "",
    47          "NodeModifyIndex": 0,
    48          "Status": "complete",
    49          "StatusDescription": "",
    50          "Wait": 0,
    51          "NextEval": "",
    52          "PreviousEval": "",
    53          "CreateIndex": 15,
    54          "ModifyIndex": 17
    55      },
    56      ...
    57      ]
    58      ```
    59  
    60    </dd>
    61  </dl>
    62