agent-files

Get Agent File

Return one vaulted file's metadata by its content hash.

content_hash is the sha256 of the file's bytes - also its record key and object-store key, so it is the stable identifier to pass here and to the delete route. Only a file vaulted under the CALLER's own identity is visible, never another owner's, regardless of agent co-ownership. Returns 404 if no such file is vaulted for the caller. Never returns raw bytes - use the returned source provenance for follow-up, not file content.

get/api/agents/{agent_id}/files/{content_hash}

Request

  • Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.thinqos.com/api/agents/{agent_id}/files/{content_hash}
  • Auth: none declared

Path parameters

agent_idstring uuid required
content_hashstring required

Headers

x-impersonate-identity-idstring nullable

Response

Successful Response

content_hashstring required
file_namestring required
mime_typestring required
size_bytesinteger required
retentionstring required
sourceobject required

Changes

No recorded changes to this operation across all 2 revisions of this API.