メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
flows
/
{flow_id}
/
executions
/
{execution_id}
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using Auth0.ManagementApi.Flows;
using System.Collections.Generic;

public partial class Examples
{
    public async Task Example() {
        var client = new ManagementClient(
            token: "<token>"
        );

        await client.Flows.Executions.GetAsync(
            flowId: "flow_id",
            executionId: "execution_id",
            request: new GetFlowExecutionRequestParameters {
                Hydrate = new List<string>(){
                    "debug",
                }

            }
        );
    }

}
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,
    )
}
package com.example.usage;

import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.resources.flows.executions.requests.GetFlowExecutionRequestParameters;
import java.util.Arrays;

public class Example {
    public static void main(String[] args) {
        ManagementApi client = ManagementApi
            .builder()
            .token("<token>")
            .build();

        client.flows().executions().get(
            "flow_id",
            "execution_id",
            GetFlowExecutionRequestParameters
                .builder()
                .hydrate(
                    Arrays.asList("debug")
                )
                .build()
        );
    }
}
<?php

namespace Example;

use Auth0\SDK\API\Management\Management;
use Auth0\SDK\API\Management\Flows\Executions\Requests\GetFlowExecutionRequestParameters;

$client = new Management(
    token: '<token>',
);
$client->flows->executions->get(
    'flow_id',
    'execution_id',
    new GetFlowExecutionRequestParameters([
        'hydrate' => [
            'debug',
        ],
    ]),
);
from auth0.management import ManagementClient

client = ManagementClient(
    token="<token>",
)

client.flows.executions.get(
    flow_id="flow_id",
    execution_id="execution_id",
    hydrate=[
        "debug"
    ],
)
require "auth0"

client = Auth0::Management.new(token: "<token>")

client.flows.executions.get(
  flow_id: "flow_id",
  execution_id: "execution_id",
  hydrate: ["debug"]
)
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.flows.executions.get("flow_id", "execution_id", {});
}
main();
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.flows.executions.get("flow_id", "execution_id", {});
}
main();
curl --request GET \
  --url https://{tenantDomain}/api/v2/flows/{flow_id}/executions/{execution_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "trace_id": "<string>",
  "status": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "journey_id": "<string>",
  "debug": {},
  "started_at": "2023-11-07T05:31:56Z",
  "ended_at": "2023-11-07T05:31:56Z"
}

承認

Authorization
string
header
必須

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

パスパラメータ

flow_id
string
必須

Flow id

Maximum string length: 30
execution_id
string
必須

Flow execution id

Maximum string length: 30

クエリパラメータ

hydrate
enum<string>[]

Hydration param

利用可能なオプション:
debug
Maximum string length: 5

レスポンス

Flow execution successfully retrieved.

id
string<flow-execution-id>
必須

Flow execution identifier

Maximum string length: 30
trace_id
string
必須

Trace id

Required string length: 1 - 50
status
string
必須

Execution status

Required string length: 1 - 50
created_at
string<date-time>
必須

The ISO 8601 formatted date when this flow execution was created.

updated_at
string<date-time>
必須

The ISO 8601 formatted date when this flow execution was updated.

journey_id
string

Journey id

Required string length: 1 - 50
debug
object

Flow execution debug.

started_at
string<date-time>

The ISO 8601 formatted date when this flow execution started.

ended_at
string<date-time>

The ISO 8601 formatted date when this flow execution ended.