Runs

Update a run

This endpoint allows updating the public visibility status and tags of a run. The isPublic field can be set to true or false to change the run's visibility. The tags field can be updated with an array of strings or set to null to remove all tags.

PATCH
/v1/runs/
id
curl --request PATCH \
  --url https://api.lunary.ai/v1/runs/{id} \
  --header 'Authorization: Bearer <api_key>' \
  --header 'Content-Type: application/json' \
  --data '{"isPublic":true,"tags":["important","customer-facing"]}'

Accepted Keys:

isPublic
tags

Parameters

NameLocated InRequiredSchema
idpathYesstring

Request Body

PropertyTypeDescription
isPublicboolean
tagsarray

Responses

200

Successful update

400

Invalid input

Questions? We're here to help.

Email