Skip to main content
PATCH
/
api
/
v1
/
context
/
items
/
{uid}
curl --request PATCH \
  --url https://api.staging.getmodus.com/api/v1/context/items/{uid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userFeedback": "positive"
}
'
{
  "uid": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uid
string
required

UUID of the context item.

Query Parameters

updateMask
string

AIP-134 comma-separated field paths to update.

Example:

"userFeedback,topics"

Body

application/json
contextType
string

Required when content is supplied — selects which partition to update against. Free-form string (e.g. note, saved_query).

Example:

"note"

content
object

Replacement type-specific JSON content. Shape varies by contextType.

description
string

Replacement description text.

Example:

"Updated description after review"

userFeedback
enum<string>

User-supplied verification verdict.

Available options:
negative,
neutral,
positive
Example:

"positive"

topics
string[]

Replacement topic tags. Pass [] to clear all tags.

Example:
["analytics", "verified"]

Response

Patch applied.

uid
string
required