GET
/api/v1/files/{fileId}Authorization
apiKey X-API-Key<token>
Your Sim API key (personal or workspace). Generate one from the Sim dashboard under Settings > API Keys.
In: header
Path Parameters
fileId*string
The unique identifier of the file.
Query Parameters
workspaceId*string
The unique identifier of the workspace.
Response Body
application/octet-stream
application/json
application/json
application/json
application/json
application/json
curl -X GET \ "https://www.sim.ai/api/v1/files/{fileId}?workspaceId=YOUR_WORKSPACE_ID" \ -H "X-API-Key: YOUR_API_KEY" \ -o downloaded-file.csv"string"{
"error": "string",
"details": [
{}
]
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}