メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
actions
/
executions
/
{id}
Go
package example

import (
    client "github.com/auth0/go-auth0/management/client"
    option "github.com/auth0/go-auth0/management/option"
    context "context"
)

func do() () {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Actions.Executions.Get(
        context.TODO(),
        "id",
    )
}
{
  "id": "c5b35bb1-c67d-40bb-9b0d-700b6fe33dd9",
  "trigger_id": "post-login",
  "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
enum<string>

An actions extensibility point.

利用可能なオプション:
post-login,
credentials-exchange,
pre-user-registration,
post-user-registration,
post-change-password,
send-phone-message,
custom-phone-provider,
custom-email-provider,
password-reset-post-challenge,
custom-token-exchange,
event-stream,
password-hash-migration,
login-post-identifier,
signup-post-identifier
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.