# Upload a metric image for an alert **POST /projects/{id}/alert_management_alerts/{alert_iid}/metric_images** Upload a metric image for an alert ## Servers - https://www.gitlab.com/api/v4: https://www.gitlab.com/api/v4 () ## Authentication methods - Api key auth ## Parameters ### Path parameters - **id** (string | integer) The ID or [URL-encoded path of the project](https://docs.gitlab.com/api/rest/#namespaced-paths). - **alert_iid** (integer(int32)) The IID of the Alert ### Body: multipart/form-data (object) - **file** (string(binary)) The image file to be uploaded - **url** (string) The url to view more metric info - **url_text** (string) A description of the image or URL ## Responses ### 200 Upload a metric image for an alert #### Body: application/json (object) - **id** (integer(int32)) - **created_at** (string(date-time)) - **filename** (string) - **file_path** (string) - **url** (string) - **url_text** (string) ### 403 Forbidden [Powered by Bump.sh](https://bump.sh)