Update an existing guidance.
cURL
curl --request PUT \ --url https://public.api.serval.com/v2/guidances/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "content": "<string>", "shouldAlwaysUse": true } '
{ "data": { "id": "<string>", "teamId": "<string>", "name": "<string>", "description": "<string>", "content": "<string>", "shouldAlwaysUse": true } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the guidance.
The name of the guidance.
A description of the guidance.
The content of the guidance.
Whether this guidance should always be used (optional).
Success
The updated guidance.
Show child attributes
The ID of the team that the guidance belongs to.
Whether this guidance should always be used (skipping LLM selection).
Was this page helpful?