Context Type Update
Endpoint to update an existing context type by its ID.
Args: context_type_id (str): The unique identifier of the context type to update. context_type_update (ContextTypeCreate): The updated context type data.
Returns: ContextType: The updated context type object.
Raises: HTTPException 400: If input validation fails HTTPException 404: If the context type with the given ID does not exist. HTTPException 500: If a runtime error occurs during the update process.
Authorizations
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Path Parameters
Body
Name of the context type
Summary of the context type
Detailed information on the context type
Explanation to agent when to use the context type
Explanation to agent how to generate new context of this type
Response
Successful Response
Unique identifier for the context type
Name of the context type
Summary of the context type
Detailed information on the context type
Explanation to agent when to use the context type
Explanation to agent how to generate new context of this type
User who created the context type
The date and time when the context type was created.
The date and time when the context type was last updated.
