context-attachments
Create a context_attachment from a file upload (≤80KB)
Create a context_attachment on the given document via multipart form-data. Use this when the payload exceeds 16 KB; for smaller inline text payloads use the JSON-body variant of this endpoint.
The uploaded file MUST be valid UTF-8 text — extraction injects the raw bytes into the LLM prompt, so non-UTF-8 binaries cannot be decoded.
post/documents/{document_id}/context-attachments/upload
Request
- Base URLhttps://api.scipot.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
document_idstring uuid required
Request body multipart/form-data
Response
Attachment created and stored
Changes
No recorded changes to this operation across all 41 revisions of this API.