Skip to main content
GET
/
files
List print files (metadata only)
curl --request GET \
  --url https://api.autoprintfarm.com/public/v1/files \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "product_id": "<string>",
      "file_size_bytes": 123,
      "number_of_units": 123,
      "print_time_seconds": 123,
      "filament_weight_grams": 123,
      "filament_length_meters": 123,
      "filament_type": "<string>",
      "printer_model_id": "<string>",
      "nozzle_diameter": 123,
      "layer_count": 123,
      "curr_bed_type": "<string>",
      "default_print_profile": "<string>",
      "object_count": 123,
      "has_thumbnail": true,
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "meta": {
    "limit": 123,
    "offset": 123,
    "count": 123
  }
}

Authorizations

Authorization
string
header
required

API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.

Query Parameters

product_id
string

Filter by product ID

filament_type
string

Filter by filament type (e.g. PLA, PETG)

model_id
string

Filter by printer model (matches the printer_model_id column)

limit
integer
default:50

Maximum number of rows to return (1-100)

Required range: 1 <= x <= 100
offset
integer | null
default:0

Number of rows to skip for pagination

Required range: x >= 0

Response

Print file list

success
enum<boolean>
required
Available options:
true
data
object[]
required
meta
object
required