# files.info

> One file the bot can see.

Source: https://slaiky.xyz/docs/reference/methods/files.info

`POST https://app.slaiky.xyz/api/methods/files.info` · needs `files:read`

## Arguments

| Argument | Type | Required | What |
| --- | --- | --- | --- |
| `file` | id | yes |  |

## Answer

`{ "ok": true, … }` with: file: File. A refusal is `{ "ok": false, "error": { "code", "message" } }` ([errors](/docs/errors)).

## Example

The required arguments, with placeholders in angle brackets.

*you run*

```sh

curl -s https://app.slaiky.xyz/api/methods/files.info \
  -H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"file":"<file>"}'

```
