GET
/
inference
/
v0
/
run
/
{org_id}
/
{flow_id}
/
metadata
import requests
import json

url = "https://api.stack-ai.com/inference/v0/run/{org_id}/{flow_id}/metadata"
headers = {
"Authorization": "Bearer <your-public-key>",
"Content-Type": "application/json"
}
params = json.dumps({"run_id": run_id})

response = requests.get(url, headers=headers, params=params)

print(response.json())

{}
import requests
import json

url = "https://api.stack-ai.com/inference/v0/run/{org_id}/{flow_id}/metadata"
headers = {
"Authorization": "Bearer <your-public-key>",
"Content-Type": "application/json"
}
params = json.dumps({"run_id": run_id})

response = requests.get(url, headers=headers, params=params)

print(response.json())

Authorizations

Authorization
string
header
required

Authorization header. Learn how to get it.

Path Parameters

org_id
string
required
flow_id
string
required

The flow ID. Learn how to get it.

Query Parameters

run_id
string

Run ID of the flow

Response

200
application/json
Successful Response

The response is of type object.