curl --request GET \
--url https://api.protoface.com/v1/runs/{run_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.protoface.com/v1/runs/{run_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.protoface.com/v1/runs/{run_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"completed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"credits": {
"charged": 123,
"pricing_version": "<string>",
"reserved": 123
},
"error": {
"code": "<string>",
"message": "<string>"
},
"external_id": "<string>",
"id": "<string>",
"metadata": {},
"model": "<string>",
"model_revision": "<string>",
"operation": "<string>",
"outputs": [
{
"modality": "<string>",
"role": "<string>",
"type": "text",
"asset_id": "<string>",
"data": {},
"file": {
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"url": "<string>"
},
"text": "<string>"
}
],
"progress": 123,
"started_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"audio": {
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"url": "<string>"
},
"capacity_wait": {
"deadline_at": "2023-11-07T05:31:56Z",
"message": "<string>",
"status": "waiting"
},
"deleted_at": "2023-11-07T05:31:56Z",
"eta": {
"p50_seconds": 123,
"p95_seconds": 123,
"source": "<string>"
},
"image": {
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"url": "<string>"
},
"object": "run",
"video": {
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"url": "<string>"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}Retrieve a run
curl --request GET \
--url https://api.protoface.com/v1/runs/{run_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.protoface.com/v1/runs/{run_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.protoface.com/v1/runs/{run_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"completed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"credits": {
"charged": 123,
"pricing_version": "<string>",
"reserved": 123
},
"error": {
"code": "<string>",
"message": "<string>"
},
"external_id": "<string>",
"id": "<string>",
"metadata": {},
"model": "<string>",
"model_revision": "<string>",
"operation": "<string>",
"outputs": [
{
"modality": "<string>",
"role": "<string>",
"type": "text",
"asset_id": "<string>",
"data": {},
"file": {
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"url": "<string>"
},
"text": "<string>"
}
],
"progress": 123,
"started_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"audio": {
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"url": "<string>"
},
"capacity_wait": {
"deadline_at": "2023-11-07T05:31:56Z",
"message": "<string>",
"status": "waiting"
},
"deleted_at": "2023-11-07T05:31:56Z",
"eta": {
"p50_seconds": 123,
"p95_seconds": 123,
"source": "<string>"
},
"image": {
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"url": "<string>"
},
"object": "run",
"video": {
"content_type": "<string>",
"file_name": "<string>",
"file_size": 123,
"url": "<string>"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}{
"error": {
"code": "transport.unsupported",
"message": "transport.type=pipecat is not supported",
"param": "transport.type",
"request_id": "req_01HXY5K8E7QYG3X8Z6N9R7S0VR",
"type": "invalid_request"
}
}Authorizations
Production API key created at https://app.protoface.com for https://api.protoface.com; no activation step or environment switch. Pass the full secret shown once at creation as Authorization: Bearer sk_live_…, not the short dashboard identifier. HTTP 401 missing_authorization means the header did not parse; the key was not looked up. A token that passes parsing can return api_key.unknown, api_key.revoked, api_key.expired, or api_key.environment. See https://docs.protoface.com/reference/errors#authentication-codes.
Response
Successful Response
One finished or in-flight run.
video / image / audio are a convenience projection: each carries the
sole output of that modality when the run produced exactly one, which is the
shape most clients read. outputs is the complete record and is the only
place multi-part results, text, and structured data appear. The modality to
field-name mapping is a platform convention, not a per-model fact.

