curl --request GET \
--url https://cloud.activepieces.com/api/v1/flows/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"created": "<string>",
"updated": "<string>",
"projectId": "<string>",
"folderId": "<string>",
"status": "ENABLED",
"schedule": {
"type": "CRON_EXPRESSION",
"cronExpression": "<string>",
"timezone": "<string>"
},
"publishedVersionId": "<string>",
"version": {
"id": "<string>",
"created": "<string>",
"updated": "<string>",
"flowId": "<string>",
"displayName": "<string>",
"trigger": {
"name": "<string>",
"valid": true,
"displayName": "<string>",
"nextAction": "<any>",
"type": "PIECE_TRIGGER",
"settings": {
"pieceName": "<string>",
"pieceVersion": "<string>",
"pieceType": "CUSTOM",
"packageType": "ARCHIVE",
"triggerName": "<string>",
"input": {},
"inputUiInfo": {
"currentSelectedData": "<any>",
"customizedInputs": {},
"lastTestDate": "<string>"
}
}
},
"updatedBy": "<string>",
"valid": true,
"state": "LOCKED"
}
}
Get a flow by id
curl --request GET \
--url https://cloud.activepieces.com/api/v1/flows/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"created": "<string>",
"updated": "<string>",
"projectId": "<string>",
"folderId": "<string>",
"status": "ENABLED",
"schedule": {
"type": "CRON_EXPRESSION",
"cronExpression": "<string>",
"timezone": "<string>"
},
"publishedVersionId": "<string>",
"version": {
"id": "<string>",
"created": "<string>",
"updated": "<string>",
"flowId": "<string>",
"displayName": "<string>",
"trigger": {
"name": "<string>",
"valid": true,
"displayName": "<string>",
"nextAction": "<any>",
"type": "PIECE_TRIGGER",
"settings": {
"pieceName": "<string>",
"pieceVersion": "<string>",
"pieceType": "CUSTOM",
"packageType": "ARCHIVE",
"triggerName": "<string>",
"input": {},
"inputUiInfo": {
"currentSelectedData": "<any>",
"customizedInputs": {},
"lastTestDate": "<string>"
}
}
},
"updatedBy": "<string>",
"valid": true,
"state": "LOCKED"
}
}
Use your api key generated from the admin console
Default Response
The response is of type object
.