curl --request POST \
--url https://api.monid.ai/v1/run \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"provider": "exa",
"endpoint": "search",
"maxCost": 0.05,
"input": {
"body": {},
"queryParams": {},
"pathParams": {}
},
"tag": "<string>"
}
'import requests
url = "https://api.monid.ai/v1/run"
payload = {
"provider": "exa",
"endpoint": "search",
"maxCost": 0.05,
"input": {
"body": {},
"queryParams": {},
"pathParams": {}
},
"tag": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
provider: 'exa',
endpoint: 'search',
maxCost: 0.05,
input: {body: JSON.stringify({}), queryParams: {}, pathParams: {}},
tag: '<string>'
})
};
fetch('https://api.monid.ai/v1/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.monid.ai/v1/run",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'provider' => 'exa',
'endpoint' => 'search',
'maxCost' => 0.05,
'input' => [
'body' => [
],
'queryParams' => [
],
'pathParams' => [
]
],
'tag' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.monid.ai/v1/run"
payload := strings.NewReader("{\n \"provider\": \"exa\",\n \"endpoint\": \"search\",\n \"maxCost\": 0.05,\n \"input\": {\n \"body\": {},\n \"queryParams\": {},\n \"pathParams\": {}\n },\n \"tag\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.monid.ai/v1/run")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"provider\": \"exa\",\n \"endpoint\": \"search\",\n \"maxCost\": 0.05,\n \"input\": {\n \"body\": {},\n \"queryParams\": {},\n \"pathParams\": {}\n },\n \"tag\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monid.ai/v1/run")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"provider\": \"exa\",\n \"endpoint\": \"search\",\n \"maxCost\": 0.05,\n \"input\": {\n \"body\": {},\n \"queryParams\": {},\n \"pathParams\": {}\n },\n \"tag\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"status": "READY",
"providerResponse": {
"httpStatus": 200,
"error": "<unknown>"
},
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"createdAt": "2023-11-07T05:31:56Z",
"tag": "customer-42",
"output": "<unknown>",
"billing": {
"reportedCost": {
"currency": "USD",
"value": 1,
"unit": "MICRO_DOLLAR"
}
},
"resultCount": 1,
"billedUnits": 1,
"resources": [
{
"action": "PROVISIONED",
"resourceId": "<string>",
"resourceType": "web_monitor",
"identifier": "<string>"
}
],
"stopRequestedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"hints": {}
}{
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"status": "READY",
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"createdAt": "2023-11-07T05:31:56Z",
"tag": "customer-42",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"status": "READY",
"providerResponse": {
"httpStatus": 200,
"error": "<unknown>"
},
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"createdAt": "2023-11-07T05:31:56Z",
"tag": "customer-42",
"output": "<unknown>",
"billing": {
"reportedCost": {
"currency": "USD",
"value": 1,
"unit": "MICRO_DOLLAR"
}
},
"resultCount": 1,
"billedUnits": 1,
"resources": [
{
"action": "PROVISIONED",
"resourceId": "<string>",
"resourceType": "web_monitor",
"identifier": "<string>"
}
],
"stopRequestedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"status": "READY",
"providerResponse": {
"httpStatus": 200,
"error": "<unknown>"
},
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"createdAt": "2023-11-07T05:31:56Z",
"tag": "customer-42",
"output": "<unknown>",
"billing": {
"reportedCost": {
"currency": "USD",
"value": 1,
"unit": "MICRO_DOLLAR"
}
},
"resultCount": 1,
"billedUnits": 1,
"resources": [
{
"action": "PROVISIONED",
"resourceId": "<string>",
"resourceType": "web_monitor",
"identifier": "<string>"
}
],
"stopRequestedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"hints": {}
}Start an endpoint run
Runs an endpoint. Send provider, endpoint and an input that follows the schema from POST /v1/inspect. A synchronous run returns the full run, with an HTTP status that matches the provider’s status. A run blocked by a workspace budget or run cap returns 200 with status BLOCKED. A run that goes over its time budget returns 408. Asynchronous endpoints return 202, so poll GET /v1/runs/{runId} for the result.
curl --request POST \
--url https://api.monid.ai/v1/run \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"provider": "exa",
"endpoint": "search",
"maxCost": 0.05,
"input": {
"body": {},
"queryParams": {},
"pathParams": {}
},
"tag": "<string>"
}
'import requests
url = "https://api.monid.ai/v1/run"
payload = {
"provider": "exa",
"endpoint": "search",
"maxCost": 0.05,
"input": {
"body": {},
"queryParams": {},
"pathParams": {}
},
"tag": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
provider: 'exa',
endpoint: 'search',
maxCost: 0.05,
input: {body: JSON.stringify({}), queryParams: {}, pathParams: {}},
tag: '<string>'
})
};
fetch('https://api.monid.ai/v1/run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.monid.ai/v1/run",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'provider' => 'exa',
'endpoint' => 'search',
'maxCost' => 0.05,
'input' => [
'body' => [
],
'queryParams' => [
],
'pathParams' => [
]
],
'tag' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.monid.ai/v1/run"
payload := strings.NewReader("{\n \"provider\": \"exa\",\n \"endpoint\": \"search\",\n \"maxCost\": 0.05,\n \"input\": {\n \"body\": {},\n \"queryParams\": {},\n \"pathParams\": {}\n },\n \"tag\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.monid.ai/v1/run")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"provider\": \"exa\",\n \"endpoint\": \"search\",\n \"maxCost\": 0.05,\n \"input\": {\n \"body\": {},\n \"queryParams\": {},\n \"pathParams\": {}\n },\n \"tag\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monid.ai/v1/run")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"provider\": \"exa\",\n \"endpoint\": \"search\",\n \"maxCost\": 0.05,\n \"input\": {\n \"body\": {},\n \"queryParams\": {},\n \"pathParams\": {}\n },\n \"tag\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"status": "READY",
"providerResponse": {
"httpStatus": 200,
"error": "<unknown>"
},
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"createdAt": "2023-11-07T05:31:56Z",
"tag": "customer-42",
"output": "<unknown>",
"billing": {
"reportedCost": {
"currency": "USD",
"value": 1,
"unit": "MICRO_DOLLAR"
}
},
"resultCount": 1,
"billedUnits": 1,
"resources": [
{
"action": "PROVISIONED",
"resourceId": "<string>",
"resourceType": "web_monitor",
"identifier": "<string>"
}
],
"stopRequestedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"hints": {}
}{
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"status": "READY",
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"createdAt": "2023-11-07T05:31:56Z",
"tag": "customer-42",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"status": "READY",
"providerResponse": {
"httpStatus": 200,
"error": "<unknown>"
},
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"createdAt": "2023-11-07T05:31:56Z",
"tag": "customer-42",
"output": "<unknown>",
"billing": {
"reportedCost": {
"currency": "USD",
"value": 1,
"unit": "MICRO_DOLLAR"
}
},
"resultCount": 1,
"billedUnits": 1,
"resources": [
{
"action": "PROVISIONED",
"resourceId": "<string>",
"resourceType": "web_monitor",
"identifier": "<string>"
}
],
"stopRequestedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"code": 400,
"message": "Bad Request",
"errorCode": "BAD_REQUEST",
"hints": {}
}{
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"status": "READY",
"providerResponse": {
"httpStatus": 200,
"error": "<unknown>"
},
"price": {
"type": "<string>",
"amount": {
"value": 123,
"currency": "USD"
},
"flatFee": {
"value": 123,
"currency": "USD"
},
"period": {
"unit": "MINUTE",
"count": 123
},
"per": {
"unit": "MINUTE",
"count": 123
},
"unit": "token",
"default": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"selectors": [
{
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
],
"variants": [
{
"when": {},
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"label": "<string>"
}
],
"tiers": [
{
"label": "<string>",
"price": {
"type": "PER_CALL",
"amount": {
"value": 123,
"currency": "USD"
}
},
"when": {},
"selector": {
"label": "<string>",
"key": "<string>",
"in": "body",
"offset": 1
}
}
],
"notes": [
"<string>"
]
},
"createdAt": "2023-11-07T05:31:56Z",
"tag": "customer-42",
"output": "<unknown>",
"billing": {
"reportedCost": {
"currency": "USD",
"value": 1,
"unit": "MICRO_DOLLAR"
}
},
"resultCount": 1,
"billedUnits": 1,
"resources": [
{
"action": "PROVISIONED",
"resourceId": "<string>",
"resourceType": "web_monitor",
"identifier": "<string>"
}
],
"stopRequestedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"hints": {}
}Headers
Optional. Send the same key when you repeat this request to get the same run instead of a new run and a new charge. The repeat gets the response the first request got, whatever the run's outcome; a synchronous run that is still running is waited for. To try again after a run failed, send a new key. Keys are per workspace and last 7 days.
^[\x20-\x7E]{1,255}$"wf_01JGXYZ:step-3"
Body
Maximum US dollars for this run's estimated cost. If the estimate is higher, the call fails with status 400 and errorCode MAX_COST_EXCEEDED. Metered and per-result endpoints are billed on actual usage and can end above it. At most 6 decimals. 0 allows only free runs.
x >= 00.05
Optional label for grouping and finding runs later with GET /v1/runs?tag= (exact, case-sensitive match), e.g. your customer or job ID. 1-128 printable ASCII characters, no '#', no leading or trailing space. Set at creation; never editable.
1 - 128^[\x21-\x22\x24-\x7E](?:[\x20-\x22\x24-\x7E]*[\x21-\x22\x24-\x7E])?$Response
The finished run. It is COMPLETED when the provider answered, or BLOCKED when a workspace control stopped it. When the provider answers with a non-2xx status, this API returns that same status with this same body. The one exception is a provider 402, which is returned as 502.
- Option 1
- Option 2
Run lifecycle status. Always one of the UPPERCASE enum values (e.g. COMPLETED, never completed) — compare case-sensitively. In progress: READY (created, not started), RUNNING, STOPPING (a stop is being finalized; ends COMPLETED or STOPPED). Terminal: COMPLETED (the provider responded, with any HTTP status — read providerResponse.httpStatus; a user stop the provider could not confirm in time also ends COMPLETED, billed by elapsed time, with a synthetic httpStatus 200 and output.billingBasis "ESTIMATED"), FAILED (an infrastructure failure), BLOCKED (a workspace control such as a budget, run cap or the wallet balance refused the run; see reason), STOPPED (stopped on request), TIMED_OUT (the run exceeded its time budget).
READY, RUNNING, STOPPING, COMPLETED, FAILED, BLOCKED, STOPPED, TIMED_OUT Provider output data (terminal runs only; may be null). Endpoints that generate FILES (e.g. audio) surface each file INSIDE output as an artifact object under a stable key: { download_link (fresh signed URL, valid until link_expires_at — re-fetch the run for a new one), content_type, link_expires_at, file_expires_at? }. After the file's retention lapses the object becomes { expired: true, file_expired_at, message }.