# Update PATCH https://fai.buildwithfern.com/guidance/{domain}/{guidance_id} Content-Type: application/json Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/guidance/update ## OpenAPI Specification ```yaml openapi: 3.1.1 info: title: Update version: endpoint_guidance.update paths: /guidance/{domain}/{guidance_id}: patch: operationId: update summary: Update tags: - - subpackage_guidance parameters: - name: domain in: path required: true schema: type: string - name: guidance_id in: path required: true schema: type: string - name: Authorization in: header description: >- Bearer authentication of the form `Bearer `, where token is your auth token. required: true schema: type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/UpdateGuidanceResponse' '422': description: Validation Error content: {} requestBody: content: application/json: schema: $ref: '#/components/schemas/UpdateGuidanceRequest' components: schemas: UpdateGuidanceRequest: type: object properties: context: type: - array - 'null' items: type: string description: >- The updated context of the guidance document, as a list of strings, that will be indexed. If not provided, this field will remain unchanged. document: type: - string - 'null' description: >- The updated content of the guidance document that will be returned to Ask Fern during Ask Fern retrieval. If not provided, this field will remain unchanged. Guidance: type: object properties: domain: type: string context: type: array items: type: string document: type: string guidance_id: type: string created_at: type: string format: date-time updated_at: type: string format: date-time required: - domain - context - document - guidance_id - created_at - updated_at UpdateGuidanceResponse: type: object properties: guidance: $ref: '#/components/schemas/Guidance' description: The updated guidance document required: - guidance ```