Find a Files item by ID
const url = 'https://example.com/api/v1/files/items/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/files/items/example \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope and read access to the Item. It returns 404 when the ID is invalid, missing or not shared with the User. Route: /api/v1/files/items/{id}. Inputs: id. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”object
object
Indexed Canvas identity, including plain JSON without frontmatter (#991). Set only after this listing’s current Files grant has passed.
Named guest who created this previous Version through a public Edit link, when there is one.
Inode creation time, when the Home filesystem reports statx birth time.
Trash listings only: the Home-relative path the item is restored to.
The path the viewer passes to other Files routes: Home-relative for
the owner, Shared/<owner>/<path> for a Share recipient.
Examplegenerated
{ "entry": { "canvas_note_id": "example", "changed_by": "example", "content_hash": "example", "created": "example", "has_thumbnail": true, "item_id": "example", "kind": "example", "mime": "example", "modified": "example", "name": "example", "original_path": "example", "share_badges": [ "example" ], "size": 1 }, "path": "example"}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}