package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
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"
}Retrieve information about a specific execution of a trigger. Relevant execution IDs will be included in tenant logs generated as part of that authentication flow. Executions will only be stored for 10 days after their creation.
package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
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"
}Documentation Index
Fetch the complete documentation index at: https://auth0-feat-testing-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the execution to retrieve.
The execution was retrieved.
The result of a specific execution of a trigger.
ID identifies this specific execution simulation. These IDs would resemble real executions in production.
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 The overall status of an execution.
unspecified, pending, final, partial, canceled, suspended Show child attributes
The time that the execution was started.
The time that the exeution finished executing.
このページは役に立ちましたか?