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
Path parameters
attachment_idstring required
Request body
Response
Successful Response
{"stackTrail":"paths:/v1/attachments/{attachment_id}/file-role:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.