KnowledgeFiles
Beta
Upload a knowledge file
Add a file to the organization knowledge library. Files are used as context by AI pentests.
This is a two-step flow:
- Create a signed upload URL with POST /v3/upload/signed-url.
- PUT the file content to the returned url.
- Call this endpoint with the returned id as temporaryObjectKey.
The file is processed asynchronously: poll the list endpoint until the status is COMPLETED or FAILED.
Each upload is stored under its own object, so uploading a file with an already used name adds a new file instead of overwriting the previous one. Uploads are limited to 35MB.
post/knowledge-files
Request
- Base URLhttps://public.escape.tech/v3
- AuthAPI key in header X-ESCAPE-API-KEY
Request body
Example request
{
"name": "architecture.md",
"kind": "MD",
"temporaryObjectKey": "00000000-0000-0000-0000-000000000000"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.