Files

Get attachment metadata

Changed on

Required scope: file

get/api/v1/files/{attachment_id}

Request

  • Base URL
    http://localhost:6185
  • URL
    http://localhost:6185/api/v1/files/{attachment_id}
  • Auth
    API key in header X-API-Key

Path parameters

attachment_idstring required

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes