PATCH
/
knowledge
/
{knowledge_id}
Python
from datagrid_ai import Datagrid

client = Datagrid(
    api_key="My API Key",
)
knowledge = client.knowledge.update(
    knowledge_id="knowledge_id",
    name="name",
)
print(knowledge.name)
{
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

knowledge_id
string
required

The id of the knowledge to update.

Body

application/json

The new name for the knowledge.

Response

200 - application/json

Successfully updated knowledge

The response is of type object.