メインコンテンツへスキップ
GET
/
actions
/
executions
/
{id}
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.actions.executions.get("id");
}
main();
{
  "id": "c5b35bb1-c67d-40bb-9b0d-700b6fe33dd9",
  "trigger_id": "<string>",
  "status": "final",
  "results": [
    {
      "action_name": "my-action",
      "error": {
        "id": "<string>",
        "msg": "<string>",
        "url": "<string>"
      },
      "started_at": "2021-01-01T00:00:00.000Z",
      "ended_at": "2021-01-01T00:00:00.000Z"
    }
  ],
  "created_at": "2021-01-01T00:00:00.000Z",
  "updated_at": "2021-01-01T00:00:00.000Z"
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

The ID of the execution to retrieve.

レスポンス

The execution was retrieved.

The result of a specific execution of a trigger.

id
string
デフォルト:c5b35bb1-c67d-40bb-9b0d-700b6fe33dd9

ID identifies this specific execution simulation. These IDs would resemble real executions in production.

trigger_id
string

An actions extensibility point.

status
enum<string>
デフォルト:final

The overall status of an execution.

利用可能なオプション:
unspecified,
pending,
final,
partial,
canceled,
suspended
results
object[]
created_at
string<date-time>
デフォルト:2021-01-01T00:00:00.000Z

The time that the execution was started.

updated_at
string<date-time>
デフォルト:2021-01-01T00:00:00.000Z

The time that the exeution finished executing.