For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Introduction
    • Getting Started
    • Authentication
  • Guide
    • Common Code Patterns
    • Metrics
    • Glossary of Metrics
  • Data
  • Deal Management
      • POSTUpload File
      • POSTCreate File Entry
      • GETFiles
      • GETFile
      • PUTUpdate File
      • DELDelete File
      • GETFile Download
      • GETFile Read Url
      • POSTFinalize Upload
  • AI
  • User
    • POSTClient Access Token
  • Liveblocks
    • POSTGet Liveblocks Token
  • user_file
    • GETList User Files
    • POSTUpload User File
    • POSTNotify Submission
    • GETDownload User File
    • DELDelete User File
LogoLogo
Deal ManagementFile

File Read Url

GET
/api/v1/group/:group_id/deal/:deal_id/file/:file_id/signed-url
GET
/api/v1/group/:group_id/deal/:deal_id/file/:file_id/signed-url
$curl https://app.termina.ai/api/v1/group/1/deal/1/file/1/signed-url \
> -H "Authorization: Bearer <token>"
1{
2 "method": "string",
3 "url": "string",
4 "fields": {},
5 "headers": {}
6}

Get a signed URL to read a file by its ID for a specific group and deal.

Args: download: If True, the signed URL will force a download. If False, allows inline viewing. redirect: If True, returns a 302 redirect to the signed URL instead of JSON. Useful for embedding in <img src=”…”> tags without client-side JavaScript.

Was this page helpful?
Previous

Finalize Upload

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

group_idintegerRequired
deal_idintegerRequired
file_idintegerRequired

Query parameters

content_typestring or nullOptional
downloadbooleanOptionalDefaults to true
redirectbooleanOptionalDefaults to false

Response

Successful Response
methodstring
urlstring
fieldsmap from strings to any or null
headersmap from strings to any or null

Errors

422
Unprocessable Entity Error