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

Path parameters

attachment_idstring required

Request body

file_rolestring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.