attacca
Files

Get file metadata

GET
/v1/files/{file_id}

Authorization

api_key files:read
AuthorizationBearer <token>

An atk_-prefixed API key, created under Settings → API keys.

In: header

Scope: files:read

Path Parameters

file_id*string

File id

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/files/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "artifact_key": "string",  "changelog": "string",  "content_type": "string",  "created_at": "2019-08-24T14:15:22Z",  "filename": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "kind": "string",  "path": "string",  "pinned": true,  "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",  "size_bytes": 0,  "title": "string",  "version": 0}