Skip to content

Renames the run; an empty name clears it.

PUT
/v1/m/sessions/runs/{ref}/name
curl --request PUT \
--url https://example.com/v1/m/sessions/runs/example/name \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'

Renames the run; an empty name clears it. The route supplies run-write authorization in the run’s recorded workspace.

ref
required
string

Path parameter ref.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
name
required

The session’s new name, trimmed; at most 200 characters, no control or invisible (format, line or paragraph separator) characters. An empty name clears it.

string
<= 200 characters
Example generated
{
"name": "example"
}

The run resource after the change

Media type application/json
object
run_ref
required

The operated session’s stable reference.

string
state
required

The run’s derived lifecycle state after the control.

string
key
additional properties
any
Example generated
{
"run_ref": "example",
"state": "example"
}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}