import requests
url = "https://api.fireworks.ai/inference/v1/workflows/accounts/fireworks/models/{model}/get_result"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer $API_KEY",
}
data = {
id: "request_id"
}
response = requests.post(url, headers=headers, json=data)
print(response.text)
{
"id": "<string>",
"status": {},
"result": "<any>",
"progress": {},
"details": {}
}import requests
url = "https://api.fireworks.ai/inference/v1/workflows/accounts/fireworks/models/{model}/get_result"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer $API_KEY",
}
data = {
id: "request_id"
}
response = requests.post(url, headers=headers, json=data)
print(response.text)
{
"id": "<string>",
"status": {},
"result": "<any>",
"progress": {},
"details": {}
}import requests
url = "https://api.fireworks.ai/inference/v1/workflows/accounts/fireworks/models/{model}/get_result"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer $API_KEY",
}
data = {
id: "request_id"
}
response = requests.post(url, headers=headers, json=data)
print(response.text)
Was this page helpful?