---
title: "Create an EdgeJob from a file"
method: POST
path: "/edge_jobs/create/file"
tags: ["edge_jobs"]
---

# Create an EdgeJob from a file

`POST /edge_jobs/create/file`

**Access policy**: administrator

## Response `200`

OK

- PortainerEdgeGroup
  - `Dynamic` boolean
  - `EndpointIds` RoarRoarPortainerEndpointID
  - `Endpoints` integer[] — Deprecated: only used for API responses
  - `Id` integer — EdgeGroup Identifier
  - `Name` string
  - `PartialMatch` boolean
  - `TagIds` integer[]

## Other responses

- `500` — Internal Server Error
- `503` — Edge compute features are disabled

---

[API](https://skmtc.net/portainer/apis/portainerce-api.md) · [All operations](https://skmtc.net/portainer/apis/portainerce-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portainer/portainerce-api/versions/c0b0975cd11b/schema)
