Device Config
Get Workspace Default Config
Example Request
curl "https://api.roboflow.com/{workspace}/devices/v2/default-config?api_key=$ROBOFLOW_API_KEY"Example Response
{
"config": {
"version": "1.0.0",
"config": {
"inference": { "confidence": 0.7, "threshold": 0.3 },
"device_type": "edge"
},
"services": {}
},
"patch": {
"config": {
"inference": { "confidence": 0.7 }
}
}
}Get Config
Returns the device's current runtime configuration. The response includes per-service environment_variables and any integration credentials embedded in the config; treat the body as sensitive.
Roboflow API key passed as a Bearer token.
Workspace ID (URL slug).
Device ID.
The current device configuration.
Full RFDM configuration document.
Missing or invalid API key.
API key is bound to a different device, or this endpoint is not permitted for device-scoped keys, a source device belongs to another workspace, or a feature gate (for example AI1 creation, roboflowLiteMode) blocks the request.
Device, stream, configuration, or source device not found. Read requests for devices owned by another workspace also return 404.
Example Request
Config History
List prior configuration revisions for a device, newest first.
Roboflow API key passed as a Bearer token.
Workspace ID (URL slug).
Device ID.
Number of revisions to return. Clamped to 1-500.
10Opaque pagination cursor from a previous response. Pass back next_cursor to fetch the next page.
A page of revisions, newest first.
Invalid query parameter or request body.
Missing or invalid API key.
API key is bound to a different device, or this endpoint is not permitted for device-scoped keys, a source device belongs to another workspace, or a feature gate (for example AI1 creation, roboflowLiteMode) blocks the request.
Device, stream, configuration, or source device not found. Read requests for devices owned by another workspace also return 404.
Example Request
Example Response
Last updated
Was this helpful?