Skip to main content
PUT
/
v1
/
takeaways
/
{takeaway_id}
Update Takeaway
curl --request PUT \
  --url https://api.example.com/v1/takeaways/{takeaway_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "<string>",
  "schema": {},
  "prompt": "<string>",
  "model": "<string>"
}
'
{}

Headers

authorization
string | null

Path Parameters

takeaway_id
string<uuid>
required

Body

application/json
description
string | null
Maximum string length: 2000
schema
Schema · object | null
prompt
string | null
Maximum string length: 4000
model
string | null
Maximum string length: 100

Response

Successful Response

The response is of type Response Update Takeaway V1 Takeaways Takeaway Id Put · object.