attachments
Set Attachment File Role
Designate an attachment's role. 'process_map' marks it as the resident navigation map (rendered into the system prompt, never RAG'd); the offline map builder uses this to promote a generated map file. Re-runs indexing so role semantics apply immediately (a non-'reference' role is skipped by the indexer, so a map never lands in the retrieval pool).
patch/v1/attachments/{attachment_id}/file-role
Request
- Base URLhttps://api.roxels.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
attachment_idstring required
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.