Copilot

Update copilot chat metadata

Renames a chat. The transcript itself lives in the chat's Durable Object, not here.

Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

patch/api/copilot/chats/{chatId}

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/copilot/chats/{chatId}
  • Auth: API key in cookie luca.session_token

Path parameters

chatIdstring uuid required

Identifier of the chat this operation targets.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

titlestring required

Response

ok

idstring uuid required
titlestring required
scopeType'global' | 'lead' | 'campaign' | 'analytics' required
scopeIdstring required
doIdstring required
lastActiveAtstring required
createdAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.