Passer au contenu principal
GET
https://{tenantDomain}/api/v2
/
flows
/
{flow_id}
/
executions
/
{execution_id}
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    flows "github.com/auth0/go-auth0/management/management/flows"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    request := &flows.ExecutionsGetRequest{}
    client.Flows.Executions.Get(
        context.TODO(),
        "flow_id",
        "execution_id",
        request,
    )
}
{
  "created_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "status": "<string>",
  "trace_id": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "debug": {},
  "ended_at": "2023-11-07T05:31:56Z",
  "journey_id": "<string>",
  "started_at": "2023-11-07T05:31:56Z"
}

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

flow_id
string
requis

id du Flow

Maximum string length: 30
execution_id
string
requis

id d’exécution du Flow

Maximum string length: 30

Paramètres de requête

hydrate
enum<string>[]

Paramètre d’hydratation

Options disponibles:
debug
Maximum string length: 5

Réponse

L’exécution du Flow a été récupérée avec succès.

created_at
string<date-time>
requis

Date au format ISO 8601 à laquelle cette exécution du flux a été créée.

id
string<flow-execution-id>
requis

Identifiant d’exécution du flux

Maximum string length: 30
status
string
requis

Statut d’exécution

Required string length: 1 - 50
trace_id
string
requis

ID de trace

Required string length: 1 - 50
updated_at
string<date-time>
requis

Date au format ISO 8601 à laquelle cette exécution du flux a été mise à jour.

debug
object

Débogage de l’exécution du flux.

ended_at
string<date-time>

Date au format ISO 8601 à laquelle cette exécution du flux s’est terminée.

journey_id
string

ID du parcours

Required string length: 1 - 50
started_at
string<date-time>

Date au format ISO 8601 à laquelle cette exécution du flux a commencé.