Last updated 5 months ago
Was this helpful?
Your API token
GET /v1/files HTTP/1.1 Host: api.netmind.ai Authorization: text Accept: */*
Successful Response
[ { "id": "text", "file_name": "text", "purpose": "fine-tune", "created_at": 1 } ]
GET /v1/files/{file_id} HTTP/1.1 Host: api.netmind.ai Authorization: text Accept: */*
{ "id": "text", "file_name": "text", "purpose": "fine-tune", "created_at": 1 }
DELETE /v1/files/{file_id} HTTP/1.1 Host: api.netmind.ai Authorization: text Accept: */*
No content
GET /v1/files/{file_id}/presigned_url HTTP/1.1 Host: api.netmind.ai Authorization: text Accept: */*
{ "presigned_url": "https://example.com" }
GET /v1/public-files HTTP/1.1 Host: api.netmind.ai Accept: */*
[ { "id": "text", "file_name": "text", "purpose": "fine-tune", "created_at": 1, "token": 1, "length": 1, "bytes": 1, "description": "" } ]
fine-tune
batch
POST /v1/files HTTP/1.1 Host: api.netmind.ai Authorization: text Content-Type: application/json Accept: */* Content-Length: 42 { "file_name": "text", "purpose": "fine-tune" }
{ "id": "text", "presigned_url": "https://example.com" }