cURL
curl --request GET \ --url https://api.pinata.cloud/v3/files/{network}/{id} \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "e5323ea7-8a02-4486-9b6f-63c788810aeb", "name": "e093dbd3-f276-4bb3-a43e-60437725f410.txt", "cid": "bafkreicnu2aqjkoglrlrd65giwo4l64pdajxffk6jtq2vb7yaiopc3yu7m", "size": 36, "number_of_files": 1, "mime_type": "text/plain", "group_id": "18893556-de8e-4229-8a9a-27b95468dd3e", "keyvalues": { "whimsey": "true" }, "created_at": "2024-08-27T14:57:51.485934Z" } }
org:files:read
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Target either the public or private IPFS network
public
private
OK
The response is of type object.
object