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,
)
}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>'import requests
url = "https://{tenantDomain}/api/v2/flows/{flow_id}/executions/{execution_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}/api/v2/flows/{flow_id}/executions/{execution_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://{tenantDomain}/api/v2/flows/{flow_id}/executions/{execution_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/api/v2/flows/{flow_id}/executions/{execution_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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"
}実行 ID によるフロー実行の取得
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,
)
}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>'import requests
url = "https://{tenantDomain}/api/v2/flows/{flow_id}/executions/{execution_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenantDomain}/api/v2/flows/{flow_id}/executions/{execution_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://{tenantDomain}/api/v2/flows/{flow_id}/executions/{execution_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenantDomain}/api/v2/flows/{flow_id}/executions/{execution_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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"
}承認
bearerAuthoAuth2ClientCredentials
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
パスパラメータ
フロー id
Maximum string length:
30フロー実行 id
Maximum string length:
30クエリパラメータ
Hydration パラメーター
利用可能なオプション:
debug Maximum string length:
5レスポンス
フロー実行が正常に取得されました。
このフロー実行が作成された日時(ISO 8601 形式)。
フロー実行識別子
Maximum string length:
30実行ステータス
Required string length:
1 - 50トレース id
Required string length:
1 - 50このフロー実行が更新された日時(ISO 8601 形式)。
フロー実行のデバッグ情報。
このフロー実行が終了した日時(ISO 8601 形式)。
ジャーニー id
Required string length:
1 - 50このフロー実行が開始された日時(ISO 8601 形式)。
⌘I