Skip to main content
PATCH
/
orgs
/
{org_id}
/
apps
/
{app_id}
/
runs
/
{run_id}
cURL
curl --request PATCH \
  --url https://dev.timbal.ai/orgs/{org_id}/apps/{app_id}/runs/{run_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "parent_id": 123,
  "trace": "<any>",
  "version_id": 123
}'
{
  "cost_usd": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "duration_ms": 123,
  "group_id": 123,
  "id": 123,
  "last_reaction_sentiment": "<string>",
  "parent_id": 123,
  "status": "<string>",
  "trace": "<any>",
  "user": {
    "email": "<string>",
    "id": 123,
    "name": "<string>",
    "photo_url": "<string>"
  },
  "version": {
    "deployment": null,
    "id": 123,
    "is_prod": true,
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
integer
required
app_id
integer
required
run_id
string
required

This can be a platform-defined id or a custom id. The platform will map the custom id to an internal one afterwards.

Body

application/json
trace
any
required

Trace data

parent_id
integer | null

Parent run identifier (if any)

version_id
integer | null

Version identifier (if any)

Response

200 - application/json

Run updated successfully

cost_usd
number
required
created_at
string<date-time>
required
id
integer
required
status
string
required
user
object
required
version
object
required
duration_ms
integer | null
group_id
integer | null
last_reaction_sentiment
string | null
parent_id
integer | null
trace
any
{key}
any