knowledge/; replace its contents with your project’s information.
1. Write a knowledge file
Create the file withPUT /projects/{project_reference}/files/{file_path}. The path is URL-encoded, and expected_absent prevents replacing an existing file.
add-knowledge.sh
2. Find the knowledge file
Find the file throughPOST /projects/{project_reference}/knowledge/lookup:
find-knowledge.sh
GET /projects/{project_reference}/files/{file_path}.
Verify the result
Confirm that lookup returnsknowledge/refund-policy.md, then read that file and check its content. Use the same branch or content version for both requests.
If lookup returns no match, check the file’s location, frontmatter, and selected content version. Importing a file into upload storage does not automatically add it to this source-based lookup.