---
title: "PATCH /simulate/api/livekit/call-execution/{call_id}/"
method: PATCH
path: "/simulate/api/livekit/call-execution/{call_id}/"
tags: ["simulate"]
---

# PATCH /simulate/api/livekit/call-execution/{call_id}/

`PATCH /simulate/api/livekit/call-execution/{call_id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/api/livekit/call-execution/{call_id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Update lifecycle fields on a call execution.

## Request body

- LiveKitCallExecutionUpdateRequest
  - `provider_call_data` object
  - `started_at` string, date-time
  - `completed_at` string, date-time
  - `ended_at` string, date-time
  - `duration_seconds` integer
  - `ended_reason` string
  - `service_provider_call_id` string

## Response `200`

OK

- LiveKitOkResponse
  - `ok` boolean, required

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
