Files
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
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": ""
}
]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"
}GET /v1/files HTTP/1.1
Host: api.netmind.ai
Authorization: text
Accept: */*
[
{
"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: */*
GET /v1/files/{file_id}/presigned_url HTTP/1.1
Host: api.netmind.ai
Authorization: text
Accept: */*
{
"presigned_url": "https://example.com"
}