Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Edit one item's text

PATCH
/v1/studio/assistant/memory/{item_id}
curl --request PATCH \
--url http://localhost:8300/v1/studio/assistant/memory/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "text": "example" }'

text is trimmed (blank: 422). Another user’s item is 404.

item_id
required
string

Memory item UUID (unknown, another user’s or malformed = 404)

Media typeapplication/json
object
text
required

Trimmed; blank = 422

string
>= 1 characters <= 500 characters

Example generated

{
"text": "example"
}

The item

Media typeapplication/json
object
id
required
string format: uuid
kind
required

The Memory list’s Likes, Projects, Worked, Chats

string
Allowed values: preference project worked summary
text
required
string
>= 1 characters <= 600 characters
thread
required
One of:
object
id
required
string format: uuid
title
required
string
<= 120 characters
created_at
required
string format: date-time
updated_at
required
string format: date-time
shots

A film’s shot list, kept as a Projects item (kind project); the item’s text is its summary, rewritten at each save. Shots by number ascending

object
film
required

The film’s title; one list per title (any case)

string
>= 1 characters <= 80 characters
shots
required
Array<object>
>= 1 items <= 60 items
object
n
required

The shot number, unique in the list

integer
>= 1 <= 999
what
required

What happens

string
>= 1 characters <= 300 characters
seconds

The planned length

number
> 0 <= 600
line

The line spoken (@name: text), if any

string
>= 1 characters <= 300 characters
take_id

The take used, once picked

string format: uuid

Example

{
"kind": "preference"
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Invalid input

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}